summaryrefslogtreecommitdiff
path: root/ChangeLog.3
blob: afd8de5a1611c594c3d233f313fe80808092ff07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	eeecac7 Fix minor quoting problems in doc strings

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	35ce3fb Don't assume window-point and point are the same

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	ba2847f ; * lisp/vc/ediff-util.el (ediff-janitor): Fix last change.  ...
	8b43f97 * lisp/vc/ediff-util.el (ediff-janitor): Doc fix.  (Bug#25046)
	c20035c ; * doc/emacs/programs.texi (Man Page): Fix last change.
	93d8346 Improve indexing of 'man'

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d31298d Fix documentation of `window-combination-resize'
	2086f4c Typo fixes in elisp manual

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	3980903 ; Update ChangeLog.2, etc/AUTHORS and ldef-boot.el for Emacs ...
	5878abf Fix 'expand-file-name' during startup on MS-Windows

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9a857b9 * admin/authors.el (authors-renamed-files-alist): Addition.
	6d27423 Tweak refcard note about documentation location
	e46a134 Improve treatment of Fortran's "class is"

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	93c0f51 Handle TeX comments when making new paragraph
	e0884f1 Restore keystroke echo in 'C-q'
	a6213ce Improve documentation of 'current-word'
	0828126 Fix a typo in an Eshell defcustom
	2e361c7 Minor copyedits of electric-pair-mode
	7499ee8 ; Minor copyedit in the Emacs manual
	45b652b Fix documentation of 'invocation-directory'
	7f43d7c * admin/authors.el (authors-aliases): Add an entry.
	ba48880 ; Fix pl-refcard.tex

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	7287e96 ; * src/lread.c (openp): Correct an inaccuracy in commentary.

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	3d63b48 Update ChangeLog files and authors.el
	9d30264 Fix menu bindings of Dired 'A' and 'Q' commands
	a725592 Avoid errors in shr-pixel-column due to dedicated windows
	3138598 Update format-time-string documentation

2016-12-07  Sam Steingold  <sds@gnu.org>

	delete-trailing-whitespace: handle read-only text in buffer

	* lisp/simple.el (region-modifiable-p): New function.
	(delete-trailing-whitespace): Us it to avoid trying to delete read-only text.

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor quoting problems in doc strings

2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	Fix --enable-gcc-warnings --with-ns on Fedora

	* src/Makefile.in (NON_OBJC_CFLAGS): New macro.
	(ALL_OBJC_CFLAGS): Use it.
	(EMACS_CFLAGS): New macro, with most of the old ALL_CFLAGS.
	(ALL_CFLAGS, ALL_OBJC_FLAGS): Use it.

2016-12-07  Michael Albinus  <michael.albinus@gmx.de>

	Fix problems in quoting Tramp file names

	* lisp/net/tramp.el (tramp-get-remote-tmpdir): Add also hop to result.
	(tramp-unquote-shell-quote-argument): New defun.
	(tramp-shell-quote-argument):
	* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
	(tramp-make-copy-program-file-name):
	* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
	(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
	(tramp-smb-shell-quote-argument): Use it.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-map-deletion-lines: Re-included it

	It was deleted in previous commit, but it's referenced
	by the macro 'define-ibuffer-op'.
	* lisp/ibuffer.el (ibuffer-map-deletion-lines): Reinclude it.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-unmark-all: simplify code

	* lisp/ibuffer.el (ibuffer-map-deletion-lines): Delete it.
	(ibuffer-unmark-all): Simplify code.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	define-ibuffer-filter: Discard wrong filters

	* lisp/ibuf-macs.el (define-ibuffer-filter): Do not store
	in 'ibuffer-filtering-qualifiers' a wrong filter (Bug#25042).
	* test/lisp/ibuffer-tests.el (ibuffer-test-Bug25042): Add test.

2016-12-07  Philipp Stephani  <p.stephani2@gmail.com>

	* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring

	so that it matches the actual implementation.
	See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-decompose-filter-group avoid unwanted side effects

	* lisp/ibuf-ext.el (ibuffer-delete-alist): Remove it.
	(ibuffer-remove-alist): New defun; it supersedes 'ibuffer-delete-alist'.
	All callers changed (Bug#25058).
	* test/lisp/ibuffer-tests.el (ibuffer-test-Bug25058): Add test.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-unmark-backward: Unmark the region when is active

	* lisp/ibuffer.el (ibuffer-unmark-backward):
	Use 'ibuffer-get-region-and-prefix'; call 'ibuffer-unmark-forward'
	with the region boundary as the first 2 arguments (Bug#24987).

2016-12-07  Nicolas Petton  <nicolas@petton.fr>

	Docstring improvement for seq-some (bug#25129)

	* lisp/emacs-lisp/seq.el (seq-some): Make the docstring less confusing
	  regarding the returned value.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	dired-unmark-backward: Unmark the region when is active

	* lisp/dired.el (dired-unmark-backward): Call 'dired-unmark' with
	a non-nil second argument (Bug#24986).

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	New test file for ediff

	Fix previous commit.
	* test/lisp/vc/ediff-ptch-tests.el: New test.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ediff-context-diff-label-regexp: Detect the end of second file

	* lisp/vc/ediff-ptch.el (ediff-context-diff-label-regexp): Skip
	'\n' in file names (Bug#25010).
	* test/lisp/vc/ediff-ptch-tests.el: New file.
	(ibuffer-test-bug25010): Add test for Bug#25010.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-decompose-filter: Avoid side effects on error

	* lisp/ibuf-ext.el (ibuffer-decompose-filter):
	Update 'ibuffer-filtering-qualifiers' only if there is no error (Bug#24997).
	* test/lisp/ibuffer-tests.el (ibuffer-test-Bug24997):
	Update test result as pass.

2016-12-07  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer: compare marks with EQ

	* lisp/ibuffer (ibuffer-update-title-and-summary, ibuffer-redisplay-current)
	(ibuffer-buffer-name-face, ibuffer-unmark-all)
	(ibuffer-count-deletion-lines, ibuffer-buffer-names-with-mark):
	Use 'eq' instead of 'char-equal' when comparing mark characters (Bug#25000).
	* test/lisp/ibuffer-tests.el (ibuffer-test-Bug25000):
	Update test result as pass.

2016-12-07  Christopher Genovese  <genovese@cmu.edu>

	ibuffer-saved-filters: Remove extra nesting level

	Fix Bug#25049.
	* lisp/ibuf-ext.el (ibuffer-saved-filters): Remove extra
	nesting level; add transparent setter to adjust old-format values;
	update doc string.
	(ibuffer-save-filters): Remove extra level of nesting
	in ibuffer-saved-filters values when saving new filters.
	(ibuffer-old-saved-filters-warning): New variable with
	clickable message with repair options to be displayed
	as a warning if 'ibuffer-repair-saved-filters' detects
	a format mismatch.
	(ibuffer-repair-saved-filters): Add new command to check and
	repair saved filters format.
	(ibuffer-included-in-filter-p, ibuffer-decompose-filter):
	Change access of saved filter data (cadr->cdr) to account
	for reduced nesting.
	* test/lisp/ibuffer-tests.el (ibuffer-save-filters):
	New test; check that filters are saved in the proper format.

2016-12-06  Paul Eggert  <eggert@cs.ucla.edu>

	Clean out some IRIX cruft

	* etc/MACHINES: Remove obsolete discussion of IRIX.
	* src/process.c (allocate_pty) [__sgi]: Remove SGI-specific code.
	(create_process) [HAVE_PTYS]: Don't worry about IRIX.
	* src/syntax.c (scan_sexps_forward): Remove obsolete comment.
	* src/unexelf.c [__sgi]: Don't include <syms.h>.
	(unexec) [__sgi]: Remove SGI-specific code.

2016-12-06  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>

	Simplify FUNCTIONP implementation

	* src/bytecode.c (exec_byte_code):
	* src/image.c (parse_image_spec):
	Prefer FUNCTIONP (x) to !NILP (Ffunctionp (x)).
	* src/eval.c (FUNCTIONP): Move here ...
	* src/lisp.h: ... from here.  No longer inline, as that
	bloats the text and does not help speed (at least on my platform).
	(functionp): Remove this name, since callers use FUNCTIONP.

2016-12-06  Noam Postavsky  <npostavs@gmail.com>

	Don't assume window-point and point are the same

	The function `cursor-sensor--detect' calls `bobp' to decide whether to
	check properties at (1- (window-point)).  However, (window-point) may be
	at beginning of buffer, even if (point) is not.  In this case an
	`args-out-of-range' error will be signaled (Bug#25104).

	* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Check the
	value of (window-point) against (point-min), rather than (bobp) to
	decide if (1- (window-point)) is accessible.

2016-12-06  Noam Postavsky  <npostavs@gmail.com>

	Give test-completion's PREDICATE the hashtable key

	For hashtable entries with symbol keys, `test-completion' would convert
	the key to a string before calling PREDICATE, unlike `try-completion'
	and `all-completions'.

	* src/minibuf.c (Ftest_completion): Pass original key from hashtable.

2016-12-06  Noam Postavsky  <npostavs@gmail.com>

	Give test-completion's PREDICATE full alist entry

	Since 2016-06-26 "Fix test-completion with completion-regexp-list", when
	calling test-completion with an alist collection, the predicate was
	recieving the string value instead of the alist entry (Bug#24966).

	* src/minibuf.c (Ftest_completion): Don't modify the found element, just
	test STRING against `completion-regexp-list'.
	* test/src/minibuf-tests.el: New tests for `try-completion',
	`all-completions', and `test-completion'.

2016-12-06  Noam Postavsky  <npostavs@gmail.com>

	Fix ert-tests when running compiled

	* test/lisp/emacs-lisp/ert-tests.el (ert-test-deftest): Don't test for
	specific macroexpansion, just check result of evaluation.
	(ert-test-record-backtrace): Don't hardcode representation of closure in
	expected backtrace, this lets the test succeed even when the test code
	is compiled.

	* lisp/emacs-lisp/ert.el (ert--expand-should-1): Also pass
	`byte-compile-macro-environment' to `macroexpand', this allows the
	`should' macro to properly handle macroexpansion of macros that were
	defined in the same file when it's being compiled (Bug #17851).

2016-12-06  Glenn Morris  <rgm@gnu.org>

	Make "g" in vc push/pull buffers re-push/pull

	* lisp/vc/vc-bzr.el (vc-bzr--pushpull):
	* lisp/vc/vc-git.el (vc-git--pushpull):
	* lisp/vc/vc-hg.el (vc-hg--pushpull):
	Set compile-command so that "g" works.  (Bug#11446)

2016-12-06  Paul Eggert  <eggert@cs.ucla.edu>

	Change two _Noreturn functions to return void

	This is a bit clearer than _Noreturn functions that (do not)
	return a non-void type.
	* src/callproc.c (call_process) [MSDOS]:
	Use 'status' local to record status.
	(child_setup): Return CHILD_SETUP_TYPE.
	* src/data.c, src/lisp.h (wrong_type_argument): Return void.
	All callers changed.
	* src/lisp.h (CHILD_SETUP_TYPE): New macro.

2016-12-05  Paul Eggert  <eggert@cs.ucla.edu>

	Fix GPG bug introduced by Oct file-missing change

	Problem with visiting nonexistent .gpg file
	reported by Herbert J Skuhra.
	* lisp/epa-file.el (epa-file--find-file-not-found-function):
	(epa-file-insert-file-contents, epa-file-write-region):
	Signal file-missing or file-error instead of epa-error.

2016-12-05  Glenn Morris  <rgm@gnu.org>

	Tweak recent flymake change

	* lisp/progmodes/flymake.el (flymake-report-fatal-status):
	Avoid double message when flymake-log-level >= 0.
	* doc/misc/flymake.texi (Customizable variables):
	No longer mention flymake-gui-warnings-enabled.

2016-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>

	Make TAB and M-TAB run widget-forward and widget-backward (bug#25091)

	* lisp/gnus/mm-decode (mm-convert-shr-links): Avoid `shr-next-link'
	and `shr-previous-link' so TAB and M-TAB run `widget-forward' and
	`widget-backward' instead (bug#25091).

2016-12-05  Michael Albinus  <michael.albinus@gmx.de>

	Remove compat code in Tramp

	* lisp/net/tramp.el (tramp-parse-time-months): Remove.

	* lisp/net/tramp-compat.el (top): Require parse-time.

	* lisp/net/tramp-smb.el (tramp-smb-read-file-entry):
	Use `parse-time-months'.

2016-12-05  Martin Rudalics  <rudalics@gmx.at>

	Don't try to split side windows in ibuffer (Bug#25115)

	* lisp/ibuffer.el (ibuffer-confirm-operation-on): Don't try to
	split a side window (Bug#25115).

2016-12-04  Paul Eggert  <eggert@cs.ucla.edu>

	* src/lisp.h: Update comment to kick -Og down the road.

2016-12-04  Mark Oteiza  <mvoteiza@udel.edu>

	More image-dired refactoring

	* lisp/image-dired.el: Remove TODO comment. This appears to have been
	implemented in 5d7433a "image-dired: Signal an error before calling a
	missing executable".
	(image-dired-cmd-create-standard-thumbnail-command): Use %p specifier.
	Add :version.
	(image-dired-display-thumbs, image-dired-create-thumbs): Use dolist and
	when. Remove superfluous call to image-dired-thumb-name. Move single nil
	binding and setq into dolist form.

2016-12-04  Michael Albinus  <michael.albinus@gmx.de>

	Implement quoting the local part of a remote file name

	* doc/emacs/files.texi (Quoted File Names):
	* etc/NEWS: Mention quoting the local part of a remote file name.

	* lisp/net/tramp.el (tramp-dissect-file-name): Check with
	`tramp-tramp-file-p'.
	(tramp-quoted-name-p, tramp-quote-name, tramp-unquote-name):
	New defsubst.
	(tramp-handle-substitute-in-file-name)
	(tramp-handle-make-auto-save-file-name): Handle quoted files.
	(tramp-shell-quote-argument): Unquote argument.

	* lisp/net/tramp-sh.el (tramp-sh-handle-file-truename):
	Handle quoted files.

	* test/lisp/net/tramp-tests.el (tramp--test-expensive-test): New defvar.
	(tramp--test-make-temp-name): New argument QUOTED.
	(tramp-test01-file-name-syntax)
	(tramp-test02-file-name-dissect)
	(tramp-test04-substitute-in-file-name)
	(tramp-test05-expand-file-name, tramp-test07-file-exists-p)
	(tramp-test08-file-local-copy)
	(tramp-test09-insert-file-contents)
	(tramp-test10-write-region, tramp-test11-copy-file)
	(tramp-test12-rename-file, tramp-test13-make-directory)
	(tramp-test14-delete-directory, tramp-test15-copy-directory)
	(tramp-test16-directory-files)
	(tramp-test17-insert-directory)
	(tramp-test18-file-attributes)
	(tramp-test19-directory-files-and-attributes)
	(tramp-test20-file-modes, tramp-test21-file-links)
	(tramp-test22-file-times, tramp-test23-visited-file-modtime)
	(tramp-test24-file-name-completion, tramp-test25-load)
	(tramp-test26-process-file, tramp-test27-start-file-process)
	(tramp-test28-shell-command, tramp-test30-vc-registered)
	(tramp-test31-make-auto-save-file-name)
	(tramp--test-check-files)
	(tramp-test35-asynchronous-requests): Test also quoted file names.
	(tramp--test-shell-command-to-string-asynchronously): Rename.
	(tramp-test29-environment-variables): Use it.

2016-12-04  Tino Calancha  <tino.calancha@gmail.com>

	Fix typo in dired-omit-case-fold-p

	* lisp/dired-x.el (dired-omit-case-fold-p):
	Write 'file-name-case-insensitive-p' instead of
	'file-name-case-sensitive-p'.
	Add declaration of 'file-name-case-insensitive-p'.

2016-12-04  Simen Heggestøyl  <simenheg@gmail.com>

	Add HTML5 attributes for the input element

	* lisp/textmodes/sgml-mode.el (html-tag-alist): Add HTML5 attributes
	for the input element.

2016-12-03  Glenn Morris  <rgm@gnu.org>

	Obsolete sc-load-hook in favor of eval-after-load

	* lisp/mail/supercite.el (sc-load-hook): Make obsolete.
	* doc/misc/sc.texi (Getting Connected, Filling Cited Text):
	No longer mention sc-load-hook.

2016-12-03  Glenn Morris  <rgm@gnu.org>

	Obsolete calendar-load-hook in favor of eval-after-load

	* lisp/calendar/calendar.el (calendar-load-hook): Make obsolete.
	(calendar): Doc fix - no longer mention calendar-load-hook.
	* doc/emacs/cal-xtra.texi (Calendar Customizing):
	No longer mention calendar-load-hook.
	* doc/lispintro/emacs-lisp-intro.texi (X11 Colors):
	Replace calendar-load-hook in example with with-eval-after-load.

2016-12-03  Glenn Morris  <rgm@gnu.org>

	Fix markup in read-multiple-choice doc (Bug#25102)

	* lisp/emacs-lisp/subr-x.el (read-multiple-choice): Doc fix.

2016-12-03  Glenn Morris  <rgm@gnu.org>

	Stop flymake using dialog boxes for errors (Bug#16622)

	* lisp/progmodes/flymake.el (flymake-gui-warnings-enabled):
	Mark as obsolete.
	(flymake-display-warning): Turn into an obsolete alias.
	(flymake-report-fatal-status): Just use message for a warning that
	was formerly displayed by default.

2016-12-03  Mark Oteiza  <mvoteiza@udel.edu>

	Clean up keymap and menu code in image-dired

	A function to populate these maps is not necessary, just define the maps
	once and for all.
	* lisp/image-dired.el (image-dired-show-all-from-dir): Make prompt
	clearer and in the spirit of dired's.
	(image-dired-define-display-image-mode-keymap):
	(image-dired-define-thumbnail-mode-keymap): Remove.
	(image-dired-thumbnail-mode-map):
	(image-dired-thumbnail-mode-line-up-map):
	(image-dired-thumbnail-mode-tag-map): Assimilate all define-key and mode
	menu code from the aforementioned removed functions.  Reorder so that
	the definitions are inherited properly.
	(image-dired-display-current-image-sized): Fix erroneous message.
	(image-dired-thumbnail-mode):
	(image-dired-display-image-mode): Remove defunct call.

2016-12-03  Michael Albinus  <michael.albinus@gmx.de>

	Mention `file-name-case-insensitive-p' as magic file name

	* doc/lispref/files.texi (Magic File Names):
	Mention `file-name-case-insensitive-p'.

	* doc/lispref/variables.texi (Connection Local Variables):
	Fix typo.

2016-12-03  Mark Oteiza  <mvoteiza@udel.edu>

	Clean up uses of cl-foo in image-dired

	Both instances here are just emulating cl-find-if.
	* lisp/image-dired.el: Use cl-lib at compile time.
	(image-dired-dired-toggle-marked-thumbs): Don't need let* at the top.
	Replace the cl-foo instances with equivalent cl-loops.

2016-12-03  Eli Zaretskii  <eliz@gnu.org>

	Avoid compilation warnings in nt/*.c files

	* nt/cmdproxy.c (fail, vfprintf, fprintf, printf, warn)
	(console_event_handler): Add prototypes.
	(canon_filename, skip_space, skip_nonspace, get_next_token)
	(batch_file_p, search_dir, make_absolute, try_dequote_cmdline)
	(spawn, get_env_size): Now static.
	* nt/ddeclient.c (DdeCallback): Provide prototype.
	* nt/addpm.c (DdeCallback): Provide prototype.
	(add_registry): Now static.

2016-12-02  Mark Oteiza  <mvoteiza@udel.edu>

	Display window before calculating width

	* lisp/image-dired.el (image-dired-display-thumbs): Display the buffer
	before calling image-dired-line-up and friends, which in turn calculate
	the window width. Otherwise, the thumbnail layout will be wrong in
	a side-by-side split.

2016-12-02  Mark Oteiza  <mvoteiza@udel.edu>

	Use pop-to-buffer-same-window

	* lisp/image-dired.el (image-dired-dired-with-window-configuration):
	(image-dired-dired-edit-comment-and-tags): Instead of switch-to-buffer,
	use pop-to-buffer-same-window cf. Bug#22244.
	(image-dired-forward-image, image-dired-backward-image): Ignore unused.

2016-12-02  Noam Postavsky  <npostavs@gmail.com>

	Document watchpoints

	* doc/lispref/debugging.texi (Variable Debugging):
	* doc/lispref/variables.texi (Watching Variables): New section.
	* etc/NEWS: Add entry for watchpoints

2016-12-02  Noam Postavsky  <npostavs@gmail.com>

	Add tests for watchpoints

	* test/src/data-tests.el (data-tests-variable-watchers):
	(data-tests-local-variable-watchers): New tests.

2016-12-02  Noam Postavsky  <npostavs@gmail.com>

	Ensure redisplay using variable watcher

	This replaces looking up the variable name in redisplay--variables when
	setting it.

	* lisp/frame.el: Replace redisplay--variables with add-variable-watcher
	calls.
	* src/xdisp.c (Fset_buffer_redisplay): Rename from maybe_set_redisplay,
	set the redisplay flag unconditionally.
	(Vredisplay__variables): Remove it.
	* src/data.c (set_internal): Remove maybe_set_redisplay call.

2016-12-02  Noam Postavsky  <npostavs@gmail.com>

	Add function to trigger debugger on variable write

	* lisp/emacs-lisp/debug.el (debug-on-variable-change):
	(debug--variable-list):
	(cancel-debug-on-variable-change): New functions.
	(debugger-setup-buffer): Add watchpoint clause.

2016-12-02  Noam Postavsky  <npostavs@gmail.com>

	Show watchpoints when describing variables

	* src/data.c (Fget_variable_watchers): New function.
	* lisp/help-fns.el (describe-variable): Use it to detect watching
	functions.

2016-12-02  Noam Postavsky  <npostavs@gmail.com>

	Add lisp watchpoints

	This allows calling a function whenever a symbol-value is changed.

	* src/lisp.h (lisp_h_SYMBOL_TRAPPED_WRITE_P):
	(SYMBOL_TRAPPED_WRITE_P): New function/macro.
	(lisp_h_SYMBOL_CONSTANT_P): Check for SYMBOL_NOWRITE specifically.
	(enum symbol_trapped_write): New enumeration.
	(struct Lisp_Symbol): Rename field constant to trapped_write.
	(make_symbol_constant): New function.

	* src/data.c (Fadd_variable_watcher, Fremove_variable_watcher):
	(set_symbol_trapped_write, restore_symbol_trapped_write):
	(harmonize_variable_watchers, notify_variable_watchers): New functions.

	* src/data.c (Fset_default): Call `notify_variable_watchers' for trapped
	symbols.
	(set_internal): Change bool argument BIND to 3-value enum and call
	`notify_variable_watchers' for trapped symbols.

	* src/data.c (syms_of_data):
	* src/data.c (syms_of_data):
	* src/font.c (syms_of_font):
	* src/lread.c (intern_sym, init_obarray):
	* src/buffer.c (syms_of_buffer): Use make_symbol_constant.

	* src/alloc.c (init_symbol):
	* src/bytecode.c (exec_byte_code): Use SYMBOL_TRAPPED_WRITE_P.
	* src/data.c (Fmake_variable_buffer_local, Fmake_local_variable):
	(Fmake_variable_frame_local):
	* src/eval.c (Fdefvaralias, specbind): Refer to Lisp_Symbol's
	trapped_write instead of constant.
	(Ffuncall): Move subr calling code into separate function.
	(funcall_subr): New function.

2016-12-02  Glenn Morris  <rgm@gnu.org>

	Starting doc of user options with "*" is long obsolete

	* lisp/battery.el (battery-upower-device): Doc fix.

2016-12-02  Nicolas Petton  <nicolas@petton.fr>

	Fix bug#25087

	* etc/themes/manoj-dark-theme.el: Fix two typos.

	(cherry picked from commit 66d6e7e9ecf5e481f8c2c3a4f88411f66c869a6e)

2016-12-02  Reuben Thomas  <rrt@sc3d.org>

	Fix docstrings to have a complete sentence in first line

	* lisp/dired-x.el (dired-omit-case-fold, dired-omit-case-fold-p): Fix
	docstrings.

2016-12-02  Reuben Thomas  <rrt@sc3d.org>

	Remove obsolete comments and commented code from dired-x.el

	* lisp/dired-x.el (dired-mark-sexp): Remove a query from 1993 and its
	1997 answer about whether dired-mark-sexp is used.
	* lisp/dired-x.el (dired-buffers-for-dir-exact): Remove this function
	commented out since before dired-x.el was added to RCS in 1994.

2016-12-02  Reuben Thomas  <rrt@sc3d.org>

	Remove pre-customize dired-x.el documentation

	* lisp/dired-x.el (Commentary): Remove USAGE section explaining how to
	use dired-x from .emacs.  It is now fully customizable.
	* lisp/dired-x.el (dired-guess-shell-alist-user): Remove explanation of
	how to set this custom variable in .emacs.  It should be customized.

2016-12-02  Reuben Thomas  <rrt@sc3d.org>

	Allow files to be matched case-sensitively in dired-x

	* lisp/dired-x.el (dired-mark-unmarked-files): Add an argument which
	controls case folding for matching the regex (Bug#18716).
	(dired-omit-case-fold): New variable.  Defaults to `t' on case-sensitive
	systems, `nil' otherwise.
	(dired-mark-omitted, dired-omit-expunge): Use dired-omit-case-fold.
	* doc/misc/dired-x.texi, etc/NEWS: Document dired-omit-case-fold.

2016-12-02  Reuben Thomas  <rrt@sc3d.org>

	Add support for curly quotation marks to electric-pair-mode

	* lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): Add
	entries for left/right single/double quotation marks, from
	electric-quote-chars. Note that this is safe for single quotation marks,
	unlike with the ASCII apostrophe, since, although the right quotation
	mark can be used as an apostrophe, it is the left quotation mark that is
	typed to get a pair (Bug#24901).

2016-12-02  Nicolas Petton  <nicolas@petton.fr>

	Fix bug#25087

	* etc/themes/manoj-dark-theme.el: Fix two typos.

2016-12-02  Michael Albinus  <michael.albinus@gmx.de>

	Handle quoted file names in Tramp

	* lisp/net/tramp.el (tramp-file-name-handler): Handle also the
	case the file name is quoted.  This is not trapped by the
	reassigned `tramp-file-name-regexp' anymore.

2016-12-02  Evgeny Zajcev  <lg.zevlg@gmail.com>

	* lisp/battery.el: Add 'battery-upower' -- very fast battery status.

2016-12-02  Evgeny Zajcev  <lg.zevlg@gmail.com>

	Support for rawrgb images using imagemagick

	* src/image.c (imagemagick_load_image): Set wand size before loading
	blob when ':width' and ':height' are provided.

	* lisp/image.el (image-format-suffixes): Add 'image/x-rgb'.

2016-12-02  Nikolay Kudryavtsev  <nikolay.kudryavtsev@gmail.com>

	Fix 'sql-connect' on first invocation

	* lisp/progmodes/sql.el (sql-connect): Reorder code which sets
	param-var.  (Bug#19452)

2016-12-02  Eli Zaretskii  <eliz@gnu.org>

	* lisp/vc/ediff-util.el (ediff-janitor): Doc fix.  (Bug#25046)

2016-12-02  Eli Zaretskii  <eliz@gnu.org>

	Improve indexing of 'man'

	* doc/emacs/programs.texi (Man Page): Index 'man', not
	'manual-entry', as the latter is an alias for the former.
	Suggested by Hong Xu <hong@topbug.net>.  (Bug#25033)

2016-12-01  Paul Eggert  <eggert@cs.ucla.edu>

	Port to Sun C 5.14

	Backport from master.  Sun C 5.14 supports C11 but not GCC
	extensions, and so refuses to compile Emacs without this patch.
	* src/alloc.c (lmalloc, lrealloc): Don't use INT_ADD_WRAPV on
	size_t, as in general this macro is restricted to signed types.

2016-12-01  Paul Eggert  <eggert@cs.ucla.edu>

	Fix type typo on Solaris

	* src/sysdep.c (system_process_attributes) [SOLARIS2 && HAVE_PROCFS]:
	Fix type mismatch, caught by --enable-check-lisp-object-type.

2016-12-01  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib

	This incorporates:
	2016-11-27 md4,md5,sha*: tune for recent glibc _STRING_INLINE_unaligned
	2016-11-21 snippet/c++defs: Simplify _GL_CXXALIAS_* macros.
	* build-aux/snippet/c++defs.h:
	* lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c:
	Copy from gnulib.

2016-12-01  Paul Eggert  <eggert@cs.ucla.edu>

	Make struct font_drivers read-only

	This simplifies the code a bit, and makes the structs more
	shareable and less likely to become corrupt.
	* src/alloc.c (cleanup_vector):
	* src/font.c (valid_font_driver, font_prepare_cache)
	(font_finish_cache, font_get_cache, font_clear_cache)
	(register_font_driver, font_update_drivers):
	* src/font.h (struct font, struct font_driver_list)
	(valid_font_driver):
	struct font_drivers are now const.
	* src/font.c, src/ftcrfont.c, src/ftfont.c, src/nsfont.m, src/xfont.c:
	Omit no-longer-necessary decls.
	* src/ftcrfont.c (syms_of_ftcrfont):
	* src/ftxfont.c (syms_of_ftxfont):
	* src/xftfont.c (syms_of_xftfont):
	Omit no-longer-necessary initialization code.
	* src/ftcrfont.c (ftcrfont_driver):
	* src/ftfont.c (ftfont_driver):
	* src/ftxfont.c (ftxfont_driver):
	* src/macfont.m (macfont_driver):
	* src/nsfont.m (nsfont_driver):
	* src/xfont.c (xfont_driver):
	* src/xftfont.c (xftfont_driver):
	Use C99-style initializer for ease of maintenance, and make it const.
	* src/ftcrfont.c, src/ftxfont.c, src/xftfont.c:
	Refer to functions like ftfont_text_extents directly.
	* src/ftfont.c (ftfont_get_cache, ftfont_list, ftfont_list_family)
	(ftfont_has_char, ftfont_encode_char, ftfont_text_extents)
	(ftfont_get_bitmap, ftfont_anchor_point, ftfont_otf_capability)
	(ftfont_variation_glyphs, ftfont_filter_properties)
	(ftfont_combining_capability):
	* src/xfont.c (xfont_get_cache):
	Now extern, so that other modules’ struct font_drivers can use
	them directly.
	* src/macfont.m (macfont_descriptor_entity):
	* src/nsfont.m (nsfont_open):
	Use constant directly; this is clearer.

2016-12-01  Richard Stallman  <rms@gnu.org>

	Fix mail-combine-fields

	* lisp/mail/sendmail.el (mail-combine-fields): Call `save-excursion' to
	avoid losing our place in the search loop.

	(cherry picked from commit 5fbba6cceaf843cfca449eb000a0a65243b61808)

2016-12-01  Helmut Eller  <eller.helmut@gmail.com>

	Forth related improvements for etags

	Generate correct tags names for things like "(foo)".
	Previously "(foo" created.

	Fix a bug where a tag for "-bar" was created when encountering things
	like "create-bar".

	Recognize more words from the Forth-2012 Standard.

	* lib-src/etags.c (Forth_words): Check for whitespace after defining
	words.  Create tag with make_tag instead of get_tag to avoid notiname
	which isn't appropriate for Forth.

	* test/manual/etags/forth-src/test-forth.fth: Add some test cases.
	* test/manual/etags/ETAGS.good_1:
	* test/manual/etags/ETAGS.good_2:
	* test/manual/etags/ETAGS.good_3:
	* test/manual/etags/ETAGS.good_4:
	* test/manual/etags/ETAGS.good_5:
	* test/manual/etags/ETAGS.good_6:
	* test/manual/etags/CTAGS.good: Adapt to the changes in etags.c and
	new test cases.

2016-12-01  Eli Zaretskii  <eliz@gnu.org>

	Fix bugs with buffer-local tags tables

	* lisp/progmodes/etags.el (visit-tags-table): After
	'visit-tags-table-buffer' returns, retrieve the value of
	'tags-file-name' from the buffer we started in.  Force
	recomputation of 'tags-completion-table' next time it is used,
	since the list of tags table has changed.
	(visit-tags-table-buffer): Accept an additional optional argument
	CBUF, the buffer in which to start processing, and switch to that
	buffer if CBUF is non-nil.  All callers changed to supply a
	non-nil CBUF when they call 'visit-tags-table-buffer' in a loop.
	Doc fix.
	(tags-completion-table): Accept an optional argument, the buffer
	for which to build 'tags-completion-table', and build that
	buffer's completion table.
	(tags-lazy-completion-table): Pass the current buffer to
	'tags-completion-table'.
	(tags-file-name): Don't say in the doc string that setting this
	variable directly is enough; say that 'visit-tags-table' should be
	used for that.  (Bug#158)  (Bug#17326)  (Bug#23164)

	* doc/emacs/maintaining.texi (Select Tags Table): Delete the
	advice to set 'tags-file-name' directly.

	* test/lisp/progmodes/etags-tests.el: New tests.

2016-12-01  Martin Rudalics  <rudalics@gmx.at>

	Fix documentation of `window-combination-resize'

	* src/window.c (Vwindow_combination_resize): Fix doc-string.
	* doc/lispref/windows.texi (Recombining Windows): Fix
	documentation of `window-combination-resize'.

2016-12-01  Paul Eggert  <eggert@cs.ucla.edu>

	* src/lisp.h (LISP_INITIALLY_ZERO): Remove.

	All uses replaced by LISPSYM_INITIALLY.

2016-12-01  Paul Eggert  <eggert@cs.ucla.edu>

	Make Cairo safer for --enable-gcc-warnings

	* src/image.c (xcolor_to_argb32, pbm_load, jpeg_load_body, gif_load):
	Avoid overflow warnings about ‘0xff << 24’.
	(xpm_load, gif_load): Avoid unnecessary casts.
	(gif_load): Fewer ifdefs.

2016-11-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	Fix Condition in kbd_buffer_store_buffered_event (bug#19547).

	* src/keyboard.c (kbd_buffer_store_buffered_event): Should be NILP and not
	!NILP.

2016-11-29  Noam Postavsky  <npostavs@gmail.com>

	Fix previous commit

	* lisp/vc/diff-mode.el (diff-refine-hunk): Make sure to go to beginning
	of hunk before calling `diff-hunk-style'.

2016-11-29  Noam Postavsky  <npostavs@gmail.com>

	* lisp/vc/diff-mode.el (diff-refine-hunk): Remove redundant variable.

2016-11-29  Glenn Morris  <rgm@gnu.org>

	Use archive-mode for .cbr files

	* lisp/files.el (auto-mode-alist): Add cbr.  (Bug#24994)

2016-11-29  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify Sun C 5.14

	* src/lisp.h (enum Lisp_Save_Type): Put SAVE_UNUSED,
	SAVED_INTEGER, SAVE_FUNCPOINTER, SAVE_POINTER, and SAVE_OBJECT
	into this enum rather than into an anonymous enum.  This avoids
	diagnostics from Sun C 5.14 and is a bit clearer anyway.

2016-11-29  Paul Eggert  <eggert@cs.ucla.edu>

	Adjust lwlib to recent config.h change

	* lwlib/lwlib-Xaw.c: Include <stdlib.h> for 'abort' (Bug#24506).

2016-11-29  Paul Eggert  <eggert@cs.ucla.edu>

	* src/eval.c (clobbered_eassert): Check E's syntax.

2016-11-29  Michael Albinus  <michael.albinus@gmx.de>

	Improve user retrieval from auth-source in Tramp

	* lisp/net/tramp.el (tramp-read-passwd, tramp-clear-passwd):
	Use user for auth-source request only in case it exists.

2016-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>

	shr.el: Don't render a normal table twice

	* lisp/net/shr.el (shr-collect-extra-strings-in-table):
	Don't render a table if it is called for the first time,
	IOW, recognize it to never be invalid (bug#25051).

2016-11-29  Bogdan Creanga  <bogdan.creanga@gmail.com>  (tiny change)

	Typo fixes in elisp manual

	* doc/lispref/sequences.texi: Add missing '4' in result (Bug#25047).
	* doc/lispref/strings.texi (Text Comparison): Avoid duplicate
	definitions of 'string-prefix-p' and 'string-suffix-p'.
	* doc/lispref/symbols.texi (Definitions): Pluralize 'definitions'.

2016-11-28  Dima Kogan  <Dmitriy.Kogan@jpl.nasa.gov>

	Improve diff-mode navigation/manipulation

	This is Bug #17544.

	Navigation and use of diff buffers had several annoying corner cases
	that this patch fixes.  These corner cases were largely due to
	inconsistent treatment of file headers.  Say you have a diff such as
	this:

	 --- aaa
	 +++ bbb
	 @@ -52,7 +52,7 @@
	 hunk1
	 @@ -74,7 +74,7 @@
	 hunk2
	 --- ccc
	 +++ ddd
	 @@ -608,6 +608,6 @@
	 hunk3
	 @@ -654,7 +654,7 @@
	 hunk4

	The file headers here are the '---' and '+++' lines.  With the point on
	such a line, hunk operations would sometimes refer to the next hunk and
	sometimes to the previous hunk.  Most of the time it would be the
	previous hunk, which is not what the user would expect.  This patch
	consistently treats such headers as the next hunk.  So with this patch,
	if the point is on the '--- ccc' line, the point is seen as referring to
	hunk3.

	Specific behaviors this fixes are:

	1. It should be possible to place the point in the middle of a diff
	buffer, and press M-k repeatedly to kill hunks in the order they appear
	in the buffer.  With the point on hunk1, M-k M-k would kill hunk1 then
	hunk2.  With the point on hunk3, it would kill hunk3 then hunk4; this is
	fine.  However, with the point on hunk2, it'd kill hunk2 then hunk1.
	This is fixed by this patch.

	2. Similarly, it should be possible to apply hunks in order.  Previously
	with the point at the start, C-c C-a would apply the hunk1, then move
	the point to the first @@ header, and thus C-c C-a would try to apply
	the same hunk again.

	* lisp/vc/diff-mode.el (diff--wrap-navigation): New function to add better
	navigation logic to diff-{hunk,file}-{next,prev}.
	(diff-hunk-next, diff-hunk-prev):
	(diff-file-next, diff-file-prev): Better navigation logic if
	skip-hunk-start is true, which happens when called interactively.
	(diff-bounds-of-hunk, diff-find-source-location):
	(diff-apply-hunk, diff-current-defun, diff-refine-hunk): Small tweaks to
	improve hunk navigation.

2016-11-28  Noam Postavsky  <npostavs@gmail.com>

	Upcase Path and ComSpec in process-environment

	Since 2016-07-18 "Keep w32 environment settings internal only", the
	upcasing of environment variables "Path" and "ComSpec" occured after
	initializing process-environment.  This meant that Lisp code trying to
	override "PATH" environment had no effect (Bug #24956).

	* src/w32.c (init_environment): Upcase the "Path" and "ComSpec" entries
	in Vprocess_environment.

2016-11-28  Philipp Stephani  <phst@google.com>

	Guard terminal parameter in XTerm mouse mode

	It has been observed (in the HTerm terminal emulator) that the
	event stored in the 'xterm-mouse-last-down' terminal parameter gets
	overwritten during a mouse drag operation, causing Emacs to attempt to
	synthesize the non-existing <drag-mouse-0> event.  Copy the event into
	the terminal parameter to protect against such modifications.

	* lisp/xt-mouse.el (xterm-mouse-translate-1): Guard against modification
	of input event list.

2016-11-28  Paul Eggert  <eggert@cs.ucla.edu>

	Fix template for module functions

	Reported by Syohei YOSHIDA (Bug#24932).
	* modules/modhelp.py (TEMPLATES):
	c_func’s 2nd arg is ptrdiff_t, not int.

2016-11-27  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify gcc -Wswitch.

	* src/keyboard.c (kbd_buffer_store_buffered_event):
	Move initialization into default case.

2016-11-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	Reuse already existing lisp symbols for ignore_event (bug#19547).

	* lisp/subr.el (while-no-input-ignore-events): Use them instead.
	* src/keyboard.c (kbd_buffer_store_buffered_event):
	Use help-echo for HELP_EVENT, iconify-frame for ICONIFY_EVENT,
	and make-frame-visible for DEICONIFY_EVENT.
	(syms_of_keyboard): Remove unneeded symbols.

2016-11-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	Allow configuring which event throw-on-input should ignore (bug#19547).

	* src/keyboard.c (kbd_buffer_store_buffered_event):
	Translate event to corresponding symbol from `while-no-input-ignore-events`
	and check them with Fmemq.
	(syms_of_keyboard): Declare new lisp variable `while-no-input-ignore-events`
	and its symbols.

	* lisp/subr.el (while-no-input-ignore-events): Add default values.

	* doc/lispref/commands.texi (Event Input Misc):
	Document while-no-input-ignore-events.
	* etc/NEWS: Same.

2016-11-26  Tino Calancha  <tino.calancha@gmail.com>

	ash, lsh avoid code duplication

	See discussion in:
	https://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00469.html
	* src/data.c (ash_lsh_impl): New function.
	(ash, lsh): Use it.

2016-11-26  Simen Heggestøyl  <simenheg@gmail.com>

	Add will change module to CSS property list

	* lisp/textmodes/css-mode.el (css-property-alist)
	(css-value-class-alist): Add new property and value class from CSS
	Will Change Module.

2016-11-26  Paul Eggert  <eggert@cs.ucla.edu>

	Don't access pointers to freed storage in regex.c

	Remove __BOUNDED_POINTERS__ code, which does not work with
	-fcheck-pointer-bound and which has undefined behavior anyway.
	Problem found when trying to port to gcc -fcheck-pointer-bounds.
	(This code was removed from glibc and gnulib regex.c many years ago.)
	* src/regex.c (ELSE_EXTEND_BUFFER_HIGH_BOUND): Remove.
	(EXTEND_BUFFER): Use a more-portable approach that avoids
	undefined behavior due to inspecting pointers to freed storage.

2016-11-25  Paul Eggert  <eggert@cs.ucla.edu>

	Port build to gcc -fcheck-pointer-bounds

	This does not let Emacs run, just build.
	* lib-src/etags.c (main):
	* lib-src/profile.c (main):
	Use return, not exit.
	* src/bytecode.c (BYTE_CODE_THREADED) [__CHKP__]:
	Do not define, as -fcheck-pointer-bounds is incompatible with taking
	addresses of labels.
	* src/menu.c (Fx_popup_dialog): Use eassume, not eassert,
	to pacify gcc -fcheck-pointer-bounds -Wnull-dereference.

2016-11-25  Tino Calancha  <tino.calancha@gmail.com>

	* lisp/emacs-lisp/subr-x.el (hash-table-keys, hash-table-values): Use cl-loop.

2016-11-25  Simen Heggestøyl  <simenheg@gmail.com>

	* lisp/rot13.el: Use lexical-binding

2016-11-25  Mark Oteiza  <mvoteiza@udel.edu>

	Add "using" to cl-loop debug spec (Bug#24750)

	* lisp/emacs-lisp/cl-macs.el (cl-loop): Add element to account for
	"using" hash table clause.

2016-11-25  Hong Xu  <hong@topbug.net>  (tiny change)

	Allow user control of progress messages in cpp.el

	* progmodes/cpp.el (cpp-message-min-time-interval): New defcustom.
	(cpp-progress-time): Use 'cpp-message-min-time-interval'.  Improve
	the doc string.
	(cpp-highlight-buffer): Use 'cpp-progress-message' instead of
	'message' to print messages.  (Bug#24861)

2016-11-25  Wojciech Gac  <wojciech.s.gac@gmail.com>  (tiny change)

	New input method 'polish-prefix'

	* lisp/leim/quail/latin-pre.el ("polish-prefix"): New input
	method.  (Bug#24967)

	* etc/NEWS: Mention the new input method.

2016-11-25  Damien Cassou  <damien@cassou.me>

	* lisp/isearch.el: Add 'provide'.  (Bug#25026)

2016-11-25  Philippe Vaucher  <philippe.vaucher@gmail.com>

	Add missing 'provide's in preloaded packages

	* lisp/composite.el:
	* lisp/replace.el:
	* lisp/textmodes/text-mode.el: Add provide statement.  (Bug#24985)

2016-11-24  Alan Mackenzie  <acm@muc.de>

	Handle correctly an (undocumented) bare mode in hack-local-variables.

	lisp/files.el (hack-local-variables-prop-line): When a file's first line
	contains only a mode specification without the string "mode:", return the mode
	symbol only when `handle-mode' is t.

2016-11-23  Dima Kogan  <dima@secretsauce.net>

	Clarify ediff-directories prompt

	* lisp/vc/ediff-mult.el (ediff-filegroup-action):
	* lisp/vc/ediff.el (ediff-directories,ediff-directory-revisions,
	ediff-directories3, ediff-merge-directories,
	ediff-merge-directories-with-ancestor, ediff-merge-directory-revisions,
	ediff-merge-directory-revisions-with-ancestor): Clarify prompt message for
	filename filter in interactive ediff. The new message makes it clear what is
	being filtered

2016-11-23  Tino Calancha  <tino.calancha@gmail.com>

	* test/lisp/ibuffer-tests.el (ibuffer-test-Bug24997): Add test for Bug#24997.

2016-11-23  Ulf Jasper  <ulf.jasper@web.de>

	Fix Bug#24199.

	* lisp/calendar/icalendar.el (icalendar--do-create-ical-alarm): Quote
	  bracket in doc string (make checkdoc happy).
	  (icalendar-import-buffer),
	  (icalendar-import-buffer),
	  (icalendar--convert-ical-to-diary),
	  (icalendar--add-diary-entry): Rename argument diary-file to
	  diary-filename (make checkdoc happy).
	  (icalendar--convert-recurring-to-diary): Take care of byday-clause
	  in monthly recurring events.  Actually fix Bug#24199.

	* test/lisp/calendar/icalendar-tests.el (icalendar-import-bug-24199): New.

2016-11-23  Tino Calancha  <tino.calancha@gmail.com>

	* test/lisp/ibuffer-tests.el (ibuffer-test-Bug25000): Add test for Bug25000.

2016-11-22  Philipp Stephani  <phst@google.com>

	Comint: new user option for C-c M-r and C-c M-s

	This option allows the user to specify where to place point after these
	commands.

	* comint.el (comint-move-point-for-matching-input): New user option.
	(comint-previous-matching-input-from-input): Use user option.

2016-11-22  Michael Albinus  <michael.albinus@gmx.de>

	Add tramp-eshell-directory-change to eshell-first-time-mode-hook

	* lisp/net/tramp.el (tramp-eshell-directory-change): Add it also to
	`eshell-first-time-mode-hook'.

2016-11-22  Michael Albinus  <michael.albinus@gmx.de>

	Dump also connection local variables in Tramp bug reports

	* lisp/net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
	Dump also connection local variables.

2016-11-21  Mark Oteiza  <mvoteiza@udel.edu>

	Make sure elided long buffer names have ellipses added (Bug#24972)

	* lisp/ibuffer.el (ibuffer-compile-make-eliding-form): Restore the
	string concat, and chop "strvar" less the width of the ellipsis.
	(ibuffer-compile-make-substring-form): Add space as padding, to fix
	off-by-one in alignment.

2016-11-21  Tino Calancha  <tino.calancha@gmail.com>

	Buffer-menu-no-header: Detect a fake header

	* lisp/buff-menu.el (Buffer-menu-no-header): Use
	'tabulated-list-header-overlay-p' (Bug#24855).

2016-11-21  Tino Calancha  <tino.calancha@gmail.com>

	buff-menu: Add command to unmark all buffers

	Bind 'U' in buff-menu, bs and electric-buff-menu to commands
	to unmark all buffers (Bug#24880).
	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-header-overlay-p):
	New predicate; return non-nil if tabulated-list has a fake header.
	* lisp/buff-menu.el (Buffer-menu-unmark-all-buffers):
	New command; remove all flags that use a particular mark from all the lines.
	Bind it to 'M-DEL'.
	(Buffer-menu-unmark-all):
	New command; remove all flags from all the lines.  Bind it to 'U'.
	(Buffer-menu-marker-char, Buffer-menu-del-char): New variables.
	(Buffer-menu-delete, Buffer-menu-mark): Use them.
	(Buffer-menu-mode-map): Update menus.
	(Buffer-menu-mode): Update mode doc.
	* lisp/bs.el (bs-unmark-all, bs-unmark-previous): New commands.
	(bs-mode-map): Bind them to 'U' and '<backspace>' respectively.
	(bs-mode): Update mode doc.
	* lisp/ebuff-menu.el (electric-buffer-menu-mode-map):
	Bind Buffer-menu-unmark-all to 'U' and Buffer-menu-unmark-all-buffers
	to 'M-DEL'.
	(bs--down, bs-down, bs--up, bs-up, bs-unmark-current, bs-mark-current):
	Use point instead of cursor in doc string.
	(electric-buffer-list): Update mode doc.
	* doc/emacs/buffers.texi (Several Buffers): Mention Buffer-menu-unmark-all
	and Buffer-menu-unmark-all-buffers.

2016-11-21  Mark Oteiza  <mvoteiza@udel.edu>

	Revert "* lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure."

	This reverts commit 10efaf718c5258af0ba62077cf4e2aaf9fb90227.

2016-11-21  Mark Oteiza  <mvoteiza@udel.edu>

	Port htmlfontify to cl-lib

	* lisp/htmlfontify.el: (hfy-box-to-border-assoc, hfy-box-to-style):
	(hfy-decor, hfy-face-to-style-i, hfy-face-at, hfy-merge-adjacent-spans):
	(hfy-fontify-buffer, htmlfontify-string, hfy-mark-tag-names): Replace
	instances of cl aliases with their cl-lib counterparts.

2016-11-21  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.

2016-11-21  Paul Eggert  <eggert@cs.ucla.edu>

	Fix another CANNOT_DUMP problem

	Reported by Robert Pluim in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00468.html
	* src/emacs.c (might_dump) [CANNOT_DUMP]: Move enum decl from here ...
	* src/lisp.h: ... to here.

2016-11-21  Mark Oteiza  <mvoteiza@udel.edu>

	Add further consideration to string-width (Bug#24972)

	* lisp/ibuffer.el (ibuffer-compile-make-eliding-form):
	(ibuffer-compile-make-substring-form): Use truncate-string-to-width.

2016-11-21  Katsumi Yamaoka  <yamaoka@jpl.org>

	Don't collect strings existing out of <tr>...</tr>

	* lisp/net/shr.el (shr-collect-extra-strings-in-table):
	Don't collect strings existing out of <tr>...</tr> to avoid
	duplication with what `shr-tag-table' renders.

2016-11-20  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/gnus-mh.el (gnus-summary-save-in-folder): Slightly change
	the last commit.

2016-11-20  Mike Kupfer  <m.kupfer@acm.org>

	Add a variable to pass additional options to rcvstore

	* lisp/gnus/gnus-mh.el (gnus-rcvstore-options): New variable.
	(gnus-summary-save-in-folder): Include gnus-rcvstore-options in
	the arguments that are passed to rcvstore.

	cf. <nntp://news.gmane.org/gmane.emacs.gnus.general/87263>
	and followups, i.e., ding mailing list.

2016-11-20  Paul Eggert  <eggert@cs.ucla.edu>

	Fix undefined refs on some GNU/Linux hosts

	Problem reported by Ken Raeburn in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00463.html
	* src/emacs.c (heap_bss_diff) [CANNOT_DUMP]: Remove, as this is
	not needed in the CANNOT_UNDUMP case.  All uses removed.  This
	removes unwanted references to my_endbss and my_endbss_static,
	which are not optimized away on some platforms.

2016-11-20  Paul Eggert  <eggert@cs.ucla.edu>

	Make CANNOT_DUMP work better on GNU/Linux

	Clean up some of the bitrot affecting the CANNOT_DUMP code.  This
	lets the build succeed again, and fixes the testing framework so
	that most test cases now pass.  About twenty test cases still
	fail, though, and we still have Bug#24974.
	* configure.ac (CANNOT_DUMP): Now empty if CANNOT_DUMP.
	(SYSTEM_MALLOC): Now true if CANNOT_DUMP.  There should no longer
	be any point to messing with a private memory allocator unless
	Emacs is dumping.
	* src/alloc.c (alloc_unexec_pre, alloc_unexec_post, check_pure_size):
	* src/image.c (reset_image_types):
	* src/lastfile.c (my_endbss, _my_endbss, my_endbss_static):
	Do not define if CANNOT_DUMP.
	* src/emacs.c (might_dump) [CANNOT_DUMP]: Now always false and local.
	(daemon_pipe) [!WINDOWSNT]: Now static.
	* test/Makefile.in (mostlyclean): Remove *.tmp files.
	(make-test-deps.mk): Elide CANNOT_DUMP chatter.

2016-11-20  Paul Eggert  <eggert@cs.ucla.edu>

	* src/xdisp.c (block_buffer_flips, unblock_buffer_flips): Now static.

2016-11-20  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings CANNOT_DUMP=yes

	* src/editfns.c (dump_tz_string) [CANNOT_DUMP || !HAVE_TZSET]:
	Do not define.  If defining, do it in a smaller scope.

2016-11-20  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/ibuffer.el (ibuffer-compile-format): Use string-width instead of length

2016-11-20  Eli Zaretskii  <eliz@gnu.org>

	Fix redrawing non-selected frame after resize on MS-Windows

	* src/xdisp.c (redisplay_internal): If all the frames were
	successfully updated, reset the "garbaged" flag of each frame, to
	make sure it doesn't stay set.

	* src/w32term.c (w32_read_socket): Don't clear the frame if it's
	"garbaged", since expose_frame won't redraw the foreground then.
	(Bug#24642)

2016-11-20  Michael Albinus  <michael.albinus@gmx.de>

	Add file-local-name

	* doc/lispref/files.texi (Magic File Names): Add `file-local-name'.
	(Unique File Names): Use it.

	* etc/NEWS: Mention `file-local-name'.

	* lisp/files.el (file-local-name): New defun.
	(file-expand-wildcards):
	* lisp/eshell/em-tramp.el (eshell/su, eshell/sudo):
	* lisp/eshell/esh-ext.el (eshell-remote-command):
	* lisp/eshell/esh-proc.el (eshell-gather-process-output):
	* lisp/org/ob-core.el (org-babel-local-file-name):
	* lisp/progmodes/gud.el (gud-common-init, gud-format-command):
	* lisp/progmodes/python.el (python-shell-send-file):
	* lisp/shell.el (shell):
	* lisp/vc/ediff-diff.el (ediff-same-file-contents):
	* lisp/vc/vc-git.el (vc-git-checkin): Use it.

2016-11-20  Tino Calancha  <tino.calancha@gmail.com>

	* lisp/ibuffer.el (ibuffer-formats): Mention locked column in doc string.

2016-11-19  Tino Calancha  <tino.calancha@gmail.com>

	* src/editfns.c (format-time-string): Mention %q in doc string.

2016-11-19  Paul Eggert  <eggert@cs.ucla.edu>

	Document format-time-string %q

	* doc/lispref/os.texi (Time Parsing):
	* etc/NEWS: Document new %q functionality taken from gnulib.

2016-11-19  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib

	This incorporates:
	2016-11-15 sys_time: add gnulib::timeval for C++
	2016-11-14 snippet/c++defs: fix real-floating arg functions in C++ mode
	2016-11-13 strftime: don't use __THROW
	2016-11-12 strftime: tune %q
	2016-11-12 Merge strftime.c changes from glibc
	2016-11-09 manywarnings: fix -Wno-missing-field-initializers detection
	2016-11-05 strftime,strptime: support %q to represent the quarter

	The glibc changes in turn incorporate the following strftime.c changes:
	2015-10-20 Convert misc function definitions to prototype style
	2015-09-26 [BZ #18985] out of range data to strftime() causes segfault
	2010-01-09 Add support for XPG7 testing
	2009-10-30 Implement Burmese language locale for Myanmar
	2008-06-13 [BZ #6612] pass reference to tzset_called around
	2007-10-16 [BZ #5184] Add tzset_called argument

	* build-aux/snippet/c++defs.h, lib/strftime.c, lib/sys_time.in.h:
	* m4/manywarnings.m4: Copy from gnulib.

2016-11-19  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	07f45d7 ; Spelling fix
	1a210f0 * admin/release-process: Update versions and blocking bug num...
	36bafc9 Improve documentation of functions that accept time values

	# Conflicts:
	#	admin/release-process
	#	src/editfns.c

2016-11-19  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	4af5981 Add a comment in generated refcards about the source
	ef880a5 ; * etc/refcards/calccard.tex: Remove obsolete comment.
	4887e7c js-mode: Fix indent problem after a regexp
	e992ac0 Fix sluggish display of symbols in UTF-8 language environment
	1fc101b Don't confuse how Texinfo outputs @var with the input
	91aa5d1 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame...
	f758fcd * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da...
	5b0cddd More fixes in copyright notices in etc/refcards/
	f994c20 Update copyright text in refcards
	9ad2ae7 Fix Outline command names
	26c3554 Send text received by bracketed paste to process
	db0b58d Correct the statement about programming modes always running ...
	78aece4 Improve documentation of 'occur'
	eb364fd Do call debugger on failed cl-assert
	3ef4ee8 Avoid infloop in python
	8da810f Don't refer to obsolete FEATURE-unload-hook
	4f478ca Improve documentation of dabbrevs
	7272e5d * lisp/chistory.el (list-command-history): Doc fix.  (Bug#24890)
	89b7482 * lisp/simple.el (set-mark-command): Doc fix.  (Bug#24890)
	3b199f7 Improve documentation of some Help commands
	93d3a0e Fix documentation of yes-or-no prompts
	af04919 Fix documentation of partial completion style
	ed80184 Fix documentation of the mode line on emacsclient frames
	e6be855 Fix description of 'C-z' in User manual
	16f7007 Improve and clarify documentation of Outline Mode
	31d93aa Add Emacs version number to nt/README.W32
	0b6b815 Fix python-mode hideshow regexp
	dc152c5 Modernize usage of 'macOS' in doc and comments
	84c5343 Prefer comments /* like this */ in C code
	bb61e50 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845).
	3ef86fd Clarify documentation of face attribute functions
	de51d59 ; * nt/README.W32: Minor copyedits.
	db436e9 Don't call debug on failed cl-assert

	# Conflicts:
	#	doc/emacs/cmdargs.texi
	#	etc/NEWS
	#	etc/PROBLEMS
	#	lisp/auth-source.el
	#	lisp/net/tramp-sh.el

2016-11-19  Mark Oteiza  <mvoteiza@udel.edu>

	Port RefTeX to cl-lib

	* lisp/textmodes/reftex-auc.el:
	* lisp/textmodes/reftex-cite.el: Use cl-lib.
	(reftex-do-citation, reftex-create-bibtex-file): Substitute cl-lib
	macros.
	* lisp/textmodes/reftex-dcr.el: Use cl-lib.
	(reftex-view-regexp-match): Substitute cl-lib macro.
	* lisp/textmodes/reftex-global.el: Use cl-lib.
	(reftex-find-duplicate-labels, reftex-renumber-simple-labels):
	(reftex-translate): Substitute cl-lib macros.
	* lisp/textmodes/reftex-index.el: Use cl-lib.
	(reftex-index, reftex-index-select-tag, reftex-index-mode-map):
	(reftex-index-next-phrase, reftex-index-phrases-info):
	(reftex-query-index-phrase): Substitute cl-lib macros.
	* lisp/textmodes/reftex-parse.el: Use cl-lib.
	(reftex-parse-from-file, reftex-where-am-I, reftex-what-macro):
	(reftex-nth-arg, reftex-init-section-numbers, reftex-section-number):
	Substitute cl-lib macros.
	* lisp/textmodes/reftex-ref.el: Use cl-lib.
	(reftex-uniquify-label, reftex-offer-label-menu): Substitute cl-lib
	macros.
	* lisp/textmodes/reftex-sel.el: Use cl-lib.
	(reftex-select-shared-map): Set keymap parent to special-mode-map.
	Flatten loop and remove digits and hyphen definitions from the map.
	(reftex-select-label-mode-map):
	(reftex-select-bib-mode-map): Use cl-lib macro, and flatten other loop.
	(reftex-insert-docstruct, reftex-select-unmark): Use cl-lib macros.
	* lisp/textmodes/reftex-vars.el (reftex-vref-is-default): Use
	cl-pushnew.
	* lisp/textmodes/reftex.el: Use cl-lib.
	(reftex-docstruct-symbol): Use cl-incf.
	(reftex-ref-style-toggle): Replace add-to-list with append.
	(reftex-compile-variables): Use cl-lib macros, and functions with
	compiler macros. cl-first is just an alias.
	(reftex-parse-args, reftex-scanning-info-available-p):
	(reftex-select-external-document, reftex-get-file-buffer-force): Use
	cl-lib macros.
	(reftex-isearch-minor-mode): Replace add-to-list with append.

2016-11-19  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-exchange-filters: Simplify code

	* lisp/ibuf-ext.el (ibuffer-exchange-filters): Use cl-rotatef.

2016-11-19  Eli Zaretskii  <eliz@gnu.org>

	Implement getrlimit and setrlimit for MS-Windows

	* src/w32heap.c (getrlimit, setrlimit): New functions.
	Include w32.h.
	* src/emacs.c (main): Use 'rlim_t', not 'long', for values that
	should be compatible with 'struct rlimit' members.

	* nt/inc/sys/resource.h: New header file.

	* nt/mingw-cfg.site (ac_cv_func_getrlimit, ac_cv_func_setrlimit):
	Set to "yes".

2016-11-18  Mark Oteiza  <mvoteiza@udel.edu>

	Move key mappings into reftex-mode-map defvar

	* lisp/textmodes/reftex.el (reftex-mode-map): Assimilate top-level
	key mappings.
	(reftex-reset-mode): Just use dolist.

2016-11-18  Mark Oteiza  <mvoteiza@udel.edu>

	Derive reftex-index-mode from special-mode

	* lisp/textmodes/reftex-index.el (reftex-index-mode-map): Flatten
	loop.  Remove digit keys and hyphen, as reftex-index-mode is derived
	from special-mode now.
	(reftex-index-mode): Derive from special-mode.
	(reftex-index-phrases-mode-map): Flatten loop. Fix erroneous docstring.

2016-11-18  Mark Oteiza  <mvoteiza@udel.edu>

	Clean up reftex-toc-mode-map

	* lisp/textmodes/reftex-toc.el: Remove cl.
	(reftex-toc-mode-map): Flatten loop.  Remove mapping digit keys and
	hyphen, as reftex-toc-mode is derived from special-mode nowadays.

2016-11-18  Philipp Stephani  <phst@google.com>

	Prevent dubious argument lists

	See Bug#24912 and Bug#24913.

	* src/eval.c (funcall_lambda): Detect more dubious argument lists.
	* lisp/emacs-lisp/bytecomp.el (byte-compile-check-lambda-list): Detect
	more dubious argument lists.
	* test/src/eval-tests.el (eval-tests--bugs-24912-and-24913): Add unit
	test.

2016-11-18  Tino Calancha  <tino.calancha@gmail.com>

	Add test suite for buff-menu.el

	* test/lisp/buff-menu-tests.el: New file.
	(buff-menu-24962): Add test for Bug#24962.

2016-11-18  Wojciech Gac  <wojciech.s.gac@gmail.com>  (tiny change)

	Add cyrillic-tuvan input method

	* lisp/leim/quail/cyrillic.el ("cyrillic-tuvan"): New input
	method.  (Bug#24942)

	* etc/NEWS: Mention addition of 'cyrillic-tuvan' input method.

2016-11-18  Alex  <agrambot@gmail.com>

	Extend 'indent-relative' when its arg is non-nil

	* lisp/indent.el (indent-relative-maybe): New obsolete alias.
	(indent-relative-first-indent-point): Renamed from
	'indent-relative-maybe'.
	(indent-relative): Now accepts an additional optional argument.
	The first argument was renamed to FIRST-ONLY.  Doc fix.  Support
	the additional arg.  (Bug#24766)

2016-11-17  Dmitry Gutov  <dgutov@yandex.ru>

	Add example for bug#24854

	* test/manual/indent/js.js: Add example for bug#24854.

2016-11-17  Mark Oteiza  <mvoteiza@udel.edu>

	Port registry.el the rest of the way to cl-lib

	This file already is using cl-lib functions at runtime; eieio ultimately
	loads cl-lib, which explains why doing so wasn't an issue.
	* lisp/registry.el: Require cl-lib.
	(registry-db, registry--match, registry-search, registry-delete):
	(registry-insert, registry-reindex): Replace cl macros with cl-lib ones.
	(registry-collect-prune-candidates): Replace cl function with cl-lib one.

2016-11-17  Mark Oteiza  <mvoteiza@udel.edu>

	Fix arglist in python.el (Bug#24762)

	* lisp/progmodes/python.el: Remove unneeded second args.
	(python-define-auxiliary-skeleton): DOC arg should be &optional.

2016-11-17  Simen Heggestøyl  <simenheg@gmail.com>

	Add tests for rot13.el

	* lisp/rot13.el (rot13): Docstring correction.

	* test/lisp/rot13-tests.el: New file with tests for rot13.el.

2016-11-17  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#24947 (Tramp + ido)

	* lisp/ido.el (ido-read-internal): Prevent eager Tramp connection.

	* lisp/net/tramp.el (tramp-handle-file-name-case-insensitive-p):
	Run remote tests only if a connection is established only.  (Bug#24947)

2016-11-16  Ken Brown  <kbrown@cornell.edu>

	Unbreak the build on Darwin (Bug#24957)

	* src/fileio.c (file_name_case_insensitive_p) [DARWIN_OS]: Fix
	mistakes in recent commit.

2016-11-16  Nicolas Petton  <nicolas@petton.fr>

	Do not use map.el in seq-tests.el

	* test/lisp/emacs-lisp/seq-tests.el: Do not use map.el.  map.el was
	introduced in Emacs 25.1, but seq.el is also available in GNU ELPA for
	Emacs 24.5.

2016-11-16  Tino Calancha  <tino.calancha@gmail.com>

	Update parameter :version to 26.1 in several defcustom

	Following defcustom where added or modified for 25.2 release.
	In fact all these changes belong to 26.1 release.
	* lisp/battery.el (battery-linux-sysfs-regexp)
	* lisp/comint.el (comint-password-prompt-regexp)
	* lisp/dired.el (dired-always-read-filesystem)
	* lisp/image.el (image-scaling-factor)
	* lisp/ibuf-ext.el (ibuffer-never-search-content-name)
	(ibuffer-never-search-content-mode)
	* lisp/mouse.el (mouse-select-region-move-to-beginning)
	* lisp/net/net-utils.el (iwconfig-program, iwconfig-program-options)
	(netstat-program, route-program, route-program-options)
	* lisp/net/sieve-manage.el (sieve-manage-default-stream)
	* lisp/progmodes/grep.el (grep-save-buffers)
	* lisp/vc/add-log.el (change-log-directory-files)
	* lisp/url/url-vars.el (url-user-agent)
	* lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles)
	(vc-hg-use-file-version-for-mode-line-version)
	(vc-hg-parse-hg-data-structures)
	* lisp/wdired.el (wdired-create-parent-directories)
	* lisp/faces.el (homoglyph, nobreak-hyphen, read-multiple-choice-face)
	* lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
	(gnus-button-url-regexp)
	* lisp/window.el (switch-to-buffer-preserve-window-point)
	* lisp/ibuffer.el (ibuffer-formats, ibuffer-locked-char)
	(ibuffer-locked-buffer)
	* lisp/textmodes/flyspell.el (flyspell-sort-corrections-function)
	* lisp/emacs-lisp/edebug.el (edebug-sit-on-break)
	* lisp/gnus/message.el (message-user-fqdn)
	* lisp/simple.el (shell-command-dont-erase-buffer)
	(extended-command-suggest-shorter)
	* lisp/net/shr.el (shr-use-fonts)
	* lisp/files.el (mounted-file-systems, kill-emacs-query-functions)

2016-11-15  Glenn Morris  <rgm@gnu.org>

	Add --new-daemon, which runs in the foreground and does not fork

	This is intended for modern init systems such as systemd,
	which manage many of the traditional aspects of daemon behavior
	themselves.  (Bug#2677)
	* src/emacs.c (daemon_type): New integer.
	(usage, standard_args): Add --old-daemon and --new-daemon.
	(main): Handle --old-daemon and --new-daemon arguments.
	Restrict all the forking and complicated daemon stuff to old-daemon.
	(Fdaemon_initialized): Handle new-style daemon.
	* src/lisp.h (IS_DAEMON, DAEMON_RUNNING) [!WINDOWNT]:
	Replace daemon_pipe with daemon_type.
	* doc/emacs/cmdargs.texi (Initial Options):
	* doc/emacs/glossary.texi (Glossary):
	* doc/emacs/misc.texi (Emacs Server):
	* doc/lispref/display.texi (Window Systems):
	* doc/lispref/os.texi (Startup Summary): Related doc updates.
	* etc/NEWS: Mention this.
	* etc/emacs.service: Use Type=simple and --new-daemon.

2016-11-15  Glenn Morris  <rgm@gnu.org>

	* src/emacs.c (usage_message): Mention named daemon.  (Bug#24949)
	* doc/man/emacs.1.in: Likewise.

2016-11-15  Ken Brown  <kbrown@cornell.edu>

	Simplify case-insensitivity checks on Mac OS X

	* src/fileio.c (file_name_case_insensitive_p): Try skipping the
	Darwin code and instead using pathconf with _PC_CASE_SENSITIVE.
	Leave in two alternatives conditionally compiled based on
	DARWIN_OS_CASE_SENSITIVE_FIXME in case pathconf doesn't work.

	* etc/PROBLEMS: Mention the possible problem with pathconf on
	Mac OS X.

2016-11-15  Glenn Morris  <rgm@gnu.org>

	* src/emacs.c (sort_args): Warn about multiple matches.

2016-11-15  Michael Albinus  <michael.albinus@gmx.de>

	Implement file name handler for `file-name-case-insensitive-p'

	* doc/lispref/files.texi (Truenames): `file-name-case-insensitive-p'
	is also applicable for remote hosts.

	* lisp/net/tramp.el (tramp-methods): Improve docstring.
	(tramp-file-name-for-operation): Add `file-name-case-insensitive-p'.
	(tramp-handle-file-name-case-insensitive-p): New defun.

	* lisp/net/tramp-smb.el (tramp-methods) <smb>:
	Add `tramp-case-insensitive' entry.

	* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
	* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
	* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
	* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
	<file-name-case-insensitive-p>: Add handler.  (Bug#22300, Bug#24441)

2016-11-15  Mark Oteiza  <mvoteiza@udel.edu>

	Nix more uses of default-FOO variables (Bug#24946)

	* lisp/cedet/semantic/util-modes.el (semantic-stickyfunc-mode):
	Check for header-line-format instead.
	* lisp/emulation/viper.el (viper-load-custom-file): Reference
	major-mode instead.
	* lisp-mail-feedmail.el (feedmail-fill-to-cc-fill-column): Use
	fill-column instead.

2016-11-15  Simen Heggestøyl  <simenheg@gmail.com>

	Complete the name of PostgreSQL databases

	* lisp/progmodes/sql.el (sql-postgres-login-params): Complete database
	name.
	(sql-postgres-list-databases): New function returning a list of
	available PostgreSQL databases.

	* test/lisp/progmodes/sql-tests.el: New file with tests for sql.el.

2016-11-14  Sam Steingold  <sds@gnu.org>

	add `vc-git-print-log-follow' and use it in `vc-git-print-log'

	When `vc-git-print-log-follow' is true and all files are
	non-directory, pass "--follow" to "git log".
	This works around bug#8756 and bug#16422.

2016-11-14  Sam Steingold  <sds@gnu.org>

	`toggle-truncate-lines' obsoletes `gnus-summary-toggle-truncation'

	vc-git-print-log: pass "--follow" to "log" to handle renamed files

2016-11-14  Eli Zaretskii  <eliz@gnu.org>

	Revert "Improve case-insensitive checks (Bug#24441)"

	This reverts commit 2f5e0b1bf7b0ac4f450847db34d599a072020600.
	I see no reason for removing code, documentation, and comments
	in the original commit.

2016-11-14  Wilson Snyder  <wsnyder@wsnyder.org>

	Update verilog-mode.el

	* verilog-mode.el (verilog-read-decls, verilog-calc-1): Fix
	"default clocking" indentation and preventing AUTOs from working,
	bug1084.  Reported by Alan Morgan.
	(verilog-diff-report): Fix `verilog-diff-report'
	not returning bad status on differences, bug1087.  Reported by
	Eric Jackowski.
	(verilog-auto-inst-param-value)
	(verilog-auto-inst-param-value-type, verilog-read-sub-decls)
	(verilog-read-sub-decls-expr, verilog-read-sub-decls-gate)
	(verilog-read-sub-decls-line, verilog-read-sub-decls-sig)
	(verilog-read-sub-decls-type): When
	`verilog-auto-inst-param-value-type' is set, which is now the
	default, AUTOINPUT etc will now substitute parameter types from
	submodules, bug1061.  Reported by Brad Dobbie.
	(verilog-auto-reset, verilog-backward-case-item)
	(verilog-extended-case-re, verilog-read-always-signals-recurse):
	Fix indentation of randcase, bug1072. Reported by David Rogoff.
	(verilog-read-sub-decls-expr)
	(verilog-sig-multidim-string): Fix AUTOINST ordering of dimensions
	in generated comments, bug1057. Reported by Kaushal Modi.
	(verilog-auto-wire-comment, verilog-insert-definition):
	Add `verilog-auto-wire-comment' to suppress wire comments. Reported by
	Eric Jackowski.
	(verilog-extended-complete-re): Fix indentation
	of class static functions, bug1053. Reported by Gregory
	Czajkowski.
	(verilog-module-filenames): Support tramp for
	finding verilog modules. Reported by Nevada Sanchez.

2016-11-14  Paul Eggert  <eggert@cs.ucla.edu>

	Improve case-insensitive checks (Bug#24441)

	* doc/lispref/files.texi (Truenames): Simplify documentation,
	to avoid giving too much platform-specific information that
	may not be accurate anyway.
	* src/fileio.c (file_name_case_insensitive_p): Use pathconf with
	_PC_CASE_SENSITIVE if _PC_CASE_INSENSITIVE is not available.
	Otherwise if one approach fails (e.g., with errno == EINVAL), fall
	back on an alternative rather than returning false.  Try skipping
	the Darwin code, as it (1) no longer seems to be needed and (2)
	does not seem to match the Apple documentation.  Leave in two
	alternatives conditionally compiled based on
	DARWIN_OS_CASE_SENSITIVE_FIXME in case (1) or (2) is incorrect.

2016-11-14  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation changes of connection-local variables

	* etc/NEWS: Fix last change.
	* doc/lispref/variables.texi (Connection Local Variables): Minor fixes.
	* doc/lispref/elisp.texi (Top): Update the master menu.

2016-11-14  Michael Albinus  <michael.albinus@gmx.de>

	Implement connection-local variables

	* doc/lispref/variables.texi (Connection Local Variables): New section.

	* etc/NEWS: Mention connection-local variables.

	* lisp/files-x.el (enable-connection-local-variables)
	(connection-local-variables-alist, connection-local-class-alist)
	(connection-local-criteria-alist): New defvars.
	(connection-local-get-classes)
	(connection-local-get-class-variables): New defsubst.
	(connection-local-set-classes)
	(connection-local-set-class-variables)
	(hack-connection-local-variables)
	(hack-connection-local-variables-apply): New defuns.
	(with-connection-local-classes): New defmacro.

	* lisp/net/tramp.el (tramp-set-connection-local-variables): New defun.

	* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
	* lisp/net/lisp/net/tramp-sh.el (tramp-maybe-open-connection):
	* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): Use it.

	* test/lisp/files-x-tests.el: New file.

2016-11-14  Tino Calancha  <tino.calancha@gmail.com>

	tabulated-list: extend truncation into next align-right column

	See discussion on:
	https://lists.gnu.org/archive/html/emacs-devel/2016-10/msg01101.html
	* lisp/emacs-lisp/tabulated-list.el
	(tabulated-list--near-rows): New variable.
	(tabulated-list-print, tabulated-list-set-col): Use it.
	(tabulated-list--col-local-max-widths): New defsubst.
	(tabulated-list-print-col): Use it.  If the next column is
	align-right, and has some space left then don't truncate to width,
	use some of the available space from the next column.

2016-11-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr-collect-extra-strings-in-table): Fix indentation.

	* lisp/net/shr.el (shr-tag-table): Avoid duplication of images.
	(shr-collect-extra-strings-in-table): Render images as well.

2016-11-13  Ken Brown  <kbrown@cornell.edu>

	Use the new 'file-name-case-insensitive-p' function

	* lisp/international/mule.el (auto-coding-alist-lookup):
	* lisp/files.el (file-truename):
	(abbreviate-file-name, set-auto-mode, file-relative-name):
	* package.el (package-untar-buffer): Use
	'file-name-case-insensitive-p' instead of 'system-type' to test
	case-insensitivity.

2016-11-13  Glenn Morris  <rgm@gnu.org>

	Include a systemd user unit file.  (Bug#16507)

	* etc/emacs.service: New file.
	* doc/emacs/misc.texi (Emacs Server): Mention systemcl --user.
	* Makefile.in (libdir): New, set by configure.
	(systemdunitdir): New variable.
	(install-etc, uninstall): Handle the emacs.service file.

2016-11-13  Paul Eggert  <eggert@cs.ucla.edu>

	Port --enable-gcc-warnings to Ubuntu 16.10

	* src/gmalloc.c: Include <stdlib.h>, so it declares
	hybrid_aligned_alloc (the definiens of the aligned_alloc macro),
	so that GCC doesn't complain that hybrid_aligned_alloc is
	defined without being declared.

2016-11-13  Ken Brown  <kbrown@cornell.edu>

	Silence tramp warning

	* lisp/net/tramp.el (tramp-file-name-for-operation): Add
	'file-name-case-insensitive-p' as a known file primitive.
	(Bug#24936)

2016-11-12  Ken Brown  <kbrown@cornell.edu>

	Check case-sensitivity when renaming files

	* src/fileio.c (file_name_case_insensitive_p)
	(Ffile_name_case_insensitive_p):  New functions.
	(Frename_file): Allow renames that simply change case when the
	FILE argument is on a case-insensitive filesystem.  (Bug#24441)

	* lisp/dired-aux.el (dired-do-create-files): Use
	'file-name-case-insensitive-p' instead of 'system-type' to check
	for case-insensitivity.  (Bug#24441)

	* doc/lispref/files.texi (Truenames): Document
	'file-name-case-insensitive-p'.

2016-11-12  Ken Brown  <kbrown@cornell.edu>

	Unbreak the build on Cygwin

	* configure.ac (system_malloc) [CYGWIN]: Unset.

2016-11-11  Mark Oteiza  <mvoteiza@udel.edu>

	Update chart.el

	* lisp/emacs-lisp/chart.el (chart-mode): Derive from special-mode.
	(chart-draw): Wrap in with-silent-modifications.  Instead of inserting a
	fixed number of newlines, use window-height.
	(chart-bar):
	(chart-trim): Use dolist.
	(chart-file-count): The previous implementation was buggy and missed
	extensions.  Use file-name-extension instead to detect file extensions.
	Also use dolist and cl-incf to reduce verbosity.

2016-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr--preferred-image): Add CR to whitespace regexps.
	(shr-collect-extra-strings-in-table):
	Render extra tables in an invalid html as well.

2016-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr--preferred-image): Ignore whitespace (bug#24893).

2016-11-09  Eli Zaretskii  <eliz@gnu.org>

	Resurrect 'memory-limit' on MS-Windows

	* nt/mingw-cfg.site (ac_cv_func_sbrk): Set to "yes", otherwise
	'memory-limit' will produce a trivial and useless result on Windows.

2016-11-09  Mark Oteiza  <mvoteiza@udel.edu>

	Update quickurl.el

	* lisp/net/quickurl.el (quickurl-format-function):
	(quickurl-sort-function): Use named function.
	(quickurl-list-mode-map): Remove lines that are extraneous now that the
	parent mode is special-mode.
	(quickurl-format-url, quickurl-sort-urls): New functions.
	(quickurl-read, quickurl): Use defun, as no cl-defun feature appears to
	be used.
	(quickurl-list-mode): Derive from special-mode.  Nix setting
	buffer-read-only: special-mode does that.
	(quickurl-list-populate-buffer): Use dolist instead.
	(quickurl-list-quit): Use quit-window.  It looks like this was written
	before the quit-window rewrite.  quit-window is very useful now.

2016-11-09  Michael Albinus  <michael.albinus@gmx.de>

	Refine multi-hop specs in Tramp

	* lisp/net/tramp.el (tramp-tramp-file-p): Suppress "/:" and "/c:".

	* test/lisp/net/tramp-tests.el
	(tramp-test01-file-name-syntax): Multi-hop specs don't need a
	method.  "/h:" is allowed on non MS Windows.

2016-11-08  Daniel Colascione  <dancol@dancol.org>

	Avoid infloop in python

	Fix bug#24905

	* lisp/progmodes/python.el (python-info-docstring-p): Improve
	infloop avoidance: replace (bobp) with generic test for
	forward progress.
	* test/lisp/progmodes/python-tests.el (python-bob-infloop-avoid): Add
	test for bug#24905

2016-11-08  Daniel Colascione  <dancol@dancol.org>

	Make gnus/message.el work correctly under lexical binding

	* lisp/gnus/message.el (message-send-mail): Rename `arg' to
	`_' to shut up the byte compiler.
	(sha1-maximum-internal-length, smtpmail-smtp-server)
	(smtpmail-smtp-service): add missing defvars

2016-11-08  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#24889

	* lisp/net/tramp.el (tramp-file-name-regexp): Make it a
	defvar.  Fix docstring.
	(tramp-completion-file-name-handler-alist): Fix docstring.
	(tramp-register-file-name-handlers): Reassign
	`tramp-file-name-regexp' to the car of
	`tramp-file-name-structure'.  (Bug#24889)

2016-11-08  Paul Eggert  <eggert@cs.ucla.edu>

	Port to FreeBSD 11 AMD

	Problem reported by Ashish Shukla (Bug#24892).  I tested
	this on FreeBSD 11 x86-64 with HAVE_SBRK manually undefined.
	* configure.ac (system_malloc): Set to 'yes' if there is no sbrk.
	(sbrk): Check whether it exists.
	* src/alloc.c (my_heap_start) [!GNU_LINUX]:
	Do not define, since this function is now used only on GNU/Linux,
	and sbrk might not exist on other platforms.
	(malloc_initialize_hook) [!GNU_LINUX]:
	Do not call my_heap_start, since its side effect will never be used.
	(Fmemory_limit) [!HAVE_SBRK]: Do not call sbrk.
	* src/unexelf.c (unexec) [!HAVE_SBRK]: Assume that nothing like
	sbrk exists.

2016-11-08  Paul Eggert  <eggert@cs.ucla.edu>

	Port emacsclient to FreeBSD 11 etc.

	* lib-src/emacsclient.c: Include <string.h>.  This is needed on
	platforms like FreeBSD 11 that use code involving strlen etc., and
	because <config.h> no longer includes string.h.

2016-11-07  Mark Oteiza  <mvoteiza@udel.edu>

	Prescribe history for read-regexp in query-replace

	In the fix for bug#24580, the history argument for read-regexp was
	removed erroneously; read-regexp's history argument defaults to
	regexp-history, not minibuffer-history.
	* lisp/replace.el (query-replace-read-from): Tell read-regexp to use
	minibuffer-history.  Fixes bug#24873.

2016-11-07  Mark Oteiza  <mvoteiza@udel.edu>

	Remove obsolete default-FOO variables

	* etc/NEWS: Indicate the removed variables.
	* lisp/emacs-lisp/edebug.el (edebug-outside-mark): Fix comment.
	* lisp/subr.el (default-mode-line-format, default-header-line-format):
	(default-line-spacing, default-abbrev-mode, default-ctl-arrow):
	(default-truncate-lines, default-left-margin, default-tab-width):
	(default-case-fold-search, default-left-margin-width):
	(default-right-margin-width, default-left-fringe-width):
	(default-right-fringe-width, default-fringes-outside-margins):
	(default-scroll-bar-width, default-vertical-scroll-bar):
	(default-indicate-empty-lines, default-indicate-buffer-boundaries):
	(default-fringe-indicator-alist, default-fringe-cursor-alist):
	(default-scroll-up-aggressively, default-scroll-down-aggressively):
	(default-fill-column, default-cursor-type):
	(default-cursor-in-non-selected-windows):
	(default-buffer-file-coding-system, default-major-mode):
	(default-enable-multibyte-characters): Remove obsolete declarations.
	* src/buffer.c (default-mode-line-format, default-header-line-format):
	(default-line-spacing, default-abbrev-mode, default-ctl-arrow):
	(default-truncate-lines, default-left-margin, default-tab-width):
	(default-case-fold-search, default-left-margin-width):
	(default-right-margin-width, default-left-fringe-width):
	(default-right-fringe-width, default-fringes-outside-margins):
	(default-scroll-bar-width, default-vertical-scroll-bar):
	(default-indicate-empty-lines, default-indicate-buffer-boundaries):
	(default-fringe-indicator-alist, default-fringe-cursor-alist):
	(default-scroll-up-aggressively, default-scroll-down-aggressively):
	(default-fill-column, default-cursor-type):
	(default-cursor-in-non-selected-windows):
	(default-buffer-file-coding-system, default-major-mode):
	(default-enable-multibyte-characters): Remove.
	* src/fileio.c (choose_write_coding_system): Fix comment.
	* src/lisp.h (DEFVAR_BUFFER_DEFAULTS): Remove.

2016-11-07  Eli Zaretskii  <eliz@gnu.org>

	Improve the tutorial

	* etc/tutorials/TUTORIAL: Minor copyedits.  (Bug#24890)
	* etc/tutorials/TUTORIAL.he: Follow suit.

2016-11-06  Paul Eggert  <eggert@cs.ucla.edu>

	Restore file descriptor limit in subprocesses

	Problem reported by Philipp Stephani (Bug#24869).
	* src/callproc.c (child_setup) [!DOS_NT]:
	Call restore_nofile_limit in the child.
	* src/process.c (nofile_limit) [HAVE_SETRLIMIT]: New static var.
	(restore_nofile_limit): New function.
	(init_process_emacs) [HAVE_SETRLIMIT]: Set the new var.

2016-11-06  Mark Oteiza  <mvoteiza@udel.edu>

	Remove some subr.el functions obsoleted in 22.1

	* etc/NEWS: Document removed functions.  Also mention the "face"
	variables that have been removed recently.
	* lisp/subr.el (window-dot, set-window-dot, read-input, show-buffer):
	(eval-current-buffer, string-to-int, insert-string, makehash): Remove.

2016-11-05  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer comments /* like this */ in C code

2016-11-05  Johan Bockgård  <bojohan@gnu.org>

	* lisp/subr.el (copy-tree): Handle vector in cdr. (Bug#24876)

2016-11-05  Nick Terrell  <nickrterrell@gmail.com>  (tiny change)

	Support zstd compressed files

	* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list): Add
	zstd compression info: <http://facebook.github.io/zstd/>.
	(jka-compr-mode-alist-additions): Handle .tzst suffix for zstd
	compressed tar archives.  (Bug#24853)

2016-11-05  Eli Zaretskii  <eliz@gnu.org>

	Enlarge DUMPED_HEAP_SIZE

	* src/w32heap.c (DUMPED_HEAP_SIZE) [_WIN64 || WIDE_EMACS_INT]:
	Enlarge to 21MB.  Reported by Richard Copley <rcopley@gmail.com>.

2016-11-04  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-11-03 intprops: port to older XL C
	* lib/intprops.h: Copy from gnulib.

2016-11-04  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	acae275 ; Spelling fixes
	d8fac73 Update README for precompiled windows Emacs.
	23570fd Clarify documentation of 'vc-responsible-backend' wrt symlinks
	f708cb2 Clarify doc string of 'transpose-sexps'
	cd05b1d Fix docstring of 'browse-url-firefox-new-window-is-tab'
	bdc89eb Improve documentation of 'font-lock-remove-keywords'
	4a0c590 Fix documentation of the command summary key
	0221b7a Mark relocation workarounds with REL_ALLOC

2016-11-04  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	dbb3410 python.el: Fix detection of native completion in Python 3 (bu...
	91c97b6 * Makefile.in (install-arch-indep): Skip etc/refcards/emacsve...
	9c1cb8d * lisp/subr.el (set-transient-map): Exit for unbound events (...
	9c247d2 Update category-table for Chinese characters
	43986d1 Inhibit buffer relocation during regex searches
	fee4cef Revert fixes to allocation of regex matching

2016-11-04  Mark Oteiza  <mvoteiza@udel.edu>

	Fix references to long obsoleted functions/aliases

	* doc/lispintro/emacs-list-intro.texi (Miscellaneous):
	* doc/misc/cl.texi (Conditionals):
	* doc/misc/speedbar.texi (Major Display Modes): Use string-to-number,
	not string-to-int.
	* lisp/emulation/viper.el (viper-go-away): Use major-mode, not
	default-major-mode.
	* lisp/textmodes/reftex-toc.el (reftex-toc-visit-location): show-window
	here is not a function call, but shorten the binding names anyways.
	Also, use pop-to-buffer-same-window instead of switch-to-buffer cf
	Bug#22244.
	* lisp/textmodes/sgml-mode.el (html-tag-alist): Use read-string, not
	read-input.

2016-11-04  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/emacs-lisp/pcase.el (pcase-dolist): Add a docstring.

2016-11-04  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr-collect-extra-strings-in-table) New function
	that gathers extra strings in an invalid html.  (bug#24831)
	(shr-tag-table): Use it.

2016-11-04  Vasilij Schneidermann  <v.schneidermann@gmail.com>

	Add 'x-ctrl-keysym' support on X window system

	* src/xterm.c (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers):
	Support 'x-ctrl-keysym'.
	(syms_of_xterm): DEFSYM "ctrl" and put a proper modifier-value
	property on it.
	<x-ctrl-keysym>: New DEFVAR_LISP.
	<x-alt-keysym, x-hyper-keysym, x-meta-keysym, x-super-keysym>: Doc
	fix.  (Bug#24822)

	* etc/NEWS: Mention the addition of 'x-ctrl-keysym'.

	* doc/lispref/os.texi (X11 Keysyms): Document 'x-ctrl-keysym'.

2016-11-04  Alexander Gramiak  <agrambot@gmail.com>

	Improve autoload error reporting

	* src/eval.c (Fautoload_do_load): Include the absolute file name
	in the error message.

2016-11-03  Reuben Thomas  <rrt@sc3d.org>

	Stop force parameter of whitespace-report-region having global effect

	* lisp/whitespace.el (whitespace-report-region): Force parameter
	previously changed whitespace-style globally.  Fix this, and use
	whitespace-active-style, to take account of any changes the user may
	have made.  Simplify the documentation: the force parameter simply
	forces all classes of whitespace problem to be considered.
	(Bug#24745)

2016-11-03  Reuben Thomas  <rrt@sc3d.org>

	Document use of `tab-width'

	* lisp/whitespace.el: When talking about `8 or more spaces', mention
	`tab-width' instead of 8.  (Bug#24745)

2016-11-03  Reuben Thomas  <rrt@sc3d.org>

	Make whitespace-report-region respect current settings

	* lisp/whitespace.el (whitespace-report-region): Make it respect
	whitespace-style, including any additions made by the force parameter.
	This means that the function does not return t unless a whitespace
	problem that the user cares about is reported.  (Bug#24745)

2016-11-03  Reuben Thomas  <rrt@sc3d.org>

	Fix whitespace-space-after-tab-regexp

	* lisp/whitespace.el (whitespace-space-after-tab-regexp)
	(whitespace-regexp): Match all the spaces after tabs for highlighting,
	not just the first tab-width.  Fix whitespace-space-after-tab::space
	version so that it requires at least tab-width spaces, not just 1.
	(Bug#24745)

2016-11-03  Reuben Thomas  <rrt@sc3d.org>

	Remove duplicate documentation

	* lisp/whitespace.el: Remove duplicate documentation from the Commentary
	  section which duplicate and in some places contradict (due to being
	  out of date) the docstrings (Bug#24745).

2016-11-03  Reuben Thomas  <rrt@sc3d.org>

	Fix bob/eob checks

	* lisp/whitespace.el (whitespace-empty-at-bob-regexp)
	(whitespace-empty-at-eob-regexp, whitespace-cleanup): Make `empty' checks
	work at beginning & end of buffer in whitespace-report-region, and only
	there (i.e. they will never match in regions that don't include the
	start or end of the buffer).  (Bug#24745)

2016-11-03  Tino Calancha  <tino.calancha@gmail.com>

	(thing-at-point 'list) return nil if no list at point

	* lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point):
	Check first if we are at the beginning of a top-level sexp (Bug#24627).
	If point is inside a comment or string, look for a list out of the
	comment/string.
	Escape '[' in doc string.
	* test/lisp/thingatpt-tests.el (thing-at-point-bug24627): Update
	expected test result as pass.

2016-11-02  Mark Oteiza  <mvoteiza@udel.edu>

	Remove antlr face aliases obsoleted in 22.1

	* lisp/progmodes/antlr-mode.el: Remove obsolete aliases
	(antlr-default-face, antlr-keyword-face, antlr-syntax-face):
	(antlr-ruledef-face, antlr-tokendef-face, antlr-ruleref-face):
	(antlr-tokenref-face, antlr-literal-face):
	(antlr-literal-face): Remove.
	(antlr-font-lock-additional-keywords): Use face symbols instead.

2016-11-02  Daniel Colascione  <dancol@dancol.org>

	Revert "Disable bracketed paste in a terminal in char mode"

	This change causes regressions, and besides, disabling BPM frame-wide
	for the sake of one buffer is the wrong solution.

	This reverts commit cf566b46a6cf85c6d54d0b0db80e32ed6ae8d1ca.

2016-11-02  Mark Oteiza  <mvoteiza@udel.edu>

	Revert change to eww-suggest-uris

	The introduced append is ugly and can yield '(nil); doing delq on it
	would be hacks on hacks.
	* lisp/net/eww.el: Require cl-lib at run time.
	(eww-suggest-uris): Restore eww-current-url, reverting previous change.
	(eww): Remove erroneous append.
	(eww-open-in-new-buffer): Check if the return from eww-suggested-uris is
	equal to eww-current-url, which is nil anyways if we are not in an EWW
	buffer.

2016-11-02  Mark Oteiza  <mvoteiza@udel.edu>

	Add eww-open-in-new-buffer to EWW

	* doc/misc/eww.texi (Basic): Document new command and key.
	* etc/NEWS: Mention new key and its purpose.
	* lisp/net/eww.el (eww-suggest-uris): Remove eww-current-url.
	(eww): Append (eww-current-url) to the prompt defaults.
	(eww-open-in-new-buffer): New command.
	(eww-mode-map): Bind it and add a menu item.

2016-11-02  Mark Oteiza  <mvoteiza@udel.edu>

	Migrate auth-source to cl-lib

	* lisp/auth-source.el: Use cl-lib.
	(auth-source-read-char-choice, auth-source-backend-parse-parameters):
	(auth-source-search): Replace cl calls with cl-lib ones.
	(auth-source-netrc-cache):
	(auth-source-forget+): Use cl-do-symbols instead.
	(auth-source-specmatchp, auth-source-netrc-parse):
	(auth-source-netrc-search, auth-source-netrc-create):
	(auth-source-netrc-saver, auth-source-secrets-listify-pattern):
	(auth-source-secrets-search, auth-source-secrets-create):
	(auth-source-macos-keychain-search, auth-source--decode-octal-string):
	(auth-source-macos-keychain-search-items, auth-source-plstore-search):
	(auth-source-plstore-create): Replace cl calls with cl-lib ones.

2016-11-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't segfault on timed-out TLS connections

	* src/process.c (finish_after_tls_connection): Check that the
	file descriptor is still alive before proceeding (bug#24811).
	Also clean up the code slightly.

2016-11-01  Eli Zaretskii  <eliz@gnu.org>

	Support 'TARGETS' in clipboard selections on MS-Windows

	* src/w32select.c (Fw32_selection_targets): New function.

	* lisp/term/w32-win.el (w32--get-selection): Call
	'w32-selection-targets' to obtain the list of data formats
	available in the clipboard.

2016-11-01  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Fix documentation for 'eudc-options-file'

	* doc/misc/eudc.texi (The Server Hotlist): Update the default
	value of 'eudc-options-file'.

2016-11-01  Tibor Csögör  <tibi@tiborius.net>

	Fix documentation of 'eudc-inline-expansion-format'

	* doc/misc/eudc.texi (Inline Query Expansion): Fix the default value of
	'eudc-inline-expansion-format'. (Bug#24840)

2016-10-31  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on lexical-binding in some more libs

	* lisp/calendar/icalendar.el:
	* lisp/emacs-lisp/regexp-opt.el:
	* lisp/emacs-lisp/timer.el:
	* lisp/gnus/message.el:
	* lisp/hex-util.el: Turn on lexical-binding.

2016-10-31  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on lexical-binding in some net libs

	* lisp/net/dbus.el: Turn on lexical-binding.
	(dbus-list-hash-table, dbus-list-known-names):
	(dbus-introspect-get-node-names, dbus-introspect-get-interface-names):
	(dbus-introspect-get-method-names, dbus-introspect-get-signal-names):
	(dbus-introspect-get-property-names):
	(dbus-introspect-get-argument-names, dbus-get-all-properties):
	(dbus-property-handler, dbus-get-all-managed-objects):
	(dbus-managed-object-handler): Replace add-to-list with push. Add
	nreverse in some places where the APPEND argument of add-to-list was
	used.
	* lisp/net/network-stream.el: Turn on lexical-binding.
	* lisp/net/newsticker.el: Turn on lexical-binding.
	* lisp/net/shr.el: Turn on lexical-binding.
	(shr-make-placeholder-image): Remove unused variable binding.
	(shr-inspect-table): Replace ignored bindings with underscore.

2016-10-31  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on lexical-binding in some url libs

	* lisp/url/url-auth.el:
	* lisp/url/url-expand.el:
	* lisp/url/url-future.el:
	* lisp/url/url-parse.el:
	* lisp/url/url-util.el: Turn on lexical-binding.

2016-10-31  Johan Bockgård  <bojohan@gnu.org>

	* lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet): Fix debug spec

	(Bug#24733)

2016-10-30  Alan Mackenzie  <acm@muc.de>

	Handle chars of syntax word which are also flagged as comment delimiters

	src/syntax.c (scan_sexps_forward): When chars of syntax word are also flagged
	as the start/end of two char comment delimiters, recognize a comment delimiter
	in preference to a portion of a word.  This fixes bug #24767.

2016-10-29  Daniel Colascione  <dancol@dancol.org>

	Speed up initialization by preferring /dev/urandom to GnuTLS

	* src/sysdep.c (init_random): Try /dev/urandom before GnuTLS.

2016-10-29  José L. Doménech  <domenechjosel@gmail.com>

	Quote file names in dired compression commands

	* lisp/dired-aux.el (dired-do-compress-to): Change the string
	used as shell command for compression by quoting the filenames
	used for input and output (Bug #24620).

2016-10-29  Eli Zaretskii  <eliz@gnu.org>

	Avoid errors in posn-at-point for large images

	* src/keyboard.c (Fposn_at_point): If pos-visible-in-window-p
	returns a 6-member list for a partially visible glyph, pass the
	sum of Y and RTOP to posn-at-x-y, since that's where the visible
	portion of that glyph begins on display.  (Bug#24804)  (Bug#21832)
	(Bug#23809)

2016-10-29  Eli Zaretskii  <eliz@gnu.org>

	Unbreak MS-Windows build

	* src/w32term.c (XCreateGC): Second argument is now HWND, and its
	name is "wignore".
	(x_set_cursor_gc, x_set_mouse_face_gc)
	(x_draw_glyph_string_background, x_draw_glyph_string_bg_rect)
	(x_draw_image_glyph_string, x_draw_stretch_glyph_string): Don't
	use s->window, which doesn't exist anymore.

	* src/w32term.h (XCreateGC): Adjust prototype.

2016-10-28  Daniel Colascione  <dancol@dancol.org>

	Add double-buffering support to reduce flicker

	* src/dispextern.h (struct glyph_string): Remove window member
	(block_buffer_flips, unblock_buffer_flips)
	(buffer_flipping_blocked_p): Declare.

	* src/xterm.h (struct x_display_info): New member supports_xdbe.
	(struct x_output): New members draw_desc and need_buffer_flip.
	(FRAME_X_DRAWABLE, FRAME_X_RAW_DRAWABLE)
	(FRAME_X_DOUBLE_BUFFERED_P)
	(FRAME_X_NEED_BUFFER_FLIP): New macros.
	(set_up_x_back_buffer, tear_down_x_back_buffer)
	(initial_set_up_x_back_buffer): Declare.

	* src/xterm.c: Include Xdbe.h.
	(x_begin_cr_clip, x_fill_rectangle, x_draw_rectangle)
	(x_draw_vertical_window_border, x_update_end)
	(x_setup_relief_color, x_draw_relief_rect)
	(x_draw_fringe_bitmap, x_shift_glyphs_for_insert)
	(x_scroll_run, x_draw_hollow_cursor, x_draw_bar_cursor): Use
	FRAME_X_DRAWABLE instead of FRAME_X_WINDOW; rename local
	variables appropriately; substitute calls to XClearArea with
	x_clear_area, which DTRT for double buffering.
	(x_clear_window, x_clear_area): In double-buffering mode, use
	rect-drawing X functions instead of XClearWindow and
	XClearArea, which always operate on the front buffer.
	(show_back_buffer): New function.
	(XTframe_up_to_date): Call show_back_buffer when done.
	(x_clear_frame, x_clear_frame_area): Remove obsolete calls to
	gtk_widget_queue_draw to refresh scroll bars; scroll bars are
	now independent X windows.
	(handle_one_xevent): Call font_drop_xrender_surfaces when
	XftDraw might need regenerating; perform buffer flip when
	responding to Expose events; issue front-buffer clearing
	commands as stopgap while we wait for redisplay.
	Call flush_dirty_back_buffers.
	(x_make_frame_visible): Un-bitrot comment; move XSETFRAME
	earlier in function.
	(x_free_frame_resources): Call tear_down_x_back_buffer when
	destroying frame.
	(x_term_init): Attempt to initialize double buffer extension.
	(x_flip_and_flush): New function.
	(x_redisplay_interface): Point to x_flip_and_flush instead of
	x_flip directly.
	(flush_dirty_back_buffers): New function.
	(x_create_terminal): Register buffer_flipping_unblocked_hook.

	* src/xftfont.c (xftfont_drop_xrender_surfaces): Use
	FRAME_X_DRAWABLE instead of FRAME_X_WINDOW.
	(xftfont_draw): Call x_mark_frame_dirty.
	(xftfont_drop_xrender_surfaces): New function.
	(syms_of_xftfont): Register it.

	* src/xfont.c (xfont_draw): Use FRAME_X_DRAWABLE instead of
	FRAME_X_WINDOW.

	* src/xfns.c: Include Xdbe.h.
	(x_set_inhibit_double_buffering, set_up_x_back_buffer)
	(Fx_double_buffered_p): New functions.
	(x_window): Call initial_set_up_x_back_buffer.
	(x_make_gc): Use FRAME_X_DRAWABLE instead of FRAME_X_WINDOW.
	(Fx_create_frame): Configure `inhibit-double-buffering'
	frame parameter.
	(x_create_tip_frame): Call initial_set_up_x_back_buffer.
	(x_frame_parm_handlers): Register
	x_set_inhibit_double_buffering.
	(syms_of_xfns): Register Sx_double_buffered_p.
	(x_mark_frame_dirty): Define.

	* src/xfaces.c (x_create_gc): Use FRAME_X_DRAWABLE instead of
	FRAME_X_WINDOW.

	* src/xdisp.c (remember_mouse_glyph, init_glyph_string): Use
	FRAME_X_DRAWABLE instead of FRAME_X_WINDOW.
	(redisplay_internal): Restart redisplay if a frame is garbaged
	during updating; explain why. Block buffer flips
	during redisplay.
	(redisplay_preserve_echo_area): Block buffer flip during call
	to redisplay_internal.
	(buffer_flip_blocked_depth): New variable.
	(block_buffer_flips, unblock_buffer_flips)
	(buffer_flipping_blocked_p): New functions.
	(init_glyph_string): Stop setting window member of struct
	glyph_string.

	* src/w32fns.c (w32_frame_parm_handlers): Add placeholder for
	x_set_inhibit_double_buffering.

	* src/termhooks.h (struct terminal): Add
	buffer_flipping_unblocked_hook.

	* src/nsfns.m (ns_frame_parm_handlers): Add placeholder for
	x_set_inhibit_double_buffering.

	* src/image.c (x_create_bitmap_from_data)
	(x_create_bitmap_from_file, x_create_x_image_and_pixmap)
	(Create_Pixmap_From_Bitmap_Data)
	(x_create_bitmap_from_xpm_data, xpm_load, gs_load): Use
	FRAME_X_DRAWABLE instead of FRAME_X_WINDOW; rename local
	variables appropriately.

	* src/gtkutil.c: Include Xdbe.h.
	(xg_get_widget_from_map): Forward declare.
	(xg_clear_under_internal_border): Remove obsolete calls to
	refresh scroll bars.
	(xg_create_frame_widgets): Call initial_set_up_x_back_buffer.
	(xg_free_frame_widgets): Call tear_down_x_back_buffer; reset
	FRAME_X_DRAWABLE as well as FRAME_X_WINDOW and for the
	same reason.
	(xg_set_background_color): Set scroll bar background colors.
	(xg_finish_scroll_bar_creation): New function with common
	logic of xg_create_scroll_bar, xg_create_horizontal_scroll_bar. Force
	scroll bars to be real X11 windows.
	(xg_create_scroll_bar, xg_create_horizontal_scroll_bar): Call
	xg_finish_scroll_bar_creation.
	(xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
	Remove obsolete calls to refresh scroll bars; fix comments.

	* src/ftxfont.c (ftxfont_get_gcs, ftxfont_draw_bitmap,
	(ftxfont_draw_background): Use FRAME_X_DRAWABLE instead of
	FRAME_X_WINDOW.

	* src/frame.c (frame_parms): Add table entry for new
	`inhibit-double-buffering' frame parameter
	(syms_of_frame): Register Qinhibit_double_buffering.

	* src/font.h (struct font_driver): Add new `flush_frame_caches' hook.
	(font_drop_xrender_surfaces): Declare.

	* src/font.c (font_drop_xrender_surfaces): New function.

	* src/Makefile.in (XDBE_LIBS, XDBE_CFLAGS): Substitute.

	* etc/NEWS: Mention use of double buffering

	* doc/lispref/frames.texi (Management Parameters): Document
	`inhibit-double-buffering' frame parameters.
	(Visibility of Frames): Document `x-double-buffered-p'.

	* configure.ac: Check for the X double buffer extension

2016-10-28  Michael Albinus  <michael.albinus@gmx.de>

	Improve result of `auth-source-search' in Tramp

	* lisp/net/tramp.el (tramp-read-passwd): Require :secret and
	:user in result of `auth-source-search'.

2016-10-27  Mark Oteiza  <mvoteiza@udel.edu>

	Fix avl-tree alias docstrings

	* lisp/emacs-lisp/avl-tree.el (avl-tree--node-branch):
	(avl-tree-stack-p, avl-tree-create):
	(avl-tree-compare-function): Add calling convention to docstrings.

2016-10-27  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-10-16 qsort_r: Fix macrology for platforms that lack the function.
	2016-10-13 stdint: port SIZE_MAX to glibc s390
	2016-10-11 maint: remove stray space after "." in AC_DEFINE comment.
	* lib/gnulib.mk: Regenerate.
	* lib/stdlib.in.h, m4/st_dm_mode.m4, m4/stdint.m4, m4/stdlib_h.m4:
	* m4/utimes.m4: Copy from gnulib.

2016-10-27  Paul Eggert  <eggert@cs.ucla.edu>

	electric-quote-chars fixups

	* lisp/electric.el (electric-quote-chars): Check types and safety
	more carefully.
	(electric-quote-post-self-insert-function): Use more-mnemonic locals.
	Omit no-longer-necessary runtime error diagnostic.

2016-10-27  Göktuğ Kayaalp  <self@gkayaalp.com>

	New user variable 'electric-quote-chars'

	* doc/emacs/text.texi (Quotation Marks), etc/NEWS: Document this.
	* lisp/electric.el (electric-quote-chars): New defcustom.
	(electric-quote-post-self-insert-function): Use it.

2016-10-27  Tino Calancha  <tino.calancha@gmail.com>

	Add more tests for Bug#24627

	* test/lisp/thingatpt-tests.el (thing-at-point-bug24627):
	Add tests for 'list-at-point'.

2016-10-26  Filipp Gunbin  <fgunbin@fastmail.fm>

	* lisp/shell.el (shell--unquote&requote-argument): Match data misuse

	* lisp/shell.el (shell--unquote&requote-argument): Fix
	off-by-one thinko.  Don't use match data after a failed string-match.

2016-10-25  Paul Eggert  <eggert@cs.ucla.edu>

	* src/xwidget.c (webkit_js_to_lisp): Now static.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Map "previous-line" and "next-line" to scroll

	* lisp/xwidget.el: Map "previous-line" and "next-line" to scrolling
	procedures.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Bind "beginning-of-buffer" and "end-of-buffer"

	* lisp/xwidget.el: Rebind "beginning-of-buffer" and "end-of-buffer" to
	"xwidget-webkit-scroll-top" and "xwidget-webkit-scroll-bottom",
	respectively.
	(xwidget-webkit-scroll-top,
	xwidget-webkit-scroll-bottom): New procedures.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	Implement zoom for WebKit widget.

	* src/xwidget.c (xwidget-webkit-zoom): New procedure.
	* lisp/xwidget.el: Bind "+" and "-" to zoom in and out, respectively.
	(xwidget-webkit-zoom): Declare procedure.
	(xwidget-webkit-zoom-in, xwidget-webkit-zoom-out): New procedures.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	Dynamically resize WebKit widget.

	* lisp/xwidget.el (xwidget-webkit-auto-adjust-size,
	xwidget-webkit-adjust-size-in-frame): New procedures.
	(xwidget-webkit-new-session): Remove hint to resize widget with `a'.
	(xwidget-webkit-adjust-size-dispatch): Resize current webkit widget.
	(xwidget-webkit-adjust-size-to-window): Make non-interactive,
	add widget and window as arguments.
	(xwidget-webkit-callback): Use xwidget-webkit-adjust-size-to-window.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	Let initial WebKit view fill window

	* lisp/xwidget.el (xwidget-webkit-new-session): Change default size of
	WebKit widget to window size.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Remove title hack.

	* src/xwidget.c (xwidget-webkit-get-title): Remove procedure.
	* lisp/xwidget.el (xwidget-webkit-get-title,
	xwidget-webkit-execute-script-rv): Remove procedures.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Get URL asynchronously.

	* lisp/xwidget.el (xwidget-webkit-current-url): Kill URL in callback.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Get selection with asynchronous JavaScript

	* lisp/xwidget.el (xwidget-webkit-get-selection): Add PROC argument to
	process selection.
	(xwidget-webkit-copy-selection-as-kill): Kill selection in callback.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Add function to find element by CSS selector

	* lisp/xwidget.el (xwidget-webkit-show-element): New procedure.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Simplify functions to scroll to elements

	* lisp/xwidget.el (xwidget-webkit-show-named-element,
	xwidget-webkit-show-id-element,
	xwidget-webkit-show-id-or-named-element): Simplify functions by
	scrolling exclusively with JavaScript.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Get title via asynchronous JavaScript.

	* lisp/xwidget.el (xwidget-webkit-callback): Get document title
	asynchronously.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Do not use `xwidget-execute-script-rv' to insert string

	* lisp/xwidget.el (xwidget-webkit-insert-string): Obtain JavaScript
	return value via callback instead of using
	`xwidget-webkit-execute-script-rv'.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	Remove scrolled window container around WebKit widget

	The WebKit widget can scroll on its own and does not need to wrapped
	with a scrolled window container.

	* src/xwidget.h: Remove struct member widgetscrolledwindow_osr.
	* src/xwidget.c: Remove widgetscrolledwindow_osr.
	(xwidget-set-adjustment): Remove.
	(xwidget-resize): Resize Webkit widget last.
	* lisp/xwidget.el (xwidget-set-adjustment): Remove.
	(xwidget-webkit-scroll-up, xwidget-webkit-scroll-down,
	xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward):
	Implement scrolling via JavaScript.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Pass JavaScript return value to optional callback procedure

	* lisp/xwidget.el (xwidget-webkit-execute-script): Accept optional
	callback argument.
	(xwidget-webkit-callback): Handle "javascript-callback" event type.
	* src/xwidget.c (xwidget-webkit-execute-script): Accept optional
	argument FUN, a Lisp procedure to execute on the JavaScript return
	value.
	(store_xwidget_js_callback_event, webkit_javascript_finished_cb,
	webkit_js_to_lisp): New procedures.

2016-10-25  Ricardo Wurmus  <rekado@elephly.net>

	xwidget: Use WebKit2 API

	* configure.ac: Check for webkit2gtk-4.0.
	* src/xwidget.c: Adjust to use WebKit2 API.
	* lisp/xwidget.el (xwidget-webkit-callback): Adjust matches for
	`xwidget-event-type'.

2016-10-25  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	4c3f738 Comment for bug#24793

2016-10-25  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	96ac0c3 Yet another fix for using pointers into buffer text
	1047496 Another fix for using pointer to buffer text
	3121992 Fix Bug#24478

2016-10-25  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	ee04aed Fix handling of buffer relocation in regex.c functions
	71ca4f6 Avoid relocating buffers while libxml2 reads its text
	1b3fc8a ; Remove redundant code in gmalloc.c
	9afea93 Attempt to catch reads from a buffer that is relocated

2016-10-25  Nicolas Petton  <nicolas@petton.fr>

	Minor fix in the documentation of seq-random-elt

	* doc/lispref/sequences.texi (Sequence Functions): Remove false
	  sentence.

2016-10-25  Eli Zaretskii  <eliz@gnu.org>

	Minor copyedits in documentation of 'seq-random-elt'

	* doc/lispref/sequences.texi (Sequence Functions): Fix markup in
	last change.  Use 2 spaces between sentences.

2016-10-25  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq-random-elt): Fix docstring.

2016-10-25  Damien Cassou  <damien@cassou.me>

	Add seq-random-elt to seq.el

	* lisp/emacs-lisp/seq.el (seq-random-elt): Add function to return a
	  random element from it's sequence parameter.

	* test/lisp/emacs-lisp/seq-tests.el (test-seq-random-elt-take-all
	  test-seq-random-elt-return-nil): Test the new function

	* doc/lispref/sequences.texi: Document the new function

2016-10-24  Ken Brown  <kbrown@cornell.edu>

	* configure.ac: Stop using mmap for buffers on Cygwin.

2016-10-24  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq-let): Fix debug spec (Bug#24738)

2016-10-24  Karl Chen  <Karl.Chen@quarl.org>

	Don't prompt user when killing Flymake processes

	* lisp/progmodes/flymake.el (flymake-start-syntax-check-process):
	Don’t prompt the user when killing Flymake processes.

	* doc/misc/flymake.texi (Starting the syntax check process):
	Document new behavior.

2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>

	* src/regex.c (re_search_2): Use UNINIT, not IF_LINT.

	This finishes the merge of the recent emacs-25 regex changes into
	master.

2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	50fa7d6 ;* src/w32heap.c: Fix typo and wording of the comments.
	6f1325e electric-quote mode no longer worries about coding
	c2a1792 * src/regex.c (re_search_2): Make new code safe for -Wjump-mi...
	f6134bb Port to GCC 6.2.1 + --enable-gcc-warnings
	b2ba630 Explain how to debug emacsclient lisp errors
	9da53e2 Let describe-function work for lambda again
	5c2da93 Fix kill-line's docstring
	ad66b3f Fix handling of allocation in regex matching
	5a26c9b * lisp/electric.el (electric-quote-mode): Improve doc (Bug#24...
	3877c91 vc-region-history: Search just on lines intersecting the region
	8988327 Fix documentation of 'alist-get'
	b6998ea * src/regex.h (re_match_object): Improve commentary.

	# Conflicts:
	#	etc/NEWS
	#	lisp/help-fns.el

2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	8ad0d7d ; Fix quoting in etc/NEWS
	6b9dee1 Change Tramp version to "2.2.13.25.2"
	62f2684 * lisp/emacs-lisp/autoload.el (update-directory-autoloads): F...
	b2f32e4 Don't scan compiled module files for autoloads
	9a758b4 Fix Bug#24698
	baa8ba4 * lisp/subr.el (start-process): Doc fix.  (Bug#24693)
	e535ca4 Fix display of vc-dir CVS file statuses in subdirectories
	12da149 Update URL of MS-Windows optional DLLs
	2331056 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac...
	a4285bc * lisp/simple.el (process-menu-mode, list-processes--refresh)...
	b0c447e * lisp/ibuf-ext.el (ibuffer-do-shell-command-file): Fix non-f...
	cf3c19b * lisp/ibuffer.el (ibuffer): Improve 'other-window' case.  (B...

	# Conflicts:
	#	doc/misc/trampver.texi
	#	etc/NEWS
	#	lisp/net/tramp-sh.el
	#	lisp/net/trampver.el

2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	b73f466 * lisp/cus-start.el (exec-path): Handle nil elements.  (Bug#2...
	55ebb70 Catch the imenu-unavailable error in sh-mode completion table
	993acb5 ; Minor fix for last change in characters.el
	30c4bb5 More char-width fixes
	4eb4463 Fix char-width-table values for some Emoji
	528997d Keep point when switching from and to *terminal* buffer
	2130005 * INSTALL: Use correct Emacs release number 25.
	10835b1 Avoid crashes due to objects read with the #n=object form
	4de671d Improve doc string of 'completion-at-point-functions'
	ceb46f0 Fix crash in evaluating functions
	d8374c4 * src/filelock.c (current_lock_owner): Update comment.

2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	2deb20c Port last_marked change to full-program optimizers
	27eb668 Adapt GDB scripts to '--enable-check-lisp-object-type' builds
	dac64e3 Avoid optimizing out the last_marked[] array

2016-10-22  Noam Postavsky  <npostavs@gmail.com>

	Avoid infinite hscrolling in redisplay

	* src/xdisp.c (redisplay_internal): Add a counter to avoid horizontal
	scrolling (e.g., caused by pre-redisplay-functions) triggering infinite
	redisplay (Bug #24633).

2016-10-22  Michael Albinus  <michael.albinus@gmx.de>

	Fix error codes in Tramp

	* lisp/net/tramp-compat.el (tramp-compat-user-error): New defsubst,
	taken from tramp.el.
	(tramp-file-missing): New defconst.

	* lisp/net/tramp.el (tramp-user-error): Remove it.
	(tramp-check-proper-method-and-host)
	(tramp-dissect-file-name, tramp-debug-message)
	(tramp-handle-shell-command):
	* lisp/net/tramp-adb.el (tramp-adb-handle-shell-command):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler):
	Use `tramp-compat-user-error'.

	* lisp/net/tramp.el (tramp-handle-insert-file-contents)
	(tramp-handle-load):
	* lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-local-copy)
	* lisp/net/tramp-sh.el (tramp-sh-handle-file-local-copy):
	* lisp/net/tramp-smb.el (tramp-smb-handle-file-local-copy):
	Use `tramp-file-missing'.  (Bug#24714)

	* lisp/net/tramp-sh.el (tramp-sh-handle-add-name-to-file):
	* lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
	Use `file-already-exists'.

2016-10-22  Jorgen Schaefer  <contact@jorgenschaefer.de>

	Autoload all commands from misc.el

	Only two of the commands there were autoloaded, one of which is an
	easter egg.
	* lisp/miscl.el (copy-from-above-command):
	* lisp/miscl.el (zap-up-to-char):
	* lisp/miscl.el (mark-beginning-of-buffer):
	* lisp/miscl.el (mark-end-of-buffer):
	* lisp/miscl.el (upcase-char):
	* lisp/miscl.el (forward-to-word):
	* lisp/miscl.el (backward-to-word):
	Add autoload cookie.

2016-10-22  Martin Rudalics  <rudalics@gmx.at>

	On terminal frames ignore minibuffer frame parameter (Bug#24758)

	* src/frame.c (Fmake_terminal_frame): Don't complain when the
	caller asks for a deviant minibuffer setting (Bug#24758).

2016-10-21  Paul Eggert  <eggert@cs.ucla.edu>

	New error file-missing

	This fixes a recently-introduced bug in delete-directory,
	where the code assumes the C locale when determining
	whether a file-error corresponds to a missing file (Bug#24714).
	* doc/lispref/errors.texi (Standard Errors):
	* doc/lispref/files.texi (Changing Files):
	* etc/NEWS:
	Document this.
	* doc/lispref/loading.texi (How Programs Do Loading):
	Say "a file-error" rather than "the error file-error" since
	it might be a file-missing now.
	* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
	* lisp/epa-file.el (epa-file--find-file-not-found-function):
	(epa-file-insert-file-contents, epa-file-write-region):
	* lisp/ffap.el (find-file-at-point, dired-at-point):
	* lisp/jka-compr.el (jka-compr-insert-file-contents)
	(jka-compr-insert-file-contents):
	* lisp/net/ange-ftp.el (ange-ftp-barf-if-not-directory)
	(ange-ftp-insert-file-contents, ange-ftp-copy-file-internal):
	* lisp/progmodes/etags.el (visit-tags-table):
	* lisp/url/url-handlers.el (url-copy-file):
	* src/fileio.c (report_file_errno):
	Signal file-missing if appropriate.
	* lisp/epa-file.el (epa-file-insert-file-contents):
	* lisp/jka-compr.el (jka-compr-insert-file-contents):
	Don't assume file-error is a leaf in the error hierarchy.
	* lisp/files.el (files--force):
	* lisp/gnus/nnmaildir.el (nnmaildir--enoent-p):
	* lisp/jka-compr.el (jka-compr-insert-file-contents):
	Use file-missing to detect whether the file is missing.
	* lisp/url/url-handlers.el (url-copy-file):
	Signal file-already-exists if appropriate.
	* src/fileio.c (syms_of_fileio): Define file-missing.

	2016-10-18  Paul Eggert  <eggert@cs.ucla.edu>

2016-10-21  Mark Oteiza  <mvoteiza@udel.edu>

	Teach browse-url to open man page urls

	* lisp/net/browse-url.el (browse-url-man-function): New custom option.
	(browse-url): Add a condition to catch links matching "^man:".
	(browse-url-man): New function.

2016-10-21  Eli Zaretskii  <eliz@gnu.org>

	Improve fontification of footnote references in Info buffers

	* lisp/info.el (Info-fontify-node): Don't fontify random numbers
	in parentheses as if they were footnote references.  See
	https://lists.gnu.org/archive/html/bug-texinfo/2016-10/msg00007.html
	for the details.

2016-10-20  Philipp Stephani  <phst@google.com>

	Minor fixes to cc-mode-tests.el

	See Bug#24747.

	* progmodes/cc-mode-tests.el: Rename from cc-mode.el; fix typo in
	file-local variable; add comments to make checkdoc happy.

2016-10-20  Michael Albinus  <michael.albinus@gmx.de>

	* etc/NEWS: Fix typos.  Remove entries backported to Emacs 25.2.

2016-10-20  Michael Albinus  <michael.albinus@gmx.de>

	Document, how to suppress iTerm2 shell integration in Tramp

	* doc/misc/tramp.texi (Frequently Asked Questions):
	Suppress iTerm2 shell integration.

2016-10-20  Tino Calancha  <tino.calancha@gmail.com>

	cl-seq: Remove max limit on input sequence length

	* lisp/emacs-lisp/cl-seq.el (cl-fill, cl-replace, cl-delete)
	(cl--position, cl-nsubstitute, cl-substitute, cl-remove):
	Remove limit on maximum length for the input sequence
	(#Bug24264).
	* test/lisp/emacs-lisp/cl-seq-tests.el: Update test expected result as passed.

2016-10-19  Mark Oteiza  <mvoteiza@udel.edu>

	Derive dig-mode from special-mode

	* lisp/net/dig.el: Remove unused cl dependency.  Remove top level
	mode-class assignment.
	(dig-mode-map): Unmap g, as dig has no notion of reverting the buffer.
	(dig-mode): Derive from special-mode.
	(dig-exit): Use quit-window instead.
	(dig): Use pop-to-buffer-same-window.  Remove redundant assignments.
	(query-dig): Use pop-to-buffer-same-window.

2016-10-18  Johan Bockgård  <bojohan@gnu.org>

	cl-defstruct: Fix debug spec and check of slot options

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Improve checking of slot
	option syntax.  Fix debug spec.  (Bug#24700)

2016-10-18  Johan Bockgård  <bojohan@gnu.org>

	isearch: Fix bug in defstruct syntax

	* lisp/isearch.el (isearch--state): Use correct form of defstruct slot
	options.  (Bug#24685)

2016-10-18  Mark Oteiza  <mvoteiza@udel.edu>

	Add an option for eshell-input-filter

	* etc/NEWS: Document changes.
	* lisp/eshell/em-hist.el (eshell-input-filter): Set value to function
	symbol.  Change type to a radio for choosing functions.  Refer to both
	new functions.
	(eshell-input-filter-default): New function.  Same body as the previous
	value of eshell-input-filter.
	(eshell-input-filter-initial-space): New function.

2016-10-18  Paul Eggert  <eggert@cs.ucla.edu>

	delete-directory no longer errors when racing

	Problem reported by Glenn Morris for package-test.el (Bug#24714).
	* doc/lispref/files.texi (Create/Delete Dirs), etc/NEWS: Document this.
	* lisp/files.el (files--force): New function.
	(delete-directory): Use it to avoid error in this case.

2016-10-17  Yuri Khan  <yuri.v.khan@gmail.com>  (tiny change)

	Support Shift selection in nxml-mode commands

	* lisp/nxml/nxml-mode.el (nxml-forward-balanced-item)
	(nxml-up-element, nxml-backward-up-element, nxml-down-element)
	(nxml-backward-down-element, nxml-forward-element)
	(nxml-backward-element, nxml-forward-paragraph)
	(nxml-backward-paragraph): Use "^p" as the interactive spec, to
	support shift-selection.

2016-10-17  Mark Oteiza  <mvoteiza@udel.edu>

	Simplify some loops and cons

	* lisp/net/mailcap.el: Replace cl with cl-lib.
	(mailcap--get-user-mime-data, mailcap--set-user-mime-data):
	(mailcap-parse-mailcaps, mailcap-parse-mailcap-extras):
	(mailcap-possible-viewers): Use push and dolist where possible.
	(mailcap-viewer-passes-test): Remove unused binding.
	(mailcap-add-mailcap-entry): Use push.
	(mailcap-mime-info): Remove unused binding.  Use push.
	(mailcap-parse-mimetypes): Use dolist.

2016-10-17  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on lexical-binding in auth-source

	* lisp/auth-source.el: Turn on lexical-binding.
	(auth-source-netrc-parse, auth-source-netrc-normalize):
	(auth-source-token-passphrase-callback-function):
	(auth-source-netrc-create, auth-source-secrets-search):
	(auth-source-macos-keychain-search-items):
	(auth-source-plstore-search): Use let instead of lexical-let.

2016-10-17  Martin Rudalics  <rudalics@gmx.at>

	Fix frame focus redirection with shared minibuffer windows (Bug#24500)

	* src/frame.c (do_switch_frame): Redirect frame focus also when
	the frame switched to has its minibuffer window on the selected
	frame.
	* src/window.c (candidate_window_p): To qualify as candidate
	it's not sufficient for the window's frame to just share the
	minibuffer window - it must be active as well.

2016-10-17  Eli Zaretskii  <eliz@gnu.org>

	Fix time-related data types in 2 editfns.c functions

	* src/editfns.c (format_time_string, Fcurrent_time_zone): Pass a
	pointer to 'time_t' value to 'emacs_localtime_rz' and 'gmtime_r',
	instead of relying on struct timespec's 'tv_sec' member to be of
	compatible type.

2016-10-16  Martin Rudalics  <rudalics@gmx.at>

	Document atomic windows in Elisp manual (Bug#18170)

	* lisp/window.el (display-buffer-in-atom-window): If no `side'
	alist entry was specified, use `below' as the doc tells.
	* doc/lispref/elisp.texi (Atomic Windows): Add menu entry.
	* doc/lispref/windows.texi (Atomic Windows): New section.
	(Window Parameters): Update reference.

2016-10-16  Paul Eggert  <eggert@cs.ucla.edu>

	New face homoglyph

	Suggested by Eli Zaretskii, from a feature request by
	Alan Mackenzie (Bug#24468).
	* doc/emacs/display.texi (Standard Faces, Text Display):
	* etc/NEWS: Document this.
	* etc/themes/dichromacy-theme.el, etc/themes/leuven-theme.el:
	* etc/themes/light-blue-theme.el, etc/themes/manoj-dark-theme.el:
	* etc/themes/tango-dark-theme.el, etc/themes/tango-theme.el:
	* etc/themes/wombat-theme.el:
	Customize homoglyph to be the same as escape-glyph.
	* lisp/cus-theme.el (custom-theme--listed-faces):
	Add homoglyph.
	* lisp/faces.el (homoglyph): New face.
	* lisp/startup.el (startup--setup-quote-display): Use it.

2016-10-16  Paul Eggert  <eggert@cs.ucla.edu>

	Port to Ubuntu 16.10, which needs gcc -nopie

	* configure.ac (emacs_cv_prog_cc_no_pie): Rename from
	emacs_cv_prog_cc_nopie.  All usages changed.  Check for -no-pie in
	preference to -nopie (Bug#24682).

2016-10-16  Michael Albinus  <michael.albinus@gmx.de>

	Fix bug#24665 in Tramp

	* doc/misc/tramp.texi (External methods): Do not confuse
	method names.  (Bug#24665)

2016-10-15  Sam Steingold  <sds@gnu.org>

	use full time objects (lists) instead of floats when possible

	* midnight.el (midnight-buffer-display-time): Remove
	(clean-buffer-list): Use float time only for time comparison

2016-10-15  Sam Steingold  <sds@gnu.org>

	Save and restore buffer-display-time

	* desktop.el (desktop-locals-to-save): Add `buffer-display-time'
	(desktop-read): Set `desktop-file-modtime' before loading the desktop file
	(desktop-create-buffer): Adjust `buffer-display-time' for the downtime

2016-10-15  Philipp Stephani  <phst@google.com>

	Disable bracketed paste in a terminal in char mode

	In char mode, a terminal doesn't accept bracketed paste events,
	therefore we should disable them; see Bug#24639.  To decouple the XTerm
	management from term.el, introduce a per-buffer setting to disable
	bracketed paste for that buffer.  If bracketed paste is inhiited for at
	least one buffer in a terminal, it is disabled for the whole terminal.

	* term/xterm.el (xterm-inhibit-bracketed-paste-mode): New mode to
	inhibit XTerm bracketed paste per buffer.
	(xterm--buffer-terminals, xterm--update-bracketed-paste)
	(xterm--bracketed-paste-possible, xterm--is-xterm): New helper
	functions.
	(xterm--init-bracketed-paste-mode): Remove unused helper
	function.
	(terminal-init-xterm): Update bracketed paste status when
	initializing an XTerm and on window configuration change.

	* term.el (term-char-mode, term-line-mode): Inhibit XTerm
	bracketed paste in char mode.

2016-10-15  Dima Kogan  <dima@secretsauce.net>

	Undo the effect of CapsLock when other modifiers are present

	* src/keyboard.c (make_lispy_event): Effectively undo the effect
	of CapsLock if any modifiers other than Shift are present in a key.
	(Bug#24456)

2016-10-15  Simen Heggestøyl  <simenheg@gmail.com>

	Add tests for foreign completions in CSS mode

	* test/lisp/textmodes/css-mode-tests.el
	(css-test-foreign-completions): New test for
	`css--foreign-completions'.
	(css-test-complete-selector-tag): Rename test.
	(css-test-complete-selector-class): New test testing completion of
	class names in selectors.
	(css-test-complete-selector-id): New test testing completion of IDs in
	selectors.

2016-10-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Cosmetic change to last mm-url change

	* lisp/gnus/mm-url.el (mm-url-encode-multipart-form-data):
	Tweak last change slightly for more readability.

2016-10-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix problem with submitting binary data via HTTP forms

	* lisp/gnus/mm-url.el (mm-url-encode-multipart-form-data):
	Document the parameters, clean up the code, and make uploading
	binary data really work (which it didn't if the binary bits
	were in the last part of the data).

2016-10-13  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/time.el (display-time-string-forms): Fix custom type.

2016-10-13  Mark Oteiza  <mvoteiza@udel.edu>

	Derive Man and WoMan modes from special-mode

	* lisp/man.el (Man-mode-map): Set parent to map composed from both
	button-buffer-map and special-mode-map.  Remove redundant bindings.
	Fix menu to refer to the quit-window command.
	(Man-mode): Derive from special-mode.  Fix docstring.  Remove redundant
	buffer-read-only binding.
	(Man-quit): Remove.
	* lisp/woman.el (woman-really-find-file): Use setq-local.
	(woman-mode-map): Refer to woman-mode in docstring.
	(woman-mode): Derive from special-mode.  Document woman-mode-map in
	docstring.  Use setq-local where possible; imenu-generic-expression is
	already buffer-local.
	(woman-negative-vertical-space): Replace unused binding with _.

2016-10-13  Philipp Stephani  <phst@google.com>

	Fix crash in evaluating functions

	See Bug#24673

	* src/eval.c (funcall_lambda): Fix crash for bogus functions such
	as (closure).

	* test/src/eval-tests.el (eval-tests--bug24673): Add test.

2016-10-13  Tino Calancha  <tino.calancha@gmail.com>

	Add test for Bug#24627

	* /test/lisp/thingatpt-tests.el (thing-at-point-bug24627): New test.

2016-10-12  Eli Zaretskii  <eliz@gnu.org>

	* lib-src/etags.c (invalidate_nodes): Remove a redundant nullp test.

2016-10-11  Paul Eggert  <eggert@cs.ucla.edu>

	Work around Samba bug with ':' in symlink contents

	* src/filelock.c (current_lock_owner): When reading the contents
	of a lock, treat the UTF-8 for U+F022 as if it were ':' (Bug#24656).

2016-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	If autoloads buffer is unchanged, mark it as such (bug#23692)

	* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
	If autoloads buffer is unchanged, mark it as such (bug#23692).

2016-10-11  Michael Albinus  <michael.albinus@gmx.de>

	Use "26.1" version string in Tramp, fix some comments

	* lisp/net/tramp-gvfs.el (tramp-gvfs-methods):
	* lisp/net/tramp-sh.el (tramp-remote-process-environment):
	Use "26.1" version string.

2016-10-10  Tino Calancha  <tino.calancha@gmail.com>

	form-at-point work for all kind of THINGS

	* lisp/thingatpt.el (form-at-point):
	Use thing-at-point--read-from-whole-string only if thing-at-point
	returns a string (Bug#24605).

2016-10-10  Eli Zaretskii  <eliz@gnu.org>

	Fix compilation warnings on MS-Windows

	* src/w32.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Remove
	definitions of these macros, which seem to be unneeded and cause
	compiler warnings.
	* src/fileio.c (NOMINMAX): Avoid compiler warnings about unused
	macros.
	* src/firstfile.c (dummy_main_reference): Rename from 'dummy' and
	make it external, to avoid compiler warning.

2016-10-10  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling and clarity fixes

2016-10-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	4f406e9 CC Mode manual: remove reference to former Emacs variable las...
	44e402e Allow to disable compaction of font caches
	4ff4b66 Allow selection of font for symbols as in Emacs 24.x
	c03d44b ; Fix last commit
	d4be4f3 ; Fix indexing in lispref manual
	ed399f2 ; Minor improvement in documentation of generators
	197a6bc Fix horizontal scrolling during Isearch
	3566644 Fix infloop in redisplay due to truncated lines and invisible...

	# Conflicts:
	#	etc/NEWS

2016-10-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	c4a5e7e Improve documentation of 'menu-bar-open'

2016-10-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	4b347fe Clarify that doc fixes are okay in feature freeze
	01669ad Avoid crashes when setting the cursor
	f2144ee Restore 'command-debug-status' functionality
	ec6e4b9 ; Minor addition to CONTRIBUTE

2016-10-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	74b4f13 Document nil args of compare-buffer-substrings
	9fc81bc * doc/misc/message.texi (Bcc Warning): Fix markup.
	95baa25 * doc/misc/message.texi (Bcc Warning): Document mml-secure-sa...

2016-10-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	f1247f0 * lisp/frame.el (blink-cursor-delay): Doc fix.  (Bug#24372)
	ace7f14 * lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.
	bbf1ffd Regexp Functions doc minor fixes

2016-10-08  Philipp Stephani  <phst@google.com>

	Don’t consider nested let-alist forms

	See Bug#24641.

	* lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Don’t
	consider symbols in nested ‘let-alist’ forms.

	* test/lisp/emacs-lisp/let-alist-tests.el
	(let-alist--deep-dot-search--nested): Add a unit test.

2016-10-08  Alain Schneble  <a.s@realize.ch>

	Support SIGTRAP in kill emulation on Windows

	* src/w32proc.c (sys_kill): Translate SIGTRAP signal into a call to
	'DebugBreakProcess' to cause a breakpoint exception to occur in the
	specified process.  On Windows versions prior to Windows XP that do
	not support 'DebugBreakProcess' return -1 and set errno to ENOTSUP
	(as opposed to EINVAL before this change).
	* src/w32proc.c: Add typedef for 'DebugBreakProcess' function pointer
	and global variable to track state of run-time dynamic linking of this
	function.

	* etc/NEWS: Add entry to document that 'signal-process' now supports
	SIGTRAP.

2016-10-08  Eli Zaretskii  <eliz@gnu.org>

	Deprecate 'wp' group and introduce a new group 'text'

	* lisp/textmodes/tildify.el (tildify):
	* lisp/textmodes/text-mode.el (text-mode-hook):
	* lisp/textmodes/table.el (table):
	* lisp/textmodes/rst.el (rst):
	* lisp/textmodes/refer.el (refer):
	* lisp/textmodes/refbib.el (refbib):
	* lisp/textmodes/picture.el (picture):
	* lisp/textmodes/nroff-mode.el (nroff):
	* lisp/textmodes/enriched.el (enriched):
	* lisp/textmodes/bib-mode.el (bib):
	* lisp/progmodes/ebnf2ps.el (ebnf2ps):
	* lisp/nxml/rng-valid.el (relax-ng):
	* lisp/view.el (view):
	* lisp/ps-print.el (ps-print):
	* lisp/printing.el (printing):
	* lisp/outline.el (outlines):
	* lisp/lpr.el (lpr):
	* lisp/delim-col.el (columns): Use 'text' group instead of 'wp'.
	* lisp/cus-edit.el (wp): Remove the "text" tag.
	(text): New defgroup, inherits from the deprecated 'wp'.
	(outlines): Remove, in favor of the definition in outline.el.
	(tex): Inherit from 'text'.
	Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#24549)

2016-10-08  Laimonas Vėbra  <laimonas.vebra@yahoo.com>  (tiny change)

	Extend dictionary and library-directory handling for Ispell

	* lisp/textmodes/ispell.el (ispell-check-version): Allow
	overriding LIBDIR via the variable defined by LIBRARYVAR (usually
	ISPELL_DICTDIR).
	(ispell-valid-dictionary-list): If the -d option to Ispell
	specifies an absolute file name, use that regardless of
	ispell-library-directory.  (Bug#24439)

2016-10-07  Tassilo Horn  <tsdh@gnu.org>

	Fix unescaped \begin{...} in docstring

	* lisp/textmodes/reftex-cite.el (reftex-bib-or-thebib): Fix unescaped
	\begin{...} in docstring.

2016-10-06  Noah Friedman  <friedman@splode.com>

	Update comment.

2016-10-06  Eli Zaretskii  <eliz@gnu.org>

	Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2

	* nt/inc/ms-w32.h (_WIN32_WINNT) [!MINGW_W64]: Undefine before
	defining to avoid redefinition warnings.

	* nt/inc/sys/stat.h (_SYS_STAT_H, _INC_STAT_H): Define, to avoid
	inclusion of sys/stat.h from the system headers, which could then
	lead to compilation errors due to redefinition of 'struct stat'
	etc.  This is needed because latest versions of MinGW runtime
	include sys/stat.h from wchar.h.

	* src/image.c (__MINGW_MAJOR_VERSION) [WINDOWSNT]: Temporarily
	redefine to 4 to avoid conflict between 2 definitions of
	MemoryBarrier.  (Bug#24613)

2016-10-05  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/url-url-parse.el (url-generic-parse-url): Unquote macro URL argument.

2016-10-05  Mark Oteiza  <mvoteiza@udel.edu>

	Autoload entry point testcover-start

	* lisp/emacs-lisp/testcover.el: Add autoload cookie for
	testcover-start.

2016-10-05  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Bump version of ntlm.el to 2.1.0

	* lisp/net/ntlm.el: Bump version to 2.1.0.

2016-10-05  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	lisp/net/ntlm.el: Fix comment and docstring formatting

2016-10-05  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	lisp/net/ntlm.el: Match Mozilla Type 1 and 3 message behavior

	* lisp/net/ntlm.el (ntlm-build-auth-request): Only set
	"negotiate domain supplied" bit when a domain is supplied.  Do
	not set "negotiate workstation supplied" bit.
	(ntlm-build-auth-response): Set domain to empty string by
	default.  Set workstation name to "WORKSTATION".  Set flags to
	logical and of Type 1 and Type 2 message flags.  Remove four
	trailing 0 bytes.  Always set LM response.  Hard-code domain
	offset.  Reorder buffer fields.

2016-10-05  Martin Rudalics  <rudalics@gmx.at>

	Document return value of `display-buffer-in-side-window'

	* doc/lispref/windows.texi (Displaying Buffers in Side Windows):
	* lisp/window.el (display-buffer-in-side-window): Describe
	return value of `display-buffer-in-side-window'.

2016-10-05  Eli Zaretskii  <eliz@gnu.org>

	Improve wording in side windows documentation

	* doc/lispref/windows.texi (Displaying Buffers in Side Windows)
	(Side Window Options and Functions)
	(Frame Layouts with Side Windows): Minor wording improvements.

2016-10-05  Martin Rudalics  <rudalics@gmx.at>

	Document and fix some bugs with side windows

	Add a documentation for side windows and fix some bugs
	found when testing their behavior.  Also add a new window
	parameter `no-delete-other-window', a new `display-buffer'
	alist member called `window-parameters', and functions to
	toggle and reverse side windows on a frame.  Add new function
	`window-swap-states' to exchange states of two live windows.

	* lisp/window.el (display-buffer-in-atom-window): Use
	`split-window-no-error'.
	(window-sides-vertical): Maybe change layouts when setting this
	variable.
	(window-sides-reversed): New option.
	(window-sides-slots): Rewrite doc-string and help echoes.
	(window-sides-shown): New buffer-local variable set when showing
	a buffer in a side window.
	(window--sides-inhibit-check): New variable.
	(window--sides-reverse-on-frame-p, window-toggle-side-windows)
	(window--sides-reverse-all, window--sides-reverse-frame)
	(window--sides-reverse-side, window--sides-reverse)
	(window--sides-verticalize-frame, window--sides-verticalize)
	(window--sides-check-failed): New functions.
	(window--side-window-p): Remove function.
	(window--major-non-side-window): Rename to `window-main-window',
	adjust callers, rewrite doc-string.
	(window--major-side-window): Rename to
	`window--make-major-side-window-next-to', adjust caller, fix
	doc-string.
	(display-buffer-in-major-side-window): Rename to
	`window--make-major-side-window', adjust
	caller, rewrite doc-string.  Make `window-side' and
	`window-slot' parameters persistent (Bug#23858).  Don't set
	`delete-window' parameter.  Add `preserve-size' entry to ALIST.
	(delete-side-window): Remove function.
	(display-buffer-in-side-window): Fix doc-string.  Don't set
	`delete-window' parameter.  Add `preserve-size' entry to ALIST.
	(window--side-check): Rename to window--sides-check.  Rewrite
	completely.  Adjust caller.
	(window-resize-no-error): Don't describe PIXELWISE argument.
	(adjust-window-trailing-edge): Fix bug that disallowed
	re-enlarging windows that were too small.
	(window-deletable-p): Don't tell that a minibuffer window on a
	non-minibuffer-only frame can be deleted.  Fix doc-string.
	(delete-window): Handle deleting a side window here (the
	`delete-window' parameter is no more set for side windows).
	(delete-other-windows): Handle ‘no-delete-other-window'
	parameter. Don't treat side windows separately (see discussion
	of Bug#24368) but keep optimization that makes the main window
	the root window of its frame.
	(switch-to-prev-buffer, switch-to-next-buffer): Handle side
	windows and buffers shown in side windows separately.
	(split-window-no-error): New function.
	(window--state-get-1): Use right buffer when storing window
	point and start positions and WRITABLE is nil (Bug#24368).
	(window--state-put-1): Fix handling of `window-combination-limit'.
	Use `split-window-no-error'.
	(window--state-put-2): Try to restore windows with preserved
	size to their original size.  Fix bug where a fixed window's width
	was not preserved.
	(window-state-put): When reducing an internal window to a live
	one, don't choose a side window.
	(window-swap-states): New function.
	(window-splittable-p): Don't call `window--side-window-p'.
	(window--display-buffer): Handle `window-parameters' ALIST entry.
	Minor rewrite.
	(display-buffer): Mention `window-parameters' entry in
	doc-string.
	(display-buffer-at-bottom): Call `split-window-no-error'.

	* doc/lispref/elisp.texi (Top): New section "Side Windows".
	* doc/lispref/windows.texi (Deleting Windows): Fix descriptions
	of `delete-window' and `delete-other-windows' wrt window
	parameters and side windows.
	(Display Action Functions): Mention `window-parameters' ALIST
	entry.
	(Side Windows): New section (Bug#18170).
	(Window Configurations): Describe new function `window-swap-states'.
	(Window Parameters): Say that functions may behave specially when
	their homonymous window parameter has been set.  Mention new
	parameter `no-delete-other-window'.  Add cross reference for
	`window-side' and `window-slot' parameters.

2016-10-04  John Wiegley  <johnw@newartisans.com>

	Add documentation note from Alex

2016-10-04  Mark Oteiza  <mvoteiza@udel.edu>

	Avoid dynamic binding on a symbol

	Instead, bind history in the default minibuffer-history.
	Fixes bug#24580.
	* lisp/replace.el (query-replace-read-from): Let-bind
	minibuffer-history.  Change read-regexp and read-from-minibuffer's
	HISTORY arguments to nil so that they use minibuffer-history.

2016-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/fileio.c (Finsert_file_contents): Fix hook handling (bug#24340)

	* src/fileio.c (Finsert_file_contents): Run before-change-hooks before
	deleting the old buffer content.
	* src/lisp.h (del_range_byte):
	* src/insdel.c (del_range_byte): Drop the last argument.
	* src/fns.c (Fbase64_encode_region): Adjust accordingly.

2016-10-03  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer: 'w' and 'B' default to buffer at current line

	See discussion in:
	https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00384.html
	* lisp/ibuffer.el (ibuffer--near-buffers): New defun;
	return buffers near current line.
	* lisp/ibuf-ext.el (ibuffer-copy-buffername-as-kill): Use it.
	Add argument ARG; if a non-zero integer, return next ARG buffers.
	Otherwise return the marked buffers.
	If there are not marked buffers, return buffer at current line
	without prompting the user.
	Use ibuffer-get-marked-buffers instead of ibuffer-map-marked-lines.
	Append to kill ring when last command was a kill-region.
	(ibuffer-copy-filename-as-kill): Idem.
	Simplify the code.
	Use ibuffer-buffer-file-name instead of buffer-file-name to
	include buffers in Dired mode.

2016-10-03  Tino Calancha  <tino.calancha@gmail.com>

	dired-mark-extension: Unmark if called with C-u prefix

	See discussion in #Bug2518 and:
	https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00711.html
	* lisp/dired-x.el (dired-mark-extension):
	Update interactive calls: a prefix arg C-u unmark files;
	a prefix C-u C-u prompt for MARKER-CHAR and mark files with it.
	(dired-mark-sexp):
	Show in the prompt that we are unmarking if called with a prefix argument.
	* doc/misc/dired-x.texi (Advanced Mark Commands):
	Update documentation for 'dired-mark-extension'.

2016-10-02  Karl Fogel  <kfogel@red-bean.com>

	Document yank behavior in the right place

	* lisp/simple.el (yank): Document the handling of the
	`yank-handled-properties' and `yank-excluded-properties' variables,
	and the `yank-handler' text property.
	(yank-pop): Refer to `yank' now (bug#286)

	* lisp/subr.el (insert-for-yank): Refer to `yank' now.
	(insert-for-yank-1): Refer to `insert-for-yank' now.

	See this thread for discussion:

	  https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
	  From: Karl Fogel
	  To: Emacs Devel
	  Subject: Question about intended behavior of 'insert-for-yank-1'.
	  Date: Mon, 12 Sep 2016 00:17:14 -0500
	  Message-ID: <874m5lr92d.fsf@red-bean.com>

2016-10-02  Philipp Stephani  <phst@google.com>

	Restart blink cursor timers on interval changes

	This prevents surprising behavior when timer interval customizations are
	only applied whenever the timers happen to be restarted (see Bug#24372).

	* lisp/frame.el (blink-cursor--start-idle-timer)
	(blink-cursor--start-timer): New functions.
	(blink-cursor-start, blink-cursor-check, blink-cursor-mode): Use
	the new helper functions.
	(blink-cursor-delay, blink-cursor-interval): Restart timers when
	the value is changed.

2016-10-01  Philipp Stephani  <phst@google.com>

	Use a simple keyword for a non-nil argument

	The second argument of `run-with-idle-timer' is Boolean, i.e. only nil
	and non-nil values are distinguished.  Passing a number here is
	confusing.  Pass a descriptive symbol instead.

	* lisp/frame.el (blink-cursor-mode, blink-cursor-check): Use
	:repeat symbol instead of number for second argument of
	`run-with-idle-timer'

2016-10-01  Philipp Stephani  <phst@google.com>

	Make querying to kill processes customizable

	Introduce a new customization option, `confirm-kill-processes', that
	users can set to nil if they don't want Emacs to nag them about killing
	processes.

	* lisp/files.el (confirm-kill-processes): New customization option.
	(save-buffers-kill-emacs): Use customization option.

	* test/lisp/files-tests.el
	(files-test--save-buffers-kill-emacs--confirm-kill-processes): Add
	test for new customization option.

	* doc/emacs/entering.texi (Exiting): Document new user option.

	* doc/lispref/processes.texi (Query Before Exit): Document new
	user option.

	* etc/NEWS: Document new user option.

2016-10-01  Eli Zaretskii  <eliz@gnu.org>

	Set :version of 'debugger-stack-frame-as-list'

	* lisp/cus-start.el (debugger-stack-frame-as-list): Give value to
	the ':version' attribute.

2016-10-01  Eli Zaretskii  <eliz@gnu.org>

	Bump Emacs version to 26.0.50

	* README:
	* configure.ac:
	* etc/NEWS:
	* etc/refcards/ru-refcard.tex:
	* msdos/sed2v2.inp:
	* src/msdos.c: Increment Emacs version to 26.0.50.
	* etc/NEWS.25: New file, copied from etc/NEWS with post-25.1 stuff
	moved to etc/NEWS.

2016-10-01  Eli Zaretskii  <eliz@gnu.org>

	Avoid compilation warning on MinGW

	* src/w32.c: Include string.h, needed for the prototype of
	'strerror', shadowed by 'sys_strerror'.  This avoids a compiler
	warning about "no previous prototype".  The string.h header
	must be included after ms-w32.h, but before "#undef strerror".

2016-09-30  Alan Third  <alan@idiocy.org>

	Fix compatibility with macOS 10.12 pmset (bug#24537)

	* lisp/battery.el (battery-pmset): Recognise and ignore battery id if
	present in output.

2016-09-30  Paul Eggert  <eggert@cs.ucla.edu>

	Limit <config.h>’s includes

	This follows up on recent problems with the fact that config.h
	includes stdlib.h etc.; some files need to include stdlib.h later.
	config.h generally should limit itself to includes that are
	universally safe; outside of MS-Windows, only stdbool.h makes
	the cut among the files currently included.  So, move the
	other includes to just the files that need them (Bug#24506).
	* configure.ac (config_opsysfile): Remove, as this generic hook
	is no longer needed.
	* lib-src/etags.c, src/unexmacosx.c, src/w32.c, src/w32notify.c:
	* src/w32proc.c (_GNU_SOURCE):
	Remove, as it’s OK for config.h to do this now.
	* src/conf_post.h: Include <ms-w32.h>, instead of the generic
	config_opsysfile, for simplicity as this old way of configuring is
	now done only for the MS-Windows port.  Do not include <ms-w32.h>
	if DEFER_MS_W32_H, for the benefit of the few files that want its
	effects later.  Do not include <alloca.h>, <string.h>, or
	<stdlib.h>.  Other files modified to include these headers as
	needed, or to not include headers that are no longer needed.
	* src/lisp.h: Include <alloca.h> and <string.h> here, since
	some of the inline functions need them.
	* src/regex.c: Include <alloca.h> if not emacs.  (If emacs,
	we can rely on SAFE_ALLOCA.)  There is no longer any need to
	worry about HAVE_ALLOCA_H.
	* src/unexmacosx.c: Rely on config.h not including stdlib.h.
	* src/w32.c, src/w32notify.c, src/w32proc.c (DEFER_MS_W32_H):
	Define before including <config.h> first, and include <ms-w32.h>
	after the troublesome headers.

2016-09-30  Vasilij Schneidermann  <v.schneidermann@gmail.com>

	New user option 'debugger-stack-frame-as-list'

	* src/eval.c (syms_of_eval) <debugger-stack-frame-as-list>: New
	variable.
	* lisp/cus-start.el (standard): Add debugger-stack-frame-as-list.
	* lisp/emacs-lisp/debug.el (debugger-setup-buffer): Adjust
	backtrace processing for the value of debugger-stack-frame-as-list.
	* lisp/emacs-lisp/edebug.el (edebug-backtrace): Adjust backtrace
	processing for the value of debugger-stack-frame-as-list.
	* doc/lispref/debugging.texi (Internals of Debugger): Document
	debugger-stack-frame-as-list.
	* etc/NEWS: Mention 'debugger-stack-frame-as-list'.

2016-09-30  Aurelien Aptel  <aaptel@suse.com>

	* src/alloc.c: call only non-null finalizers

2016-09-30  Eli Zaretskii  <eliz@gnu.org>

	Avoid compiler warnings in image.c on MS-Windows

	* src/image.c (DrawText, g_type_init) [WINDOWSNT]: Avoid compiler
	warning about unused macros.

2016-09-30  Paul Rankin  <hello@paulwrankin.com>

	outline-invisible-p): Only return `t' for the 'outline property

	* lisp/outline.el (outline-invisible-p): Only return `t' for
	the 'outline property.

2016-09-29  Paul Eggert  <eggert@cs.ucla.edu>

	Fix problems found by static checking --with-ns

	This is for Fedora 24 when configured with --enable-gcc-warnings.
	Although it does not fix all the problems, it fixes many of them.
	* src/frame.c (XParseGeometry):
	* src/nsterm.m (mouseDown:):
	Mark locals with UNINIT to pacify --enable-gcc-warnings.
	* src/image.c (PIX_MASK_DRAW, DefaultDepthOfScreen):
	Remove unused macros.
	(slurp_file xbm_scan, xbm_read_bitmap_data, xbm_load_image)
	(xbm_file_p, xbm_load, xpm_scan, xpm_make_color_table_v)
	(xpm_put_color_table_v, xpm_get_color_table_v)
	(xpm_make_color_table_h, xpm_put_color_table_h)
	(xpm_get_color_table_h, xpm_load_image, xpm_load)
	(pbm_next_char, pbm_scan_number, pbm_load, svg_load)
	(svg_load_image):
	* src/nsfns.m (x_get_string_resource):
	* src/nsimage.m (ns_image_from_XBM):
	Fix pointer signedness problems.
	* src/image.c (xpm_load_image, x_build_heuristic_mask, pbm_load)
	(imagemagick_load_image): Omit unused locals.
	* src/nsfns.m (ns_send_types, ns_return_types, ns_drag_types)
	(Fx_open_connection):
	* src/nsfont.m (ns_antialias_threshold):
	Move extern decl to nsterm.h so it can be checked.
	* src/nsmenu.m (svcsMenu, dockMenu):
	Move to the only file that uses them, so they can be static.
	* src/nsterm.h (find_and_call_menu_selection):
	* src/nsterm.m (x_set_frame_alpha):
	Omit duplicate decls.
	* src/nsterm.h (ns_dump_glyphstring): Mark as EXTERNALLY_VISIBLE.
	* src/nsfns.m (ns_tooltip, ns_display_info_for_name)
	(ns_set_name_as_filename, x_set_menu_bar_lines)
	(x_set_tool_bar_lines, x_set_internal_border_width):
	* src/nsterm.m (ns_drag_types, ns_draw_text_decoration):
	Now static.
	* src/nsfns.m (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp):
	* src/nsterm.m (ns_free_indexed_color, ns_color_to_lisp):
	Remove; unused.
	* src/nsfont.m (ns_dump_glyphstring):
	* src/nsterm.m (hide_bell, ns_get_color, ns_color_to_lisp)
	(ns_clear_frame, keyDown:):
	Fix signedness problem with printf arg.
	* src/nsterm.h (ns_input_events, ns_finish_events):
	* src/nsterm.m (ns_finish_events, hide_bell):
	Prototype the decls.
	* src/nsterm.m (NSMenuDidBeginTrackingNotification):
	Omit unnecessary decl.
	(dockMenu):
	(mainMenu) [NS_IMPL_COCOA]: Now static, and in this file.
	(ns_dumpglyphs_box_or_relief, changeFont:, initFrameFromEmacs:)
	(toggleFullScreen:): Use FACE_FROM_ID instead of
	FACE_FROM_ID_OR_NULL in contexts where the caller expects the
	result to be non-null.
	(applicationShouldTerminate:): Fix misleading indentation.

2016-09-28  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on more lexical-binding

	* lisp/dom.el:
	* lisp/faces.el:
	* lisp/htmlfontify.el: Turn on lexical-binding.
	(htmlfontify-string): Use pushnew instead of add-to-list.
	* lisp/info-xref.el:
	* lisp/isearch.el:
	* lisp/man.el:
	* lisp/ps-def.el:
	* lisp/ps-print.el:
	* lisp/replace.el: Turn on lexical-binding.  Require cl-lib at compile
	time.
	(multi-occur): Use cl-pushnew instead of add-to-list.
	(replace-match-string-symbols): Remove unused lexical variable.
	(replace-search, replace-highlight): Fix argument shadowing.
	* lisp/sort.el:
	* lisp/xml.el: Turn on lexical-binding.
	(xml--parse-buffer): Use push instead of add-to-list.
	* lisp/xt-mouse.el: Turn on lexical-binding.

2016-09-27  Michael Albinus  <michael.albinus@gmx.de>

	* admin/notes/bug-triage: Do not mention closed bugs

	* admin/notes/bug-triage: Do not mention closed bugs, they are
	suppressed by default in debbugs-{gnu,org}.

2016-09-27  Michael Albinus  <michael.albinus@gmx.de>

	* etc/PROBLEMS: Remove problem Bug#22814, again.

2016-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	Stick with debbugs-supported tags in triage

	* admin/notes/bug-triage: Stick to the tag "unreproducible", which
	debbugs supports, rather than suggesting "doneunreproducible" or
	"unreproducable".

2016-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9fc9988 Improve documentation of 'expand-abbrev' and wrapper hooks
	c14a1d4 Minor copyedits of MS-Windows installation instructions
	f281924 Fix display of cursor when 'blink-cursor-delay' has small value

	# Conflicts:
	#	lisp/minibuffer.el

2016-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	0ae9a81 Document 'timerp'
	2c72c46 Improve documentation of overlay priorities
	f6fa160 Fix 'dired-compress-files'
	2b8c5f0 Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR

	# Conflicts:
	#	lisp/dired.el
	#	src/buffer.h
	#	src/character.h

2016-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	cf9e174 Document the optional zlib library in MS-Windows builds
	84eb144 ; * admin/notes/unicode: Mention BidiCharacterTest.txt.
	73c67dd Fix tagging of DEFUN by etags
	ea1960b Avoid resetting track-mouse by mouse clicks
	505fef3 Improve nt/README.W32 instructions
	1229cc4 Document that desktop file overrides frame parameters
	f0eb70d ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release

	# Conflicts:
	#	ChangeLog.2
	#	admin/notes/unicode
	#	lisp/ldefs-boot.el

2016-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	0ffc9ce Update admin/authors.el
	0ad7410 Update Antinews in ELisp manual
	ea0f750 Fix comments on window height macros
	0bbdeed Fix 'url-http-create-request' when cookies are used
	0045998 Fix cross reference in frames.texi
	1392894 ; * etc/DEBUG: Minor copyedits.
	304a5c8 ; * etc/DEBUG: Improve documentation of getting control to GDB.
	56bf7d7 Fix regexp-opt documentation (bug #17862)
	803ad6f ; Fix documentation of seq-subseq
	ed4530d * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in doc...
	88ea396 ; Spelling fixes
	17197d0 Fix tags-query-replace docstring
	80a7f8b Clarify documentation of precision in format specs
	88a5052 Improve and clarify documentation of subprocesses
	89eb09f * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

	# Conflicts:
	#	etc/PROBLEMS
	#	src/process.c

2016-09-26  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-compat.el (tramp-compat-funcall): Don't use `subrp'.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Fix 'dired-mark-extension' with prefix argument

	* lisp/dired-x.el (dired-mark-extension): Allow to specify
	MARKER-CHAR interactively as a string, not as a character's
	codepoint.  (Bug#24518)

	* doc/misc/dired-x.texi (Advanced Mark Commands): Document the
	behavior when invoked with a prefix arg.

2016-09-24  Simen Heggestøyl  <simenheg@gmail.com>

	Support completion of classes and IDs in CSS mode

	* lisp/textmodes/css-mode.el (css-class-list-function): New variable
	holding the function to call for retrieving completions of class
	names.
	(css-id-list-function): New variable holding the function to call for
	retrieving completions of IDs.
	(css--foreign-completions): New function for retrieving completions
	from other buffers.
	(css--complete-selector): Support completing HTML class names and IDs
	from other buffers in addition to completing HTML tags.

	* lisp/textmodes/sgml-mode.el (html--buffer-classes-cache): New
	variable holding a cache for `html-current-buffer-classes'.
	(html--buffer-ids-cache): New variable holding a cache for
	`html-current-buffer-ids'.
	(html-current-buffer-classes): New function returning a list of class
	names used in the current buffer.
	(html-current-buffer-ids): New function returning a list of IDs used
	in the current buffer.
	(html-mode): Set `css-class-list-function' and `css-id-list-function'
	to `html-current-buffer-classes' and `html-current-buffer-ids'
	respectively.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Update test suite files due to removal of test/lisp/legacy

	* test/README: Reference file-organization.org.
	* test/file-organization.org: Remove the description of files in
	the lisp/legacy/ directory.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Incorporate syntax-tests in lisp-tests.

	* test/lisp/emacs-lisp/lisp-tests.el: Add tests from
	test/lisp/legacy/syntax-tests.el.
	* test/lisp/legacy/syntax-tests.el: File deleted.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Incorporate occur-tests in replace-tests

	* test/lisp/replace-tests.el: Add tests from
	test/lisp/legacy/occur-tests.el.
	* test/lisp/legacy/occur-tests.el: File deleted.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Incorporate lexbind-tests.el in bytecomp-test.el

	* test/lisp/emacs-lisp/bytecomp-tests.el: Added tests from
	test/lisp/legacy/lexbind-tests.el.
	* test/lisp/legacy/lexbind-tests.el: File deleted.

2016-09-24  Paul Eggert  <eggert@cs.ucla.edu>

	Improve integer overflow handling a bit

	* src/charset.c (read_hex): Use INT_LEFT_SHIFT_OVERFLOW for clarity.
	The machine code is the same on my platform.
	* src/doprnt.c (doprnt):
	* src/emacs-module.c (module_funcall):
	* src/font.c (font_intern_prop):
	* src/keyboard.c (Frecursion_depth):
	* src/lread.c (read1):
	Use WRAPV macros instead of checking overflow by hand.
	* src/editfns.c (hi_time, time_arith, decode_time_components):
	* src/emacs-module.c (Fmodule_load):
	Simplify by using FIXNUM_OVERFLOW_P.
	* src/emacs-module.c: Include intprops.h.
	* src/xdisp.c (percent99): New function.
	(decode_mode_spec): Use it to simplify overflow avoidance and
	formatting of %p and %P.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Incorporate core-elisp-tests in lisp-tests

	* test/lisp/emacs-lisp/lisp-tests.el: Added tests from
	test/lisp/legacy/core-elisp-tests.el.
	* test/lisp/legacy/core-elisp-tests.el: File removed.

2016-09-24  Eli Zaretskii  <eliz@gnu.org>

	Move coding-tests.el and decoder-test.el to their places

	* test/src/coding-tests.el: Added all the tests from
	test/lisp/legacy/decoder-tests.el.
	* test/lisp/legacy/decoder-tests.el: File deleted.

2016-09-23  Vibhav Pant  <vibhavp@gmail.com>

	Use correct TYPE value for displaying error messages in (erc-display-message)

2016-09-23  Eli Zaretskii  <eliz@gnu.org>

	Bump the version to 25.2.50

	* README:
	* configure.ac:
	* etc/NEWS:
	* msdos/sed2v2.inp: Increment the Emacs version to 25.2.50.

2016-09-22  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-do-view-other-frame: Display each buffer in a new frame

	* lisp/ibuffer.el (ibuffer-do-view-1):
	When TYPE equals 'other-frame, then display each buffer
	in a new frame (Bug#24086).

2016-09-22  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-09-22 stdint: port to GCC 7
	2016-09-22 limits-h, stdint: don't assume extensions
	* doc/misc/texinfo.tex, m4/limits-h.m4, m4/stdint.m4: Copy from gnulib.

2016-09-22  Alan Mackenzie  <acm@muc.de>

	* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Fix coding error

2016-09-21  Paul Eggert  <eggert@cs.ucla.edu>

	Port recent flexmember changes to NetBSD

	The NetBSD library supports localtime_rz directly, and without
	this change 'configure' omitted the flexmember test that is marked
	as conditional on localtime_rz.  Emacs now needs to use
	flexmember.m4 even when localtime_rz works.
	Problem reported by Thomas Klausner.
	* admin/merge-gnulib (GNULIB_MODULES): Add flexmember.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

2016-09-21  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/misc/texinfo.tex: Copy from gnulib.

2016-09-21  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget'.

2016-09-20  Paul Eggert  <eggert@cs.ucla.edu>

	Use flexmembers on IBM XL C for AIX

	This removes a workaround where Emacs did not use flexible
	array members when compiled with IBM XL C.  Instead, avoid
	the problem by making the aliasing issues more obvious to
	this compiler.
	* admin/merge-gnulib: Don’t remove m4/flexmember.m4.
	* m4/flexmember.m4: Copy from gnulib.
	* configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Remove workaround.
	* src/alloc.c (allocate_string_data): Rephrase to avoid aliasing
	problem that would otherwise mess up code generated for flexible
	array members by IBM XL C for AIX, V12.1.
	* src/conf_post.h (FLEXIBLE_ARRAY_MEMBER): Remove; now done
	by gnulib code.

2016-09-19  Michael Albinus  <michael.albinus@gmx.de>

	Fix a problem with Tramp when the temporary dir isn't C:/Temp on w32

	* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name): Don't use
	`tramp-drop-volume-letter' any longer, it causes collateral
	damages.  Reported by Chris Zheng <chriszheng99@gmail.com>.

2016-09-17  Paul Eggert  <eggert@cs.ucla.edu>

	Port January __morecore changes to AIX 7.1

	* src/vm-limit.c (__MALLOC_HOOK_VOLATILE, __morecore)
	(__after_morecore_hook):
	* src/ralloc.c (__morecore):
	Declare if DOUG_LEA_MALLOC is not defined, not if HAVE_MALLOC_H is
	not defined.  <malloc.h> does not declare these in AIX 7.1.

2016-09-17  Paul Eggert  <eggert@cs.ucla.edu>

	Define _GNU_SOURCE in files delaying config.h

	Problem reported by Richard Copley in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00440.html
	* src/w32.c, src/w32notify.c, src/w32proc.c (_GNU_SOURCE):
	Define early.

2016-09-17  Eli Zaretskii  <eliz@gnu.org>

	Update the bidi test code and data

	* test/manual/BidiCharacterTest.txt: Import the version from
	Unicode Standard 9.0.0.
	* test/manual/biditest.el (biditest-generate-testfile): Allow 'x'
	in the 4th field of the test data.

2016-09-17  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-do-toggle-read-only: Fix unused argument

	* lisp/ibuffer.el (ibuffer-do-toggle-read-only): Call
	'read-only-mode' with ARG when its an integer.
	Clarify the meaning of ARG in doc string.

2016-09-17  Alan Mackenzie  <acm@muc.de>

	Improve accuracy of line/column numbers in byte compiler's warning messages.

	* lisp/emacs-lisp/bytecomp.el (byte-compile-set-symbol-position): ensure new
	value of byte-compile-last-position is not lower than old value.
	(byte-compile-function-warn): call byte-compile-set-symbol-position.

2016-09-17  Michael Albinus  <michael.albinus@gmx.de>

	Minor Tramp tweaks

	* lisp/net/tramp.el (tramp-get-buffer): Reuse connection
	property "process-buffer" if already existing.
	(tramp-connectable-p): Suppress debug messages.

2016-09-16  Paul Eggert  <eggert@cs.ucla.edu>

	Define _GNU_SOURCE in unexmacosx.c

	Problem reported by Bob Halley in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00427.html
	* src/unexmacosx.c (_GNU_SOURCE): Define if not already defined.

2016-09-16  Alan Mackenzie  <acm@muc.de>

	C Mode: Fix mis-fontification of macro invocation as function declaration

	This happened with a macro invocation which was followed by a statement block
	in braces.

	* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): CASE 11: distinguish
	between contexts nil and top, being less permissive in the former case.
	(c-just-after-func-arglist-p): call c-forward-decl-or-cast-1 with context top.

2016-09-16  Eli Zaretskii  <eliz@gnu.org>

	Improve the doc string of 'format'

	* src/editfns.c (Fformat): Fix ambiguity in the doc string's usage
	of a literal period.  (Bug#24407)

2016-09-16  Eli Zaretskii  <eliz@gnu.org>

	Improve doc strings in whitespace.el

	* lisp/whitespace.el (whitespace-mode, whitespace-newline-mode)
	(global-whitespace-mode, global-whitespace-newline-mode): Improve
	the doc strings.  (Bug#24413)

2016-09-16  Eli Zaretskii  <eliz@gnu.org>

	Improve detectability of 'next-logical-line' and 'previous-logical-line'

	* lisp/simple.el (next-line, previous-line): Mention
	'next-logical-line' and 'previous-logical-line' in the doc
	strings.  (Bug#24443)

2016-09-16  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-09-16 extensions: fix typo in comment
	2016-09-16 stdio: don't redefine __USE_MINGW_ANSI_STDIO
	* m4/extensions.m4, m4/stdio_h.m4: Copy from gnulib.

2016-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer now-standard int width macros

	* src/data.c (ULL_WIDTH):
	* src/lisp.h (EMACS_INT_WIDTH, BITS_PER_BITS_WORD):
	* src/lread.c (read_integer):
	* src/term.c (produce_glyphless_glyph):
	* src/xterm.c (x_send_scroll_bar_event):
	Use *_WIDTH macros instead of CHAR_BIT * sizeof.
	* src/data.c (ULL_WIDTH): Rename from BITS_PER_ULL for consistency
	with the *_WIDTH standard macros.  All uses changed.
	* src/gmalloc.c (INT_BIT): Remove.  All uses replaced with INT_WIDTH.
	* src/lisp.h (EMACS_INT_WIDTH): Rename from BITS_PER_EMACS_INT
	for consistency with the *_WIDTH standard macros.  All uses changed.
	(BITS_PER_CHAR): Remove; all uses replaced by CHAR_BIT.  This must
	be the same as CHAR_WIDTH and avoids confusion with Elisp
	char-width, which counts columns not bits.
	(BITS_PER_SHORT): Remove; all uses replaced by SHRT_WIDTH.
	(BITS_PER_LONG): Remove; all uses replaced by LONG_WIDTH.
	* src/lread.c: Do not include limits.h since CHAR_BIT is no longer
	used directly.

2016-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-09-15 stdint: support new _WIDTH macros
	2016-09-15 limits-h: new module
	2016-09-15 sys_types: avoid glibc 2.25 warnings about major()
	2016-09-15 extensions: port to more ISO C TSes
	2016-09-13 intprops: new macro TYPE_WIDTH
	2016-09-13 extensions: port to recent ISO C TRs
	* .gitignore: Add lib/limits.h.
	* doc/misc/texinfo.tex, lib/ftoastr.h, lib/intprops.h:
	* lib/stdint.in.h, m4/extensions.m4, m4/stdint.m4, m4/stdio_h.m4:
	* m4/sys_types_h.m4: Copy from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/limits.in.h, m4/limits-h.m4: New files, copie from gnulib.
	* nt/gnulib.mk: Merge changes from lib/gnulib.mk.

2016-09-15  Michael Albinus  <michael.albinus@gmx.de>

	Rework fixing Bug#24432

	* lisp/net/tramp.el (tramp-get-buffer): Set connection property
	"process-buffer" in order to mark connection as active.

	* lisp/net/tramp-cache.el (tramp-get-hash-table)
	(tramp-set-connection-property)
	(tramp-dump-connection-properties): Do not use "active" property.
	(tramp-list-connections): Use "process-buffer" property.

	* lisp/net/tramp-cmds.el (tramp-cleanup-connection): Flush process
	properties prior deletion of process.

2016-09-14  Johan Bockgård  <bojohan@gnu.org>

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix debug spec (Bug#24430).

	* lisp/emacs-lisp/edebug.el (defun): Fix debug spec.

2016-09-14  Eli Zaretskii  <eliz@gnu.org>

	Avoid compiler warning on MS-Windows due to clone_file

	* src/fileio.c (clone_file): Condition on !WINDOWSNT, since the
	call to it is not compiled in that build, and having it defined
	causes compiler warnings.

2016-09-14  Eli Zaretskii  <eliz@gnu.org>

	Avoid aborts in GC due to abort_on_gc

	* src/lisp.h:
	* src/print.c (Fprin1_to_string):
	* src/eval.c (signal_or_quit):
	* src/alloc.c (garbage_collect_1): Remove declarations, setting,
	and testing the value of abort_on_gc.  It is no longer needed, and
	using it causes rare aborts in GC for no good reason.  (Bug#23912)

2016-09-14  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#24432

	* lisp/net/tramp-cache.el (tramp-get-hash-table): Initialize a
	connection as inactive.
	(tramp-set-connection-property): Make the connection active.
	(tramp-dump-connection-properties): Don't save "active" property.
	(tramp-list-connections): List only active connections.  (Bug#24432)

2016-09-14  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't bug out on all-whitespace URLs

	* lisp/net/shr.el (shr-expand-url): Don't bug out on
	degenerate all-whitespace URLs.

2016-09-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	sieve-manage.el: Rename sieve-manage-ignore-broken-tls

	* lisp/net/sieve-manage.el (sieve-manage-ignore-starttls):
	Rename from sieve-manage-ignore-broken-tls.  If it is set,
	sieve-manage will never use STARTTLS even if the server says
	it is capable (but may be broken).

2016-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Port to ISO/IEC TS 18661-1:2014

	* src/character.h (CHARACTER_WIDTH): Rename from CHAR_WIDTH.
	All uses changed.

2016-09-13  Tino Calancha  <tino.calancha@gmail.com>

	dired-jump: Expand file-name before dired-goto-file call

	Command dired-goto-file requires its argument to be an absolute
	file name.  Interactively FILE-NAME is read with read-file-name,
	which could return an abbreviated file name (Bug#24409).
	* lisp/dired-x.el (dired-jump): Use expand-file-name on FILE-NAME.
	Clarify in doc string the meaning of arg FILE-NAME.

2016-09-13  Tino Calancha  <tino.calancha@gmail.com>

	Add test for Bug#21454

	* test/lisp/legacy/files-tests.el (files-test-bug-21454): New test.

2016-09-12  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/sieve-manage.el (sieve-manage-ignore-broken-tls): Add :version.

2016-09-12  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>

	sieve.el: Make the buffer to edit unmodified initially (bug#24423)

	* lisp/net/sieve.el (sieve-edit-script):
	Make the buffer to edit be not modified-p initially (bug#24423).

2016-09-12  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>

	sieve-manage.el: Allow user to avoid STARTTLS capability test (bug#24422)

	* lisp/net/sieve-manage.el
	(sieve-manage-ignore-broken-tls): New user option.
	(sieve-manage-open-server):
	Don't test STARTTLS capability if the option is set (bug#24422).

2016-09-12  Michal Nazarewicz  <mina86@mina86.com>

	Fix compiler thinking width and height may be unitialised in frame.c

	This fixes the following warning:

		frame.c: In function ‘x_set_frame_parameters’:
		frame.c:3329:25: error: ‘width’ may be used uninitialized in
			this function [-Werror=maybe-uninitialized]
		       adjust_frame_size (f, width_change ? width : -1,
	                         ^

	* src/frame.c (x_set_frame_parameters): Drop width_changed and
	height_changed variables in favour of storing that information in
	width and height variables.

2016-09-12  Michal Nazarewicz  <mina86@mina86.com>

	Fix compiler thinking tmpdir may be unitialised in emacsclient

	This fixes the following warning:

		emacsclient.c: In function ‘set_local_socket’:
		/usr/include/x86_64-linux-gnu/bits/string3.h:111:3: error:
			‘tmpdir’ may be used uninitialized in this function
			[-Werror=maybe-uninitialized]
		   return __builtin___stpcpy_chk (__dest, __src, __bos (__dest));
		   ^
		emacsclient.c:1197:17: note: ‘tmpdir’ was declared here
		     const char *tmpdir;

	* lib-src/emacsclient.c (set_local_socket): Get rid of use_tmpdir
	variable and instead use tmpdir being non-NULL as sign that it should
	be used.

2016-09-12  Tino Calancha  <tino.calancha@gmail.com>

	image-dired: Signal an error before calling a missing executable

	Reverts commit ca473907
	Add a defun to check if an executable exists, and call it
	on each function using an external program: when the executable
	is not available signal an error.
	See discussion on:
	https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00135.html
	* lisp/image-dired.el (image-dired--check-executable-exists): New defun.
	Throw and error when the executable arg is missing.
	(image-dired-display-image, image-dired-rotate-thumbnail)
	(image-dired-rotate-original, image-dired-set-exif-data)
	(image-dired-get-exif-data):
	Use it.

2016-09-12  Eli Zaretskii  <eliz@gnu.org>

	Fix daemon shutdown when emacs-kill-hooks ask questions

	* lisp/server.el (server-start): Put the server's kill-emacs-hook
	last, to allow other hooks to have a frame to interact with the
	user.  (Bug#24326)

2016-09-12  Paul Eggert  <eggert@cs.ucla.edu>

	* src/casefiddle.c (casify_word): Simplify.

	* src/casefiddle.c (casify_word): Return Qnil.

2016-09-12  Michal Nazarewicz  <mina86@mina86.com>

	Refactor common code in {upcase,downcase,capitalize}-word functions

	* src/casefiddle.c (operate_on_word): Removed in favour of…
	(casify_word) …new function which does what operate_on_word did plus
	what all of the common code from *-word functions.
	(upcase-word, downcase-word, capitalize-word): Move code common between
	those functions (pretty much the whole body of those functions) into
	casify_word and use that instead of now deleted operate_on_word.

2016-09-11  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/lispref/files.texi: Remove @vindex.

2016-09-11  Paul Eggert  <eggert@cs.ucla.edu>

	Remove unnecessary ref to coreutils manual

	* doc/lispref/files.texi: Document write-region-inhibit-fsync.

2016-09-11  Alan Mackenzie  <acm@muc.de>

	Correctly fontify C++ direct initializations with parens inside functions

	Or, more clearly, when something looks like a function declaration and it's
	inside a function, fontify it as a direct initialization.

	For this purpose, introduce a "brace stack" for each buffer, where an entry on
	the brace stack states how deeply nested a particular position is inside
	braces inside a "top level", which includes classes and namespaces.

	Also introduce a new "context", "top", with which c-font-lock-declarations
	signals to c-forward-decl-or-cast-1 that point is at the top level.

	* lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): add
	c-truncate-bs-cache.
	(c-flat-decl-block-kwds, c-brace-stack-thing-key, c-brace-stack-no-semi-key)
	(c-type-decl-operator-prefix-key): new language constants/variables.

	* lisp/progmodes/cc-engine.el (c-bs-interval, c-bs-cache, c-bs-cache-limit)
	(c-bs-prev-pos, c-bs-prev-stack): New mostly local variables for the brace
	stack cache.
	(c-init-bs-cache, c-truncate-bs-cache, c-truncate-bs-cache, c-brace-stack-at)
	(c-bs-at-toplevel-p): New functions which manipulate the brace stack (cache).
	(c-find-decl-prefix-search): Keep track of whether we're at top level.
	(c-find-decl-spots): New local variable cfd-top-level which records what it
	says.  On calling cfd-fun, pass cfd-top-level as an additional argument.
	(c-forward-declarator): Add new element DECORATED to the result list.  Set it
	to non-nil when a match for c-type-decl-operator-prefix-key is found.
	(c-forward-decl-or-cast-1): Handle the newly introduced context "top".
	Introduce "CASE 9.5", which recognizes direct initializations.

	* lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare)
	(c-font-lock-enum-tail, c-font-lock-cut-off-declarators)
	(c-font-lock-enclosing-decls, c-simple-decl-matchers, c-basic-matchers-after):
	Add appropriate `not-top' argument to calls to c-font-lock-declarators.
	(c-font-lock-declarators): Additional parameter `not-top'.  Use not-top to
	participate in the decision whether to fontify an identifier as a function or
	a variable.
	(c-font-lock-declarations): The internal lambda function takes an additional
	argument `toplev' from c-find-decl-spots, which it uses in determining the
	"context" of a declaration.  Add appropriate `not-top' argument to calls to
	c-font-lock-declarators.
	(c-font-lock-objc-methods): Add extra parameter to internal lambda function,
	like for c-font-lock-declarators.

	* lisp/progmodes/cc-mode.el (c-basic-common-init): Initialize the brace stack
	cache.

2016-09-11  Eli Zaretskii  <eliz@gnu.org>

	Avoid signaling errors when computing "Stop" in GDB menu

	* lisp/progmodes/gdb-mi.el (gdb-show-stop-p): Don't assume
	'gdb-running-threads-count' must have a numeric value.
	(Bug#24414)

2016-09-11  Philipp Stephani  <phst@google.com>

	Stop calling ‘byte-compile-log-warning’

	For errors, use ‘byte-compile-report-error’ instead so that the error
	is registered and causes compilation to fail (Bug#24359).

	For warnings, use ‘byte-compile-warn’ instead so that
	‘byte-compile-error-on-warn’ is honored (Bug#24360).

	* lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled)
	(macroexp--warn-and-return): Use ‘byte-compile-warn’ instead of
	‘byte-compile-log-warning’.

	* lisp/emacs-lisp/bytecomp.el (byte-compile-form, byte-compile-unfold-bcf)
	(byte-compile-setq, byte-compile-funcall): Use
	‘byte-compile-report-error’ instead of ‘byte-compile-log-warning’.
	(byte-compile-log-warning): Convert comment to documentation
	string.  Explain that the function shouldn’t be called directly.
	(byte-compile-report-error): Add optional FILL argument.

	* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
	(cconv--analyze-function, cconv-analyze-form): Use
	‘byte-compile-warn’ instead of ‘byte-compile-log-warning’.

	* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Use
	‘byte-compile-warn’ instead of ‘byte-compile-log-warning’.

	* lisp/subr.el (add-to-list): Use ‘byte-compile-report-error’ instead
	of ‘byte-compile-log-warning’.
	(do-after-load-evaluation): Use ‘byte-compile-warn’ instead of
	‘byte-compile-log-warning’.

2016-09-10  Paul Eggert  <eggert@cs.ucla.edu>

	* etc/NEWS: Remove comment lost in emacs-25 merge.

2016-09-10  Paul Eggert  <eggert@cs.ucla.edu>

	Document file synchronization issues

	* doc/lispref/files.texi (Files and Storage): New section.

2016-09-10  Paul Eggert  <eggert@cs.ucla.edu>

	copy-file now uses GNU/Linux file cloning

	From a suggestion by Kieran Colford (see Bug#23904).
	* configure.ac: Check for linux/fs.h.
	* src/fileio.c [HAVE_LINUX_FS_H]: Include sys/ioctl.h and linux/fs.h.
	(clone_file): New function.
	(Fcopy_file): Use it.

2016-09-10  Alan Third  <alan@idiocy.org>

	Invert y coord of NS image files (bug#7847)

	* src/nsterm.m (ns_dumpglyphs_image): Invert y co-ordinate of the image
	when compositing.

2016-09-10  Noam Postavsky  <npostavs@gmail.com>

	Don't require isearch-update before isearch-done

	It is useful to be able to call `isearch-done' unconditionally to
	ensure a non-isearching state.

	* lisp/isearch.el (isearch-done): Check that `isearch--current-buffer'
	is a live buffer before using it (Bug #21091).
	* test/lisp/isearch-tests.el (isearch--test-done): Test it.

2016-09-09  Simen Heggestøyl  <simenheg@gmail.com>

	* lisp/emacs-lisp/ring.el: Use lexical-binding

	* lisp/emacs-lisp/ring.el (ring-elements): Don't use the RESULT
	argument of `dotimes' when the iteration variable isn't referred by
	it.
	(ring-member): Don't pass nil as the RESULT argument of `dotimes'
	since it's the default.

2016-09-08  Michal Nazarewicz  <mina86@mina86.com>

	Split regex character class test into smaller chunks

	Having one test for all character classes it is not always trivial to
	determine which class is failing.  This happens when failure is caused
	by ‘(should (equal (point) (point-max)))’ not being met.

	With per-character class tests, it is immidiatelly obvious which test
	causes issues plus tests for all classes are run even if some of them
	fail.

	* test/src/regex-tests.el (regex-character-classes): Delete and split
	into…
	(regex-tests-alnum-character-class, regex-tests-alpha-character-class,
	regex-tests-ascii-character-class, regex-tests-blank-character-class,
	regex-tests-cntrl-character-class, regex-tests-digit-character-class,
	regex-tests-graph-character-class, regex-tests-lower-character-class,
	regex-tests-multibyte-character-class,
	regex-tests-nonascii-character-class,
	regex-tests-print-character-class, regex-tests-punct-character-class,
	regex-tests-space-character-class,
	regex-tests-unibyte-character-class,
	regex-tests-upper-character-class, regex-tests-word-character-class,
	regex-tests-xdigit-character-class): …new tests.

2016-09-08  Michal Nazarewicz  <mina86@mina86.com>

	Don’t allocate char-table’s extra slots in regexp-out-charset

	* lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Do not use
	'case-table as charmap char-table’s property.  The function has nothing
	to do with casing and in addition using 'case-table causes unnecessary
	extra slots to be allocated which ‘regexp-opt-charset’ does not use.

2016-09-08  Michal Nazarewicz  <mina86@mina86.com>

	Remove dead loop iterations in regex.c

	RE_CHAR_TO_MULTIBYTE(c) yields c for ASCII characters and a byte8
	character for c ≥ 0x80.  Furthermore, CHAR_BYTE8_P(c) is true only
	for byte8 characters.  This means that

		c = RE_CHAR_TO_MULTIBYTE (ch);
		if (! CHAR_BYTE8_P (c) && re_iswctype (c, cc))

	is equivalent to:

		c = c;
		if (! false && re_iswctype (c, cc))

	for 0 ⪬ c < 0x80, and

		c = BYTE8_TO_CHAR (c);
		if (! true && re_iswctype (c, cc))

	for 0x80 ⪬ c < 0x100.  In other words, the loop never executes for
	c ≥ 0x80 and RE_CHAR_TO_MULTIBYTE call is unnecessary for c < 0x80.

	* src/regex.c (regex_compile): Simplyfy a for loop by eliminating
	dead iterations and unnecessary macro calls.

2016-09-08  Michal Nazarewicz  <mina86@mina86.com>

	Replace decimalnump with alphanumericp

	decimalnump was used in regex.c only in ISALNUM macro which ored it with
	alphabeticp.  Because both of those functions require Unicode general
	category lookup, this resulted in unnecessary lookups (if alphabeticp
	return false decimalp had to perform another lookup).  Drop decimalnump
	in favour of alphanumericp which combines decimelnump with alphabeticp.

	* src/character.c (decimalnump): Remove in favour of…
	(alphanumericp): …new function.

	* src/regex.c (ISALNUM): Use alphanumericp.

2016-09-08  Michal Nazarewicz  <mina86@mina86.com>

	Remove inaccurate comment in regex.c

	* src/regex.c (regex_compile): Remove comment indicating that wctype of
	some character classes may be negative.  All wctypes are in fact
	non-negative.

2016-09-08  Michal Nazarewicz  <mina86@mina86.com>

	STRING_CHAR does not unify characters; update documentation

	* src/character.h (STRING_CHAR): Update doc.
	* src/buffer.h (FETCH_MULTIBYTE_CHAR): Update doc.  While at it, change
	the function to use BYTE_POS_ADDR instead of open-coding it.

2016-09-08  Simen Heggestøyl  <simenheg@gmail.com>

	Add tests for ring.el

	* test/lisp/emacs-lisp/ring-tests.el: New file with tests for ring.el.

2016-09-07  Martin Rudalics  <rudalics@gmx.at>

	New file test/src/marker-tests.el

2016-09-07  Paul Eggert  <eggert@cs.ucla.edu>

	Port flexible array members to GCC + valgrind

	These changes are needed to conform to the C standard's rule for
	allocating structs containing flexible array members.  C11 says
	that malloc (offsetof (struct s, m) + n) does not suffice to
	allocate a struct with an n-byte tail; instead, malloc’s arg
	should be rounded up to the nearest multiple of alignof (struct s).
	Although this is arguably a defect in C11, gcc -O2 + valgrind
	sometimes complains when this rule is violated, and when debugging
	it’s better to keep valgrind happy.
	For details please see the thread containing the message at:
	https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00416.html
	* lib-src/ebrowse.c, src/alloc.c, src/image.c, src/process.c:
	Include flexmember.h.
	* lib-src/ebrowse.c (add_sym, add_member, make_namespace)
	(register_namespace_alias):
	* src/alloc.c (SDATA_SIZE, allocate_string_data):
	* src/image.c (xpm_cache_color, imagemagick_create_cache):
	* src/process.c (Fmake_network_process):
	Use FLEXSIZEOF instead of offsetof and addition.
	* src/alloc.c (SDATA_SIZE, vector_alignment):
	Use FLEXALIGNOF instead of sizeof (ptrdiff_t).
	* src/lisp.h (ALIGNOF_STRUCT_LISP_VECTOR):
	Remove, as alloc.c can now calculate this on its own.

2016-09-07  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-09-07 flexmember: new macro FLEXALIGNOF
	2016-09-07 flexmember: port better to GCC + valgrind
	2016-08-18 Port modules to use getprogname explicitly
	2016-09-02 manywarnings: add -fno-common
	* admin/merge-gnulib (GNULIB_TOOL_FLAGS): Don’t avoid flexmember,
	since time_rz now uses part of it.  Instead, remove m4/flexmember.m4.
	* configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Define away,
	since Emacs assumes C99 and therefore removes m4/flexmember.m4.
	* lib/euidaccess.c, lib/group-member.c, lib/time_rz.c:
	* m4/manywarnings.m4: Copy from gnulib.
	* lib/flexmember.h: New file, from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

2016-09-07  Noam Postavsky  <npostavs@gmail.com>

	Don't --load directories

	* lisp/startup.el (command-line-1): Only pass expanded FILENAME argument
	of --load when it refers to a normal file, since `load' doesn't handle
	directories (Bug #16406).

2016-09-07  Peder O. Klingenberg  <peder@klingenberg.no>

	Avoid error in icalendar--read-element

	* lisp/calendar/icalendar.el (icalendar--read-element): Avoid a regex
	stack overflow by not using regex to extract values from calendar
	events. (Bug#24315)

2016-09-07  Kaushal Modi  <kaushal.modi@gmail.com>

	Fix back-white <-> black-white typo

	* lisp/ps-print.el (ps-begin-job): back-white -> black-white (Bug#24308)

2016-09-07  Alan Third  <alan@idiocy.org>

	Fix cursor at bottom left of rectangle (bug#24364)

	* lisp/rect.el (rectangle--col-pos): Don't assume point at EOL doesn't
	require rectangle--point-crutches to be set.

2016-09-07  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of convert-standard-filename on MS-Windows

	* lisp/files.el (convert-standard-filename): Doc fix.  (Bug#24387)

	* etc/NEWS: Suggest a way for mirroring slashes where previously
	'convert-standard-filename' was used.

2016-09-06  Paul Eggert  <eggert@cs.ucla.edu>

	Use DEV_TTY more consistently

	* src/conf_post.h (DEV_TTY): Move from here ...
	* src/keyboard.c, src/keyboard.h: ... to here, as it doesn’t need
	to be visible everywhere.  Make it a constant.
	* src/keyboard.c (handle_interrupt, Fset_quit_char):
	* src/process.c (create_process): Prefer DEV_TTY to "/dev/tty".

2016-09-06  Eli Zaretskii  <eliz@gnu.org>

	Avoid assertion violations when using marker positions

	* src/intervals.c (set_point_from_marker): If MARKER comes from
	another buffer, recalculate its byte position before using it to
	set point.
	* src/marker.c (set_marker_internal): If POSITION is a marker from
	another buffer, recalculate its byte position before using it.
	(Bug#24368)

2016-09-06  Alan Mackenzie  <acm@muc.de>

	* lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Fix coding bug

2016-09-06  Alan Mackenzie  <acm@muc.de>

	New options for handling of literals in c-syntactic-re-search-forward

	* lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): `noerror' can
	be given the values `before-literal' and `after-literal', so that when a
	search fails, and the `bound' is inside a literal, point is left respectively
	before or after that literal.

2016-09-05  Eli Zaretskii  <eliz@gnu.org>

	Avoid assertion violations when scrolling narrowed buffer

	* src/window.c (window_scroll_pixel_based):
	* src/xdisp.c (pos_visible_p): Don't allow simulated redisplay to
	start outside the accessible portion of the buffer.  This avoids
	assertion violations when some Lisp narrows the buffer to less
	than the current window, and then attempts to scroll the buffer.

2016-09-05  Eli Zaretskii  <eliz@gnu.org>

	Treat SIGINT correctly in GUI sessions on MS-Windows

	* src/w32proc.c (sys_signal): Don't reject SIGINT, as it is
	supported by MS runtime.
	* src/term.c (DEV_TTY): Move from here ...
	* src/conf_post.h (DEV_TTY): ... to here.  Separate definitions
	for WINDOWSNT and for the rest.
	* src/keyboard.c (handle_interrupt_signal): Use DEV_TTY instead of
	a literal "/dev/tty".

	* etc/NEWS: Mention the behavior change.

2016-09-04  Alan Third  <alan@idiocy.org>

	Fix synthetic bold on macOS retina displays

	* src/macfont.m (macfont_draw): Multiply the synthetic bold scaling
	factor by the OS window backing scale factor.

2016-09-04  Tino Calancha  <tino.calancha@gmail.com>

	image-dired: Report when a necessary executable is not found

	See discussion on:
	https://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00552.html
	* lisp/image-dired.el (image-dired-cmd-rotate-original-program)
	(image-dired-cmd-create-thumbnail-program)
	(image-dired-cmd-create-temp-image-program)
	(image-dired-cmd-rotate-thumbnail-program)
	(image-dired-cmd-write-exif-data-program)
	(image-dired-cmd-read-exif-data-program):
	Use executable-find to set the defaut value of this option.
	(image-dired-cmd-rotate-original-program): Idem.
	Search for program 'convert' if 'jpegtran' is not available.
	(image-dired-cmd-rotate-original-options):
	Set the default value consistent with the executable in
	image-dired-cmd-rotate-original-program.
	(image-dired-create-thumb, image-dired-display-image)
	(image-dired-rotate-thumbnail, image-dired-rotate-original)
	(image-dired-set-exif-data, image-dired-get-exif-data):
	Throw and error when the executable used in the function is missing.
	(image-dired-next-line, image-dired-previous-line):
	Use 'forward-line'.

2016-09-03  Tino Calancha  <tino.calancha@gmail.com>

	image-type-from-file-name: Perform a case insensitive match

	Fix Bug#24317
	* lisp/image.el (image-type-from-file-name): Bind case-fold-search
	to a non-nil value to force a case insensitive match.
	* lisp/image-dired.el (image-dired-rotate-original):
	Use image-type (Bug#24317).
	(image-dired-get-exif-file-name): Idem.
	Set 'no-exif-data-found' and 'data' in same setq call.
	Use file-attribute-modification-time.

2016-09-03  Tino Calancha  <tino.calancha@gmail.com>

	image-increase-size: Fix non-interactive calls

	* lisp/image.el (image-increase-size, image-decrease-size):
	Compute a floating point division.
	Problem reported in:
	https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00067.html

2016-09-03  Robert Cochran  <robert-git@cochranmail.com>

	Fix uses of (call-interactively) in lisp/emacs-lisp/checkdoc.el

	Passing the prefix argument as the 3rd argument to 'call-interactively'
	causes the prefix argument to be interpreted as events, which is not
	only wrong, but also causes a type error, as 'current-prefix-arg' can
	never be a vector as 'call-interactively' expects.  'call-interactively'
	automatically passes its prefix argument to the called function, so just
	do that, eliminating faulty behavior.

	* lisp/emacs-lisp/checkdoc.el (checkdoc-ispell):
	(checkdoc-ispell-current-buffer):
	(checkdoc-ispell-interactive):
	(checkdoc-ispell-message-text):
	(checkdoc-ispell-start):
	(checkdoc-ispell-continue):
	(checkdoc-ispell-comments):
	(checkdoc-ispell-defun):
	Do not pass 'current-prefix-arg' to 'call-interactively' as an event
	vector; merely allow it to propagate forward to the interactive call.

2016-09-03  Richard Stallman  <rms@gnu.org>

	Fix mail-combine-fields

	* lisp/mail/sendmail.el (mail-combine-fields): Call `save-excursion' to
	avoid losing our place in the search loop.

2016-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	Check actual contents before promting about changed file

	* lisp/userlock.el (userlock--check-content-unchanged)
	(userlock--ask-user-about-supersession-threat): New functions.
	* src/filelock.c (lock_file): Use them to avoid spurious prompting.
	* doc/lispref/buffers.texi (Modification Time): Update doc of
	ask-user-about-supersession-threat.

2016-09-02  Michael Albinus  <michael.albinus@gmx.de>

	Make a reference to fakecygpty in the Tramp manual

	* doc/misc/tramp.texi (Windows setup hints): Make a reference to
	fakecygpty on the Emacs Wiki.
	(Frequently Asked Questions): Fix url.

2016-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	Don’t create fd >= FD_SETSIZE

	This avoids a potential crash if too many subprocesses (Bug#24325).
	* src/process.c [HAVE_SETRLIMIT]: Include <sys/resource.h>.
	(init_process_emacs): If ulimit -n is greater than FD_SETSIZE,
	set it to FD_SETSIZE.

2016-09-01  Alan Mackenzie  <acm@muc.de>

	Fix c-declaration-limits to return correct limits in all cases.

	This function is the guts of c-indent-defun and c-mark-function.

	In particular, when c-defun-tactic is nil, return a correct value rather than
	always nil, and when it's 'go-outward, go through an intricate algorithm to
	determine the requisite narrowing before the "top-level" defuns go to work.

	* lisp/progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block): Enhance
	to take additional optional parameter LEVEL, saying how many enclosing levels
	of decl-block to narrow to.
	(c-declaration-limits): Introduce algorithm to determine narrowing.  Use
	c-where-wrt-to-brace-block to determine whether to go back to BOD to determine
	lower bound.

2016-09-01  Eli Zaretskii  <eliz@gnu.org>

	* nt/inc/ms-w32.h (execve) [MINGW_W64]: Make commentary more accurate.

2016-09-01  Eli Zaretskii  <eliz@gnu.org>

	Avoid compiler warnings with MinGW64 GCC 6

	* nt/inc/ms-w32.h (execve) [MINGW_W64]: Make the prototype match
	the GCC 6 builtin, to avoid warnings.  For more details, see
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00721.html.

2016-08-31  Paul Eggert  <eggert@cs.ucla.edu>

	Fix over-substitution of quotes on error

	Problem reported by Tino Calancha in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00000.html
	* src/print.c (print_error_message):
	Substitute quotes in errmsg only when gotten from a property.

2016-08-31  Eli Zaretskii  <eliz@gnu.org>

	Improve testing of etags

	* test/manual/etags/y-src/cccp.c:
	* test/manual/etags/y-src/parse.c: Correct #line directives to
	allow testing invalidate_nodes in etags.c.
	* test/manual/etags/ETAGS.good_1:
	* test/manual/etags/ETAGS.good_2:
	* test/manual/etags/ETAGS.good_3:
	* test/manual/etags/ETAGS.good_4:
	* test/manual/etags/ETAGS.good_5:
	* test/manual/etags/ETAGS.good_6:
	* test/manual/etags/CTAGS.good: Adapt to changes in test files.

2016-08-31  Eli Zaretskii  <eliz@gnu.org>

	* lib-src/etags.c (invalidate_nodes): Fix another thinko.

2016-08-31  Paul Eggert  <eggert@cs.ucla.edu>

	Fix etags problems found by static checking

	* lib-src/etags.c (invalidate_nodes, put_entry):
	Remove now-unnecessary tests for null pointers.  Simplify.
	(put_entries): Rewrite to avoid GCC 6.2 warning about
	dereferencing null pointer.

2016-08-31  Eli Zaretskii  <eliz@gnu.org>

	Fix a thinko in etags.c

	* lib-src/etags.c (invalidate_nodes): Don't try to dereference
	a null pointer.

2016-08-31  Eli Zaretskii  <eliz@gnu.org>

	Avoid recursive calls in etags

	* lib-src/etags.c (stack_entry): New struct.
	(push_node, pop_node, put_entry): New functions.
	(free_tree, add_node, invalidate_nodes, put_entries): Re-implement
	in a non-recursive way, to avoid stack overflow.  (Bug#5847)

2016-08-31  Leo Liu  <sdl.web@gmail.com>

	Add 451 to url-http-codes

	* lisp/url/url-http.el (url-http-codes): Add 451.

2016-08-30  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>

	* src/editfns.c (Fformat_message): Fix doc to match current behavior.

2016-08-30  Paul Eggert  <eggert@cs.ucla.edu>

	Minor doc quoting fixes

	* doc/misc/htmlfontify.texi (Interactive):
	* lisp/htmlfontify.el (htmlfontify-buffer):
	Spell out character names, for clarity.  The old doc string
	generated the *Help* text ‘^L ([FF]) or ¤ (244)’, where ‘[FF]’
	stands for a form feed character; this was confusing.
	* lisp/electric.el (electric-quote-mode):
	* src/doc.c (syms_of_doc):
	* src/editfns.c (Fformat_message):
	Remove no-longer-necessary ‘\=’s in doc strings.

2016-08-30  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-08-30 intprops: tune INT_NEGATE_OVERFLOW for GCC 5 and 6
	2016-08-29 xalloc-oversized.h: port change to GCC 6.2.0
	2016-08-29 intprops.h: port recent changes to GCC 6.2.0
	2016-08-29 intprops.h: use __typeof__ with GCC 7
	2016-08-29 intprops.h, xalloc-oversized.h: work with gcc 7
	2016-08-24 intprops: fix paren typo on old platforms
	2016-08-24 intprops: port to OpenVMS
	* lib/intprops.h, lib/xalloc-oversized.h: Copy from gnulib.

2016-08-30  Tassilo Horn  <tsdh@gnu.org>

	Fix rules for \phi and \varphi which were reversed

	* lisp/leim/quail/latin-ltx.el: Special-case phi/varphi because those
	  are reversed in ucs-names.  Also remove FIXME stating sigma/varsigma
	  were reversed which is not true (anymore?).

2016-08-30  Tassilo Horn  <tsdh@gnu.org>

	Fix prettification of \phi, \varphi, and \varsigma

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Fix
	  prettification of \phi, \varphi, and \varsigma.

	Concretely, \phi's symbol was actually varphi, \varphi was missing, and
	\varsigma was commented out with a FIXME that it was reversed with
	\sigma which it was not.

2016-08-30  Karl Fogel  <kfogel@red-bean.com>

	Use normal double quotes in TeX / LaTeX comments

	* lisp/textmodes/tex-mode.el (tex-insert-quote): When in a comment,
	  default to inserting a normal double quote (") instead of TeX-style
	  open (``) or close ('') quote marks.

	* etc/NEWS (TeX mode): Note the change.

	* test/lisp/electric-tests.el (autowrapping-7): Adjust accordingly.

	See this thread for discussion:

	  https://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00611.html
	  From: Karl Fogel <kfogel {_AT_} red-bean.com>
	  To: Emacs Development <emacs-devel {_AT_} gnu.org>
	  Subject: [PATCH] Have LaTeX mode use normal double quotes in comments.
	  Date: Mon, 29 Aug 2016 14:44:12 -0500
	  Message-ID: <87twe3icmr.fsf@red-bean.com>

2016-08-30  Alan Mackenzie  <acm@muc.de>

	Correctly analyze C++ list initialization in member init areas.

	* lisp/progmodes/cc-engine.el (c-back-over-list-of-member-inits): Remove a
	superfluous call to c-backward-syntactic-ws.
	(c-looking-at-or-maybe-in-bracelist): Change calling convention, so that it
	reports encountering the Java "new" keyword.  Add, as an alternative, a check
	that we can move back over member initializations, and handle this as finding
	a brace block.
	(c-looking-at-special-brace-list, c-guess-continued-construct): Adapt to the
	new calling convention of c-looking-at-or-maybe-in-bracelist.
	(c-guess-basic-syntax, CASE 5A.3): Replace lots of inline ad-hoc code with
	calls to c-backward-over-enum-header and c-looking-at-or-maybe-in-bracelist,
	using the extra info from the value of that function to generate a
	topmost-into-cont element where needed (in Java).

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to the new
	calling convention of c-looking-at-or-maybe-in-bracelist.

	* lisp/progmodes/cc-mode.el (c-fl-decl-start): Adapt to the new calling
	convention of c-looking-at-or-maybe-in-bracelist.

2016-08-30  Michael Albinus  <michael.albinus@gmx.de>

	Use `file-attribute-*' in Tramp

	* lisp/net/tramp-compat.el (tramp-compat-file-attribute-type)
	(tramp-compat-file-attribute-link-number)
	(tramp-compat-file-attribute-user-id)
	(tramp-compat-file-attribute-group-id)
	(tramp-compat-file-attribute-modification-time)
	(tramp-compat-file-attribute-size)
	(tramp-compat-file-attribute-modes): New defaliases.

	* lisp/net/tramp.el (tramp-handle-file-modes)
	(tramp-handle-file-newer-than-file-p)
	(tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
	(tramp-handle-set-visited-file-modtime)
	(tramp-handle-verify-visited-file-modtime)
	(tramp-get-local-gid, tramp-check-cached-permissions):
	* lisp/net/tramp-adb.el (tramp-adb-handle-file-directory-p)
	(tramp-adb-handle-file-truename, tramp-adb-handle-copy-file):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
	(tramp-gvfs-handle-file-directory-p)
	(tramp-gvfs-handle-write-region, tramp-gvfs-get-remote-uid)
	(tramp-gvfs-get-remote-gid):
	* lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
	(tramp-sh-handle-set-visited-file-modtime)
	(tramp-sh-handle-verify-visited-file-modtime)
	(tramp-sh-handle-file-newer-than-file-p)
	(tramp-sh-handle-file-ownership-preserved-p)
	(tramp-do-copy-or-rename-file)
	(tramp-do-copy-or-rename-file-via-buffer)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-sh-handle-file-local-copy)
	(tramp-sh-handle-write-region):
	* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
	(tramp-smb-handle-copy-file)
	(tramp-smb-handle-file-directory-p)
	(tramp-smb-handle-file-writable-p)
	(tramp-smb-handle-insert-directory): Use them.

2016-08-30  Martin Rudalics  <rudalics@gmx.at>

	In `pop-to-buffer' handle case where `display-buffer' fails (Bug#24332)

	* lisp/window.el (pop-to-buffer): Don't assume that
	`display-buffer' has supplied a window (Bug#24332).
	Rename BUFFER argument to BUFFER-OR-NAME.
	* doc/lispref/windows.texi (Switching Buffers): Fix
	`pop-to-buffer' documentation.

2016-08-29  Alan Third  <alan@idiocy.org>

	Clarify docstrings

	* src/nsterm.m: Clarified that ns-x-modifier variables require a symbol.

2016-08-29  Michael Albinus  <michael.albinus@gmx.de>

	Use `process-live-p' in Tramp

	* lisp/net/tramp-compat.el (tramp-compat-process-live-p): New defun.

	* lisp/net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
	(tramp-handle-file-notify-valid-p)
	(tramp-action-process-alive, tramp-action-out-of-band)
	(tramp-wait-for-regexp):
	* lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
	(tramp-adb-maybe-open-connection):
	* lisp/net/tramp-cache.el (tramp-get-connection-property):
	* tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
	* lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
	(tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
	* tramp-sh.el (tramp-process-sentinel)
	(tramp-sh-handle-file-notify-add-watch)
	(tramp-maybe-open-connection):
	* lisp/net/lisp/net/lisp/net/tramp-smb.el (tramp-smb-action-with-tar)
	(tramp-smb-handle-copy-directory, tramp-smb-action-get-acl)
	(tramp-smb-handle-process-file, tramp-smb-action-set-acl)
	(tramp-smb-get-cifs-capabilities)
	(tramp-smb-get-stat-capability)
	(tramp-smb-maybe-open-connection, tramp-smb-wait-for-output)
	(tramp-smb-kill-winexe-function): Use it.

2016-08-29  Eli Zaretskii  <eliz@gnu.org>

	Avoid crashes for invalid value of key modifiers

	* src/keyboard.c (parse_solitary_modifier): If the argument SYMBOL
	is not a symbol, don't try to recognize it.  See
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00502.html
	for the details.

	* test/src/keymap-tests.el (keymap-where-is-internal-test): New
	test, for testing the above fix.

2016-08-29  Oleh Krehel  <ohwoeowho@gmail.com>

	Make dired-do-compress understand files with spaces in them

	* lisp/dired-aux.el (dired-compress-file): Add `shell-quote-argument'
	  and `literal' flag to `replace-regexp-in-string'.

2016-08-28  Paul Eggert  <eggert@cs.ucla.edu>

	* INSTALL.REPO: Suggest Texinfo 4.13 or later.

2016-08-28  Simen Heggestøyl  <simenheg@gmail.com>

	Add tests for dom.el

	* test/lisp/dom-tests.el: New file with tests for dom.el.

2016-08-28  Paul Eggert  <eggert@cs.ucla.edu>

	Memory allocator alignment fixes

	These changes remove some assumptions about heap allocator
	alignment that may not be true on unusual platforms.
	* src/alloc.c (POWER_OF_2): New macro.
	(ROUNDUP): Use it.
	(BLOCK_ALIGN): Verify that it is a power of 2.
	(aligned_alloc): Check that alignment passed to posix_memalign
	satisfies POSIX restrictions.
	(lisp_align_malloc): Check that size passed to aligned_alloc
	satisfies C11 restrictions.
	(MALLOC_IS_GC_ALIGNED): Check that GCALIGNMENT is 8, since the
	code has not been verified to work with other GCALIGNMENT values
	and the ice is thin here.  On GNU/Linux, malloc can return a value
	that is a multiple of 8 but not 16, even though __alignof__
	(max_align_t) is 16.  See:
	https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01902.html
	(lmalloc) [USE_ALIGNED_ALLOC]: Use aligned_alloc only if size
	is a multiple of alignment, since C11 says the behavior is
	undefined otherwise.
	(lmalloc, lrealloc): Don't use INT_ADD_WRAPV on size_t, as in
	general this macro is restricted to signed types.  Remove
	assertion that the result is a multiple of GCALIGNMENT, as that
	need not be true.

2016-08-28  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings for lib-src/pop.c

	* lib-src/pop.c: Include c-ctype.h.
	(socket_connection): Pacify --enable-gcc-warnings by rewriting to
	avoid 'if (v = E) ...'.  Use c_tolower, instead of a combination
	of the (undeclared) isupper and tolower.  Fix pointer constness
	problem.

2016-08-27  Alan Mackenzie  <acm@muc.de>

	Handle the C++ "identifiers" "final" and "override" correctly.

	This fixes bug #24319, allowing destructors affixed with these identifiers to
	be correctly fontified.

	* lisp/progmodes/cc-engine.el (c-forward-type, c-forward-decl-or-cast-1):
	After reaching the "end" of a type expression, skip over any occurrences of
	c-type-decl-suffix-ws-ids-key.

	* lisp/progmodes/cc-langs.el (c-type-modifier-kwds): Remove "override" and
	"final" from the C++ value.
	(c-type-decl-suffix-ws-ids-kwds, c-type-decl-suffix-ws-ids-key): New lang
	constants/variables for "final" and "override".

2016-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/textmodes/page-ext.el (pages-directory-mode): Use special-mode.

2016-08-27  Alan Mackenzie  <acm@muc.de>

	Handle template delimiters in C++ member init constructs.

	* lisp/progmodes/cc-engine.el (c-back-over-list-of-member-inits): Add
	handling for "<....>"s.

2016-08-26  Eli Zaretskii  <eliz@gnu.org>

	Fix etags test suite messed up by merges from emacs-25

	* test/manual/etags/go-src/test.go:
	* test/manual/etags/go-src/test1.go: Move from test/etags/.
	* test/manual/etags/ruby-src/test1.ru: Replace test1.ruby.
	* test/etags/: Directory deleted.

2016-08-26  Simen Heggestøyl  <simenheg@gmail.com>

	Add "supports" to list of CSS at-rules

	* lisp/textmodes/css-mode.el (css-at-ids): Add "supports" at-rule.

2016-08-26  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-get-remote-perl): Perform a basic check.

	(Bug#22478)

2016-08-25  Tino Calancha  <tino.calancha@gmail.com>

	Rename option to shell-command-dont-erase-buffer

	Suggested by Clément Pit--Claudel in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00487.html
	* lisp/simple.el (shell-command-dont-erase-buffer):
	(shell-command--save-pos-or-erase):
	(shell-command--set-point-after-cmd):
	(shell-command-on-region):
	* doc/emacs/misc.texi (shell-command-dont-erase-buffer):
	* etc/NEWS (Changes in Emacs 25.2):
	Rename from shell-command-not-erase-buffer.

2016-08-25  Alan Mackenzie  <acm@muc.de>

	Fix an infinite loop in C++ Mode when we have "{ .... [ .... }"

	* lisp/progmodes/cc-fonts.el (c-font-lock-c++-lambda-captures): In the inner
	`while' form's condition, check for "\\s)" rather than merely "\\]", so that
	the loop won't hang at a "terminating" paren of a different type (due to the
	c-syntactic-re-search-forward at the end of the loop stopping at such
	characters).

2016-08-25  Tino Calancha  <tino.calancha@gmail.com>

	call-shell-region: New defun

	Suggested by Stefan Monnier in Bug#22679.
	* lisp/subr.el (call-shell-region): New defun; execute a command
	in an inferior shell with the buffer region as input.
	* lisp/simple.el (shell-command-on-region): Use it.
	* lisp/gnus/message.el (message-do-fcc): Idem.
	* doc/lispref/processes.texi: Document call-shell-region in the manual.
	;* etc/NEWS: Add entry for this new function.

2016-08-25  Martin Rudalics  <rudalics@gmx.at>

	In ‘clone-indirect-buffer’ fix argument mixup (Bug#24306)

	* lisp/simple.el (clone-indirect-buffer): Add value for ACTION
	argument in `pop-to-buffer' call (Bug#24306).

2016-08-25  Martin Rudalics  <rudalics@gmx.at>

	Some fixes around `delete-other-frames' and `next-frame'

	* src/frame.c (Fdelete_frame): Clarify doc-string.
	* lisp/frame.el (delete-other-frames): Delete other frames on
	FRAME's terminal instead of the current terminal.  Delete
	non-minibuffer-only surrogate frames too.  See
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00467.html
	* doc/lispref/frames.texi (Deleting Frames): Minor fixes for
	docs of `delete-frame' and `frame-live-p'.  Add entry for
	`delete-other-frames'.
	(Finding All Frames): Fix doc of `next-frame'.

2016-08-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Find message.el thumbnail toggling

	* lisp/gnus/message.el (message-toggle-image-thumbnails):
	Don't infloop when toggling thumbnails.

2016-08-24  Alan Third  <alan@idiocy.org>

	Fix macOS 12 deprecation notices

	* src/nsterm.h: Add #defines to allow older versions of macOS to use the
	new constant names.
	* src/nsmenu.m: Replace old constant names with
	new.
	(fillWithWidgetValue): Remove calls to deprecated
	setMenuChangedMessagesEnabled.
	* src/nsterm.m: Replace old constant names with new.
	* src/nsfns.m: Replace old constant names with new.

2016-08-23  Alan Mackenzie  <acm@muc.de>

	Analyze and fontify correctly a C++ `enum' with colon, but lacking a tag.

	* lisp/progmodes/cc-engine.el (c-backward-typed-enum-colon): Check for "enum"
	directly preceding the colon, and handle it.

2016-08-23  Noah Friedman  <friedman@splode.com>

	* src/xfns.c (Fx_change_window_property): Modify previous change.
	Instead of forcing format to 8 for strings, check that the length of
	the string is appropriate for whatever format given.
	(Fx_window_property_attributes): If prop isn't found on frame's inner window,
	try its outer window.  This mimics the behavior of Fx_window_property.

2016-08-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix invalid image rotations

	* lisp/image.el (image-rotate): Limit rotation to 360 degrees.

2016-08-23  Tino Calancha  <tino.calancha@gmail.com>

	call-process instead of call-process-region with empty region

	* lisp/calc/calc-graph.el (calc-graph-show-tty):
	Use call-process and shell-command-switch.

2016-08-22  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	927afa1 ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2
	6bf83b5 * etc/AUTHORS: Update the AUTHORS file
	73cbb81 ; ChangeLog spelling fixes
	9b99772 Some assorted documentation clarifications
	37d4723 Improve commentary in src/character.h
	5ccd593 ; Fix typo in /etc/NEWS
	96e3d16 * etc/NEWS: Mention the change in json-encode-string.
	2e524034 ; * etc/NEWS: Mention incompatible change in url-http-create...
	2e4e74e Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac...
	66dea65 ; * doc/lispref/windows.texi (Window Parameters): Grammar twe...

	# Conflicts:
	#	ChangeLog.2
	#	lisp/ldefs-boot.el

2016-08-22  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	66dea65 ; * doc/lispref/windows.texi (Window Parameters): Grammar twe...

2016-08-22  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	8c2946e In NEWS describe new handling of window margins (Bug#24193)
	0cee66c Facultatively ignore margins when splitting and resizing wind...
	8d68147 Document CATEGORY arg to modify-category-entry
	8342e74 Document char-script-table's effect on word motion
	e9ff485 Further fix for 'url-http-create-request' and multibyte strings
	0695235 Fix docstring of eval-expression
	98b01dd Clarify when 'cursor' property is in effect
	75f1882 Convert the remaining strings to unibyte before concatenating
	d2db5dd Fix bug with handling the bidi cache
	ccd0e92 * doc/lispref/text.texi (Change Hooks): Minor copyedits.
	f785ff4 Clarify documentation of before/after-change-functions
	3c9cb57 Document use of vectors in keymaps

	# Conflicts:
	#	src/xdisp.c

2016-08-22  Michael Albinus  <michael.albinus@gmx.de>

	Handle remote file names in gdb-mi.el

	* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer):
	If `default-directory' is remote, full file names are adapted
	accordingly.  (Bug#23608)

2016-08-22  Eli Zaretskii  <eliz@gnu.org>

	Display mini-window resized even when there are several frames

	* src/xdisp.c (x_consider_frame_title): Bind inhibit-redisplay to
	t to avoid resizing back the mini-window as result of considering
	the title of other frames.  (Bug#24285)
	(redisplay_window): No need to bind inhibit-redisplay here.

2016-08-22  Michael Albinus  <michael.albinus@gmx.de>

	Explain gdb warning on remote hosts

	* doc/misc/tramp.texi (Remote processes): Explain gdb warning
	on remote hosts.  (Bug#4604, Bug#6360, Bug#622569)

2016-08-21  Martin Rudalics  <rudalics@gmx.at>

	Fix (next-frame nil t) crash (Bug#24281)

	* src/frame.c (candidate_frame): Check minibuf argument before
	comparing it to zero (Bug#24281).

2016-08-21  Noah Friedman  <friedman@splode.com>

	Fix interpretation of signed vs unsigned values when retrieving X
	Window properties, and make sure the full value is returned when not
	parsed.

	New subr to export type and format information about X Window
	properties to lisp.

	* src/xselect.c (selection_data_to_lisp_data): Treat any data as
	unsigned unless its actual type is INTEGER.
	CARDINALs, in particular, are unsigned.

	* src/xfns.c (Fx_change_window_property): If value is a string, ignore
	any provided format and force to 8.
	(x_window_property_intern): If returning value as a string, the length
	is actual_size times the actual format of each element, which is not
	necessarily bytes.
	(Fx_window_property_attributes): New subr.
	(syms_of_xfns): Declare it.

2016-08-21  Noam Postavsky  <npostavs@gmail.com>

	Improve error when installing non-package dirs

	* lisp/emacs-lisp/package.el (package-dir-info): Throw meaningful error
	when no file with package info is found (Bug #19851).

2016-08-21  Alan Mackenzie  <acm@muc.de>

	Adapt CC Mode for C++11 uniform initialization.

	For fontification, introduce a new "context", 'non-decl, to be used for
	brace
	lists; also a new value for the property 'c-type, called 'c-not-decl.

	* lisp/progmodes/cc-engine.el (c-back-over-compound-identifier): Check that
	an ostensible symbol we're going to move over isn't a keyword.
	(c-forward-decl-or-cast-1): CASE 1: Where we have two consecutive identifiers
	(hence a declaration), and an unmatched open paren, perform
	c-fdoc-shift-type-backwards to recognize the partial construct correctly.
	Whilst checking a type decl expression, check for and handle C++11's "copy
	initialization", where we have <type>(<constant>).  Recognize
	<id><id>(... (where the paren is unclosed) as a declaration.
	(c-looking-at-or-maybe-in-bracelist): New function, extracted from
	c-inside-bracelist-p.  Recognize as bracelists "{"s which are preceded by
	valid tokens other than "=".  Recognize a bracelist when preceded by a
	template declaration.
	(c-inside-bracelist-p): Call c-looking-at-or-maybe-in-bracelist in place of
	much inline code.
	(c-looking-at-inexpr-block): Amend so that it won't wrongly recognise an
	initialization starting "({" as an in-expression block, by checking for
	semicolons, as opposed to commas, separating elements inside it.
	(c-guess-continued-construct): (CASE B-2): Recognize a brace-list-open by
	calling c-looking-at-or-maybe-in-bracelist rather than checking for a
	preceding "=".  (CASE B-5): New code to recognize new construct "return {
	...}".
	(c-guess-basic-syntax): (CASE 5A.3): Additionally recognize a "{" preceded by
	"return", or "{" preceded by <type><identifier> as a bracelist.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Recognize brace
	lists, giving them `context' 'non-decl.  Pass over elements of one by regexp
	search for "," rather than calling c-forward-decl-or-cast-1.

	* lisp/progmodes/cc-langs.el (c-return-kwds, c-return-key): New lang
	constants/variables to recognize "return".
	(c-pre-id-bracelist-key): New lang constant/variable to recognize tokens
	which, when preceding an identifier followed by a brace, signify the brace as
	a bracelist.

	* lisp/progmodes/cc-mode.el (c-fl-decl-start): When searching outwards for
	the start of a "local" declaration, move out from an enclosing brace when
	that is the start of a brace list.

2016-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-08-17 maint: preprocessor changes to support z/OS
	2016-08-17 string: rename to avoid '__string'
	* doc/misc/texinfo.tex, lib/alloca.in.h, lib/string.in.h:
	Copy from gnulib.

2016-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Minor text-quoting-style fixes

	* src/charset.c (check_iso_charset_parameter):
	* src/frame.c (store_frame_param):
	* src/xselect.c (x_fill_property_data):
	Use grave accent for left single quote in ‘error’ format strings.

2016-08-21  Martin Rudalics  <rudalics@gmx.at>

	Fix semantics of 'minibuffer' frame parameter

	The 'minibuffer' frame parameter is now t for a normal frame
	(a frame with a root window plus a minibuffer window) and the
	frame's minibuffer window for a minibuffer-less frame (a frame
	whose minibuffer window is on another frame).  See also:
	https://lists.gnu.org/archive/html/emacs-devel/2016-07/msg01259.html

	* src/frame.c (make_frame, make_frame_without_minibuffer)
	(make_minibuffer_frame): When assigning the frame's minibuffer
	window also store corresponding 'minibuffer' frame parameter.
	(store_frame_param): Move the 'minibuffer' parameter checks to
	the beginning so we can silently override the value before it
	gets stored in the parameter alist.  Fix error handling.
	(Fframe_parameters): Return value of 'minibuffer' parameter
	unmodified.

	* lisp/frameset.el (frameset-filter-minibuffer): When the cdr of
	the parameter is a minibuffer window, save (minibuffer . nil)
	instead of (minibuffer . t).
	(frameset--reuse-frame): To find a non-minibuffer-only frame
	look out for a frame whose 'minibuffer' parameter is t instead
	of that frame's minibuffer window.
	(frameset-minibufferless-first-p): To find a minibuffer-less
	frame look out for a frame whose 'minibuffer' parameter is a
	window instead of nil.

2016-08-20  Alan Mackenzie  <acm@muc.de>

	* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Resolve overelaborate "nil"

2016-08-20  Alan Mackenzie  <acm@muc.de>

	In c-\(go-\)?-\(up-\|down-\)?list-\(forward\|backward\) check limit isn't nil

	Check the limit both at macro expansion time (for a hard coded nil) and at run
	time in the generated code.  Tidy up these macros generally.

	* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Check `limit' is present and
	not identically nil before generating a narrow-to-region call.  Generate code
	to check `limit' is not nil at run time.
	(c-go-list-forward, c-go-list-backward): Remove the generation of redundant
	narrow-to-region, instead calling c-safe-scan-lists directly.
	(c-go-up-list-forward, c-go-up-list-backward, c-go-down-list-forward)
	(c-go-down-list-backward): Invoke the corresponding macros without the "go-"
	to determine the destination position instead of generating a redundant
	narrow-to-region.

2016-08-19  Robert Cochran  <robert-git@cochranmail.com>

	* lisp/emacs-lisp/map.el (map--dispatch): Fix docstring

	The docstring referenced a non-existant parameter, as well as a
	parameter that has been renamed since the docstring was written. Fix
	both errors, fixing (Bug#24182).

2016-08-19  Alan Mackenzie  <acm@muc.de>

	Amend hack-local-variables-prop-line not always to return any mode on line 1.

	This fixes bug #24266.

	* lisp/files.el (hack-local-variables-prop-line): Change the name of the
	parameter mode-only to handle-mode.  Change its meaning, such that it being
	set to a value non-nil and not t removes any mode parameter from the result
	list.  Leave its values nil and t with the same meanings they had.
	(hack-local-variables): Call hack-local-variables-prop-line appropriately.

2016-08-19  Daiki Ueno  <ueno@gnu.org>

	Improve doc string of epg-*-program

	* lisp/epg-config.el (epg-gpg-program, epg-gpgsm-program):
	Suggest to use Customize when setting.  (Bug#24229)

2016-08-19  Tino Calancha  <tino.calancha@gmail.com>

	Add tests for Bug#24264

	* test/lisp/emacs-lisp/cl-seq-tests.el (cl-seq-test-bug24264):
	Add test for Bug#24264.
	(cl-seq-fill-test, cl-seq-replace-test)
	(cl-seq-remove-test ,cl-seq-delete-test)
	(cl-seq-remove-duplicates-test, cl-seq-substitute-test)
	(cl-seq-nsubstitute-test, cl-seq-position-test)
	(cl-seq-count-test, cl-seq-mismatch-test)
	(cl-seq-search-test, cl-seq-test-bug24264):
	Add tests for all functions in the file; test all keywords.

2016-08-18  Johan Bockgård  <bojohan@gnu.org>

	Fix bug in --eval reply message from server

	* lisp/server.el (server-reply-print): Fix check for truncated quote
	sequence at end of message. Problem reported in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00101.html

2016-08-18  Eli Zaretskii  <eliz@gnu.org>

	Add tests for 'substitute-command-keys'

	* test/src/doc-tests.el (doc-test-substitute-command-keys): New
	tests.

2016-08-18  Oleh Krehel  <ohwoeowho@gmail.com>

	lisp/textmodes/table.el (table-generate-source): Fix completing-read call

	Doesn't make sense to pass '(("html") ("latex") ("cals")) to
	`completing-read'.

2016-08-18  Oleh Krehel  <ohwoeowho@gmail.com>

	lisp/dired-aux.el (dired-compress-file-suffixes): Add entry for tgz

	The previous behavior resulted in a "tgz" -> "tar" -> "tgz" loop,
	without any files being extracted.

2016-08-18  Andreas Politz  <politza@hochschule-trier.de>

	Don't let window start override window point in `window-state-put' (Bug#24240)

	* lisp/window.el (window--state-put-2): Set 'noforce argument
	when restoring a window's start position.  This avoids that the
	effect of `set-window-point' gets overidden by that of
	`set-window-start' (Bug#24240).

2016-08-17  Alan Mackenzie  <acm@muc.de>

	Fontify constructs following "::" in C++ argument lists correctly - part 2.

	This fixes bug #24246.

	* lisp/progmodes/cc-engine.el (c-find-decl-prefix-search): Put a
	`save-match-data' around the new `looking-at' introduced by the previous CC
	Mode patch this evening.

2016-08-17  Alan Mackenzie  <acm@muc.de>

	Fontify constructs following "::" in C++ argument lists correctly.

	This fixes bug #24246.

	* lisp/progmodes/cc-engine.el (c-find-decl-prefix-search): In the "pseudo
	match" loop, test a found string for a match with c-opt-identifier-concat-key
	(e.g. with "::").

2016-08-17  Paul Eggert  <eggert@cs.ucla.edu>

	* src/doc.c (Fsubstitute_command_keys): Clarify GC comments.

2016-08-17  K. Handa  <handa@gnu.org>

	Fix hz encoding and decoding (bug#23814)

	* lisp/language/china-util.el (decode-hz-region): Pay
	attention to "~~}" sequence at the end of Chinese character
	range.
	(hz-category-table): New variable.
	(encode-hz-region): Convert non-encodable characters to
	\u... and \U...  Preserve ESC on ecoding.  Put
	`chinese-gb2312' `charset' text property in advance to force
	iso-2022-encoding to select chinese-gb2312 designation.

2016-08-17  Tino Calancha  <tino.calancha@gmail.com>

	file-attribute-collect: New defun

	* lisp/files.el (file-attribute-collect):
	Return a sublist of the attributes returned by 'file-attributes'.
	Suggested by Ted Zlatanov in:

	http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg01195.html

2016-08-17  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#24203

	* lisp/comint.el (comint-password-prompt-regexp): Relax regexp.  (Bug#24203)

2016-08-16  Karl Fogel  <kfogel@red-bean.com>

	Improve doc string.

	* src/fileio.c (Ffile_name_as_directory): Be precise about the
	conditions under which a slash is appended.

2016-08-16  Paul Eggert  <eggert@cs.ucla.edu>

	Omit substitute-command-keys code no longer needed

	* src/doc.c (Fsubstitute_command_keys):
	Remove duplicate initializations.

2016-08-16  Tino Calancha  <tino.calancha@gmail.com>

	Allow not erase output buffer in shell commands

	* lisp/simple.el (shell-command-not-erase-buffer): New option to allow
	not erasing the output buffer between shell commands.  Defaults to nil.
	(shell-command-on-region): Use it.
	(shell-command--save-pos-or-erase): New defun; store a buffer position
	if 'shell-command-not-erase-buffer' is non-nil; otherwise
	erase the output buffer of the shell command.
	(shell-command, shell-command-on-region): Use it.
	(shell-command--set-point-after-cmd): New defun;
	if 'shell-command-not-erase-buffer' is non-nil, set point
	in the output buffer to the position in 'shell-command-saved-pos'.
	(shell-command-sentinel, shell-command-on-region): Use it.
	* doc/emacs/misc.texi (shell-command-not-erase-buffer):
	Document this feature in the manual.
	See discussion on:
	http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00610.html

2016-08-16  Michael Albinus  <michael.albinus@gmx.de>

	Rearrange Tramp manual title page

	* doc/misc/tramp.texi: Move @insertcopying out of the title
	page.  Do not use @ifnottex anymore.

2016-08-15  Glenn Morris  <rgm@gnu.org>

	* doc/misc/tramp.texi: Adapt 2016-08-14 change for makeinfo 4.

2016-08-15  Alan Mackenzie  <acm@muc.de>

	Fix minor bug in c-syntactic-re-search-forward.

	Bug was: when NOERROR is neither nil nor t, BOUND is non-nil, PAREN-LEVEL is
	non-nil, and the first internal search attempt fails, point wrongly ends up at
	BOUND, rather than just before the next closing paren.

	* lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Guard against
	the above situation.

2016-08-15  Alan Mackenzie  <acm@muc.de>

	Handle C++11 lambda functions.

	* lisp/progmodes/cc-engine.el (c-looking-at-inexpr-block): Enhance also to
	handle C++ lambda functions.
	(c-looking-at-c++-lambda-capture-list): New function.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Recognize the
	parameter list of a lambda function and set `context' and
	`c-restricted-<>-arglists' suitably for it.
	(c-font-lock-c++-lambda-captures): New function.
	(c-complex-decl-matchers): Insert c-font-lock-c++-lambda-captures into it.

	* lisp/progmodes/cc-langs.el (c-pre-lambda-tokens, c-pre-lambda-tokens-re):
	New language constants/variables.
	(c-paren-nontype-kwds): Include "noexcept" in the C++ value.

	* lisp/progmodes/cc-mode.el (c-fl-decl-start): Handle being in a C++ lambda
	function capture list.

2016-08-15  Michael Albinus  <michael.albinus@gmx.de>

	Fix stale cache problem in Tramp

	* lisp/net/tramp-cache.el (tramp-get-connection-property):
	Check, that a process as key is still running.  (Bug#22478)

2016-08-14  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/misc/tramp.texi (Configuration): Fix @xref typo.

2016-08-14  Eli Zaretskii  <eliz@gnu.org>

	Another fix for scroll-conservatively and overlay strings

	* src/xdisp.c (redisplay_window): Handle also the case where the
	calculated window-start point has an overlay string touching it.
	(Bug#24179)

2016-08-14  Michael Albinus  <michael.albinus@gmx.de>

	Improve handling of defcustoms in tramp

	* doc/misc/tramp.texi: Protect all multi-line examples by
	@group ... @end group.  Use proper `custom-set-variables'
	examples.  Use consequently @option for user options.  Remove
	superfluous @cindex and @vindex entries.
	(Top): Remove reference to outdated mail archives.
	(Configuration): Tune references.
	(Default Method): Make `tramp-default-method' and
	`tramp-default-method-alist' a @defopt.
	(Default User): Make `tramp-default-user' and
	`tramp-default-user-alist' a @defopt.
	(Default Host): Make `tramp-default-host' and
	`tramp-default-host-alist' a @defopt.

	* lisp/net/tramp.el (tramp-mode, tramp-verbose)
	(tramp-backup-directory-alist, tramp-auto-save-directory)
	(tramp-encoding-shell, tramp-encoding-command-switch)
	(tramp-encoding-command-interactive, tramp-default-method)
	(tramp-default-method-alist, tramp-default-user)
	(tramp-default-user-alist, tramp-default-host)
	(tramp-default-host-alist, tramp-default-proxies-alist)
	(tramp-save-ad-hoc-proxies)
	(tramp-restricted-shell-hosts-alist)
	(tramp-local-end-of-line, tramp-rsh-end-of-line)
	(tramp-login-prompt-regexp, tramp-shell-prompt-pattern)
	(tramp-password-prompt-regexp, tramp-wrong-passwd-regexp)
	(tramp-yesno-prompt-regexp, tramp-yn-prompt-regexp)
	(tramp-terminal-prompt-regexp)
	(tramp-operation-not-permitted-regexp)
	(tramp-copy-failed-regexp, tramp-process-alive-regexp)
	(tramp-syntax, tramp-chunksize)
	(tramp-process-connection-type, tramp-connection-timeout)
	(tramp-connection-min-time-diff)
	(tramp-completion-reread-directory-timeout):
	* lisp/net/tramp-adb.el (tramp-adb-program)
	(tramp-adb-connect-if-not-connected, tramp-adb-prompt):
	* lisp/net/tramp-cache.el (tramp-connection-properties)
	(tramp-persistency-file-name):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-methods)
	(tramp-gvfs-zeroconf-domain)
	(tramp-bluez-discover-devices-timeout):
	* lisp/net/tramp-sh.el (tramp-inline-compress-start-size)
	(tramp-copy-size-limit, tramp-terminal-type)
	(tramp-histfile-override)
	(tramp-use-ssh-controlmaster-options, tramp-remote-path)
	(tramp-remote-process-environment, tramp-sh-extra-args):
	* lisp/net/tramp-smb.el (tramp-smb-program, tramp-smb-acl-program)
	(tramp-smb-conf, tramp-smb-winexe-program)
	(tramp-smb-winexe-shell-command)
	(tramp-smb-winexe-shell-command-switch): Add :require 'tramp.

2016-08-13  Paul Eggert  <eggert@cs.ucla.edu>

	Minor text-quoting-style fixes

	* lisp/cus-edit.el (custom-buffer-create-internal):
	* lisp/recentf.el (recentf-edit-list):
	Follow text-quoting-style preference when quoting in UI strings.
	* src/doc.c (Fsubstitute_command_keys): Don’t say that curved
	quotes are substituted for, as this is no longer true.

2016-08-13  Paul Eggert  <eggert@cs.ucla.edu>

	Fix substitute-command-keys unibyte, alloc bugs

	* src/doc.c (Fsubstitute_command_keys): Fix some problems with
	unibyte strings and with buffer allocation.  Make strings
	multibyte, to avoid problems with unibyte strings that are not
	valid UTF-8 (Bug#24206).  Redo buffer allocation so that it is
	O(N), not O(N**2).  Avoid going past the end of the input string
	when given invalid input.  Avoid some unlikely problems in
	accessing the wrong storage after a GC.

2016-08-13  Joakim Jalap  <joakim.jalap@fastmail.com>

	Fix "C-u" when an input method is active

	* lisp/international/quail.el (quail-input-method): Defer to the
	input method iff 'overriding-terminal-local-map' is
	'universal-argument-map' and the given key has no binding there.
	(Bug#22958)

2016-08-13  Martin Rudalics  <rudalics@gmx.at>

	Fix docs on `display-buffer-below-selected' (Bug#24213)

	* lisp/window.el (display-buffer-below-selected): Fix
	doc-string (Bug#24213).
	* doc/lispref/windows.texi (Display Action Functions): Fix
	documentation of `display-buffer-below-selected'.

2016-08-12  Tino Calancha  <tino.calancha@gmail.com>

	cl-fill: Rename arguments to cl-seq and cl-item

	* lisp/emacs-lisp/cl-seq.el (cl-fill):
	Rename arguments to 'cl-seq' and 'cl-item' as elsewhere.

2016-08-12  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Fix display.texi typo

	* doc/lispref/display.texi (Faces): Fix typo.

2016-08-11  Paul Eggert  <eggert@cs.ucla.edu>

	Fix process leak with make-network-process

	This problem was introduced by the recent async changes (Bug#23808).
	* src/process.c (Fmake_process): Move USE_SAFE_ALLOCA later,
	so that it follows the start_process_unwind unwind-protect.
	Set pid to -1 while the process is being created.
	(start_process_unwind): Omit unnecessary emacs_abort test.
	(connect_network_socket): Simplify use of counts.  Unwind
	bind_polling_period a bit earlier, so that a remove_process
	unwind-protect can be added when needed; this is the heart of
	the fix.  Undo the unwind-protect just before returning.

2016-08-11  Eli Zaretskii  <eliz@gnu.org>

	Avoid annoying re-scroll when buffer has many overlay strings

	* src/xdisp.c (redisplay_window): Add better recovery from a
	situation where window-start is on buffer position which has a
	before-string that includes newlines, with the result that point
	is not visible in the window, because the display engine starts
	displaying with the before-string.  (Bug#24179)

2016-08-10  Paul Eggert  <eggert@cs.ucla.edu>

	Omit unnecessary process initialization

	* src/process.c (make_process, Fmake_process)
	(Fmake_pipe_process, Fmake_serial_process)
	(Fmake_network_process, server_accept_connection):
	Omit unnecessary initialization of already-cleared storage.

2016-08-10  Tino Calancha  <tino.calancha@gmail.com>

	cl-delete-duplicates: Parse :if to have cl-if bound

	* lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates):
	We need also to parse keyword :if, otherwise cl-if
	is unbound.
	This reverts commit:
	68fdbeb917b80e29e0b15506f18f7ed41d8ffdfd

2016-08-10  Tino Calancha  <tino.calancha@gmail.com>

	cl-delete-duplicates: do not parse :if keyword

	* lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates):
	Parse only the supported keywords.

2016-08-10  Michael Albinus  <michael.albinus@gmx.de>

	Add compatibility layer for `temporary-file-directory-function'

	* lisp/net/tramp-compat.el
	(tramp-compat-temporary-file-directory-function): New defalias.

	* lisp/net/tramp.el (tramp-handle-make-nearby-temp-file): Use it.

	* test/lisp/net/tramp-tests.el (tramp-test32-make-nearby-temp-file):
	Skip for older Emacs versions.

2016-08-10  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/comint.el (comint-password-prompt-regexp): Add "PEM" for OpenVPN.

	(Bug#24059)

2016-08-10  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Handle nil cell value in compiled printer functions.

	* doc/misc/ses.texi (Quick Tutorial): Minor clarification about the
	ses-range `!' modifier.
	(More on cell printing): Fix this that the fallback printer is
	`ses-prin1', not "%S".  That makes a difference for any cell value for
	which "%S" would insert a backslash characters.

	* lisp/ses.el (ses-local-printer-compile): Handle the nil cell value
	--- contrary to emacs-25 branches ses-call-printer does not handle
	prior to calling a function printer.  Not doing this would still work
	because the compiled function would throw and error and SES would in
	the end resort to the ses-prin1 fallback, however this way would not
	be in line with the raison d'être of compiling printer which is speed.

2016-08-09  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on lexical-binding in json.el

	Measuring with (benchmark-run 100 (json-read-file "foobar.json"))
	showed 12-31% reduction in execution time.
	* lisp/json.el: Turn on lexical-binding.

2016-08-09  Mark Oteiza  <mvoteiza@udel.edu>

	Nudge WoMan toward lexical-binding

	* lisp/woman.el (woman-parse-man.conf, woman-manpath-add-locales):
	Use cl-pushnew instead of add-to-list.
	(woman-justify-list): Rename to woman-justify-styles.
	(woman-justify-styles): New array.
	(woman-justify, woman-decode-region, woman2-ad, woman2-na): Use it.
	(woman-cached-data): Use cl-pushnew instead of add-to-list.

2016-08-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Apply changes from commits 3c97b0f758 and 8a38e948b0 to master branch.

	Here follows the logs from the two commits which I apply to master.

	commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d
	Author: Vincent Belaïche <vincentb1@users.sourceforge.net>
	Date:   Fri Jul 29 13:44:14 2016 +0200

	Fix ses-delete-blanks to delete only blanks + documentation.

	* doc/misc/ses.texi (Quick Tutorial): Mention the '!'
	'ses-range' modifier as an alternative to 'ses+'.
	(Advanced Features): Add a refernce to node 'Nonrelocatable
	references' concerning function 'ses-rename-cell'.
	(Standard formula functions): Mention the '!' 'ses-range'
	modifier as an alternative to 'ses-delete-blanks'.
	(More on cell printing): Fix fallback printer
	definition.  Minor editorial formatting changes.
	(Nonrelocatable references): Document the use of
	'ses-rename-cell' as a better way to make cell reference
	non-relocatable.
	(The data area): Document the presence of local printer
	definitions in the data area.

	* lisp/ses.el (ses-delete-blanks): Do not remove
	*error*.  Any error in an argument should propagate into the
	using formula rather than being silently hidden !

	commit 8a38e948b039516e70176ebe20c5349e2ade6ac5
	Author: Vincent Belaïche <vincentb1@users.sourceforge.net>
	Date:   Thu Jul 28 19:49:37 2016 +0200

	Fix local printer set to left aligned string formatter.

	* lisp/ses.el (ses-local-printer-compile): Add missing case
	for left-aligned string formatter.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	* .dir-locals.el (c-noise-macro-names): Remove NONVOLATILE.

2016-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cconv.el: Fix λ-lifting in the presence of shadowing

	Change the code which detects and circumvents the case where one of the
	variables used in λ-lifting is shadowed, so that it also works when the
	shadowing comes before the λ-lifted function (bug#24171).

	(cconv--remap-llv): New function, extracted from cconv-convert.
	(cconv-convert): Use it, but differently for `let' and `let*'.

2016-08-09  Alan Mackenzie  <acm@muc.de>

	CC Mode: check for and fix missing call to before_change_functions.

	Fixes bug #24094 and bug #24074.

	This can happen with `revert-buffer' or sometimes `find-file', when the file
	is already in a buffer, but the file has been changed outside of Emacs.

	* lisp/progmodes/cc-mode (c-after-change): When we detect a missing
	invocation of c-before-change-functions, we assume the changed region is the
	entire buffer, and call c-before-change explicitly before proceding.

2016-08-09  Alan Mackenzie  <acm@muc.de>

	Make c-deprepertize-CPP work on deletion/insertion of "s.  Fixes bug #24132.

	* lisp/progmodes/cc-mode.el (c-depropertize-CPP): Rewrite function.

2016-08-09  Michael Albinus  <michael.albinus@gmx.de>

	Support $ENV in Tramp

	* doc/misc/tramp.texi (Remote processes): Explain setting $ENV.

	* etc/NEWS: Explain the "ENV" environment variable in
	`tramp-remote-process-environment'.

	* lisp/net/tramp-sh.el (tramp-remote-process-environment): Add "ENV=''".
	(tramp-open-shell): Read $ENV value from
	`tramp-remote-process-environment'.
	(tramp-open-connection-setup-interactive-shell): Set values in
	proper order.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify exec_byte_code via moving decls etc.

	* src/bytecode.c (exec_byte_code): Simplify, mostly by moving
	initializers into decls, and by omitting some unnecessary
	changes to ‘top’.  This improves performance a bit on x86-64,
	as it happens.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Remove interpreter’s byte stack

	This improves performance overall on my benchmark on x86-64,
	since the interpreted program-counter resides in a machine
	register rather than in RAM.
	* etc/DEBUG, src/.gdbinit: Remove xbytecode GDB command, as there
	is no longer a byte stack to decode.
	* src/bytecode.c (struct byte_stack, byte_stack_list)
	(relocate_byte_stack): Remove.  All uses removed.
	(FETCH): Simplify now that pc is now local (typically, in a
	register) and no longer needs to be relocated.
	(CHECK_RANGE): Remove.  All uses now done inline, in a different way.
	(BYTE_CODE_QUIT): Remove; now done by op_relative_branch.
	(exec_byte_code): Allocate a copy of the function’s bytecode,
	so that there is no problem if GC moves it.
	* src/lisp.h (struct handler): Remove byte_stack member.
	All uses removed.
	(SAFE_ALLOCA_LISP_EXTRA): New macro, a generalization of
	SAFE_ALLOCA_LISP.
	(SAFE_ALLOCA_LISP): Use it.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Remove arbitrary limit on bytecode maxdepth

	* src/bytecode.c (exec_byte_code): Remove MAX_ALLOCA-based limit
	on bytecode maxdepth, by using SAFE_ALLOCA_LISP instead of alloca.

	pipeline is fuller.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Tune bytecode quitting

	* src/bytecode.c (BYTE_CODE_QUIT): Check for GC, too.  Do the
	check only once every 256 times.  This should be good enough, and
	improves performance significantly on x86-64 as branch-prediction
	typically assumes checking will not be done so the instruction
	pipeline stays fuller.
	(exec_byte_code): Set up the quit counter.  Don’t call maybe_gc
	directly, as BYTE_CODE_QUIT does that now.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify BYTE_CODE_SAFE checking

	* src/bytecode.c (BYTE_CODE_SAFE): Default to false, so that it
	can be used outside #if.  All uses of ‘defined BYTE_CODE_SAFE’
	changed to ‘BYTE_CODE_SAFE’.  Use BYTE_CODE_SAFE in plain
	expressions instead of #if expressions when this is easy.
	(struct byte_stack) [BYTE_CODE_SAFE]: Remove member ‘bottom’,
	as it is no longer needed.
	(exec_byte_code): Omit #if BYTE_CODE_SAFE when this is easy.
	Simplify stack-overflow checking when BYTE_CODE_SAFE.

2016-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Get BYTE_CODE_METER working again

	BYTE_CODE_METER hasn’t worked since 2013, and nobody seems to have
	noticed.  Perhaps we should remove it?
	* src/bytecode.c (METER_2) [BYTE_CODE_METER]:
	Use *aref_addr instead of AREF, since it needs to be an lvalue.

2016-08-08  Eli Zaretskii  <eliz@gnu.org>

	Fix cursor position under scroll-conservatively and overlay strings

	* src/xdisp.c (try_scrolling): Handle the case where the last
	visible screen line of a window displays a before- or after-string
	that takes up the whole screen line, and therefore there's no
	place to display the cursor, even though the window does seem to
	include the position of point.  (Bug#24179)

2016-08-08  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/files.el (file-ownership-preserved-p): Fix docstring.  (Bug#23998)

2016-08-07  Paul Eggert  <eggert@cs.ucla.edu>

	Tune interpretation of integer arglist descriptor

	* src/bytecode.c (exec_byte_code):
	Simplify and tune when INTEGERP (args_template).

2016-08-07  Noam Postavsky  <npostavs@gmail.com>

	Fix debugging of string-match-p errors

	* src/eval.c (call_debugger): Bind inhibit-changing-match-data to nil so
	that debugger code that needs to do regexp match won't break
	(Bug #23949, Bug #24166, Bug#16294).

2016-08-07  Michael Albinus  <michael.albinus@gmx.de>

	Add `make-nearby-temp-file' and `temporary-file-directory'

	* doc/lispref/files.texi (Unique File Names):
	Introduce `make-nearby-temp-file' and `temporary-file-directory'.
	(Magic File Names): Mention `make-nearby-temp-file' and
	`temporary-file-directory'.

	* etc/NEWS (provided): Mention `make-nearby-temp-file' and
	`temporary-file-directory'.

	* lisp/files.el (mounted-file-systems): New defcustom.
	(temporary-file-directory, make-nearby-temp-file): New defuns.
	(normal-backup-enable-predicate): Fix docstring.

	* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
	* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
	<make-nearby-temp-file, temporary-file-directory>: Add handler.

	* lisp/net/tramp.el (tramp-file-name-for-operation):
	Add `make-nearby-temp-file' and `temporary-file-directory'.
	(tramp-get-remote-tmpdir): Remove compatibility code.
	(tramp-handle-temporary-file-directory)
	(tramp-handle-make-nearby-temp-file): New defuns.

	* lisp/org/ob-core.el (org-babel-local-file-name):
	* lisp/progmodes/gud.el (gud-common-init):
	* lisp/vc/vc-hooks.el (vc-user-login-name): Use `file-remote-p'.

	* lisp/vc/vc-git.el (vc-git-checkin): Handle remote log message.

	* test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
	Check `tramp--test-enabled'.
	(tramp-test18-file-attributes): Add tests for
	`file-ownership-preserved-p'.
	(tramp-test27-start-file-process, tramp-test28-shell-command):
	Reduce timeouts in `accept-process-output'.
	(tramp-test--shell-command-to-string-asynchronously): Add timeout.
	(tramp-test29-environment-variables): Remove additional sleep calls.
	(tramp-test32-make-nearby-temp-file): New test.
	(tramp--test-special-characters, tramp--test-utf8): Adapt docstring.
	(tramp-test33-special-characters)
	(tramp-test33-special-characters-with-stat)
	(tramp-test33-special-characters-with-perl)
	(tramp-test33-special-characters-with-ls, tramp-test34-utf8)
	(tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
	(tramp-test34-utf8-with-ls)
	(tramp-test35-asynchronous-requests)
	(tramp-test36-recursive-load, tramp-test37-unload): Rename.
	(tramp--test-ftp-p): Simplify check.
	(tramp--test-sh-p): New defun.
	(tramp-test20-file-modes, tramp-test22-file-times)
	(tramp-test26-process-file, tramp-test27-start-file-process)
	(tramp-test28-shell-command)
	(tramp-test29-environment-variables)
	(tramp-test30-vc-registered)
	(tramp-test33-special-characters-with-stat)
	(tramp-test33-special-characters-with-perl)
	(tramp-test33-special-characters-with-ls)
	(tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
	(tramp-test34-utf8-with-ls)
	(tramp-test35-asynchronous-requests): Use it.

2016-08-06  Michael Albinus  <michael.albinus@gmx.de>

	Add missing dcstrings in Tramp, remove chec for obsolee methods

	* lisp/net/tramp.el (tramp-progress-reporter-update)
	(tramp-unload-file-name-handlers, tramp-get-local-uid)
	(tramp-get-local-gid, tramp-get-local-locale):
	* lisp/net/tramp-adb.el (tramp-adb-ls-date-regexp)
	(tramp-adb-ls-toolbox-regexp, tramp-adb-get-ls-command):
	* lisp/net/tramp-compat.el (tramp-compat-funcall):
	* lisp/net/tramp-ftp.el (tramp-ftp-enable-ange-ftp):
	* lisp/net/tramp-gw.el (tramp-gw-process-filter):
	* lisp/net/tramp-sh.el (tramp-get-remote-path)
	(tramp-get-remote-locale, tramp-get-ls-command)
	(tramp-get-ls-command-with-dired)
	(tramp-get-ls-command-with-quoting-style)
	(tramp-get-ls-command-with-w-option)
	(tramp-get-test-nt-command, tramp-get-file-exists-command)
	(tramp-get-remote-ln, tramp-get-remote-perl)
	(tramp-get-remote-stat, tramp-get-remote-readlink)
	(tramp-get-remote-trash, tramp-get-remote-touch)
	(tramp-get-remote-gvfs-monitor-dir)
	(tramp-get-remote-inotifywait, tramp-get-remote-id)
	(tramp-get-remote-uid-with-id)
	(tramp-get-remote-uid-with-perl, tramp-get-remote-python)
	(tramp-get-remote-uid-with-python, tramp-get-remote-uid)
	(tramp-get-remote-gid-with-id)
	(tramp-get-remote-gid-with-perl)
	(tramp-get-remote-gid-with-python, tramp-get-remote-gid)
	(tramp-get-env-with-u-option): Add missing docstrings.

	* lisp/net/tramp.el (tramp-obsolete-methods)
	(tramp-warned-obsolete-methods): Remove.
	(tramp-find-method): Do not check for obsolete methods any longer.

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Make sh-mode always use p-s-lookup-properties

	This lets functions which rely on syntax-propertize for parsing
	work correctly even before font lock has a chance to run.

	* lisp/progmodes/sh-script.el (sh-set-shell): Set
	parse-sexp-lookup-properties unconditionally (Bug #4920).

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Fix cl-assert with atomp FORM, non-nil SHOW-ARGS

	* lisp/emacs-lisp/cl-macs.el (cl-assert): Don't require that FORM is a
	list when showing its (non-existent) arguments (Bug #18587).

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Don't delete selection after indent-rigidly

	* lisp/indent.el (indent-rigidly): Pass `deactivate-mark' as the ON-EXIT
	function to `set-transient-map', this prevents `delete-selection-mode'
	from deleting the text that was just indented (Bug #20408).

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Fix byte-compile of interactive closures

	* lisp/emacs-lisp/bytecomp.el (byte-compile--reify-function): Put
	bindings after docstring and `interactive' form, if any (Bug #24122).

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Error if --eval arg has text beyond 1 expression

	* lisp/startup.el (command-line-1): If --eval argument has more data
	than constitutes a single Lisp expression, signal an error (Bug #23159).

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Fix quoted lambda warning from lexical-let

	* lisp/emacs-lisp/cl.el (cl--function-convert): Quote the inner lambda
	with `function', not `quote' (Bug #11357).

2016-08-06  Noam Postavsky  <npostavs@gmail.com>

	Make emerge always use shell-quote-argument

	* lisp/vc/emerge.el (emerge-metachars): Obsolete.
	(emerge-protect-metachars): Delete.
	(emerge-make-diff-list, emerge-make-diff3-list): Replace all calls to
	`emerge-protect-metachars' with `shell-quote-argument' so that shell
	quoting is done the same on all system types (Bug #6136).  Also shell
	quote `emerge-diff-program' and `emerge-diff3-program'.

2016-08-06  Eli Zaretskii  <eliz@gnu.org>

	Fix 'dired-diff' when backup file is in another directory

	* lisp/dired-aux.el (dired-diff): Clarify the doc string wrt how
	the default for FILE is computed, especially when backup files
	are involved.  Support backup files in another directory.
	Don't suggest the default FILE if it doesn't exist.  (Bug#24089)

2016-08-06  Eli Zaretskii  <eliz@gnu.org>

	Fix the 'T' command in Dired with non_ASCII file names

	* lisp/dired-aux.el (dired-do-chxxx): Bind coding-system-for-write
	to correctly encode file names passed to the invoked PROGRAM.
	(Bug#24162)

2016-08-05  Noam Postavsky  <npostavs@gmail.com>

	* lisp/files.el (version-control): Drop :group vc (Bug #14687)

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d841a03 ; Spelling fix
	a6ae479 Post AppDefined events from the main thread ONLY (bug#23934)
	d35d398 Update to the AUTHORS file for Bob Weiner
	4d2f4df Revert "Fix local printer set to left aligned string formatter."
	cd1b4d6 Revert "Fix ses-delete-blanks to delete only blanks + documen...
	f7ceb8e Revert "Fix English."
	baa7abd Improve doc strings of 'gud-gdb' and 'gdb'
	aa4271a Fix doc string of 'minibuffer-message-timeout'
	b275cc7 Fix English.
	3c97b0f Fix ses-delete-blanks to delete only blanks + documentation.
	272391f profiler: document prefix arg for tree expansion
	442cc39 Clarify usage of eshell-visual-options
	b443c3c Fix comment in files-in-below-directory
	8a38e94 Fix local printer set to left aligned string formatter.
	0f0b191 ; Fix typos in NEWS
	6bdf687 ; * etc/NEWS: Remove temporary marks

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d08afa1 * etc/AUTHORS: Update the AUTHORS file
	2668500 ;; * ChangeLog.2: ChangeLog update.
	7acfaea ; ChangeLog fixes
	97d28b4 * admin/authors.el (authors-valid-file-names): Addition.
	9ab52f6 * admin/authors.el: Additions.
	0e646c7 Warn about Cairo-related problems
	bc4c07f Don't let completion break `declare' handling
	66f95e0 Adjust match data before calling after-change-funs
	52cf0d5 Do not show string-rectangle preview if minibuffer is empty
	6a3d031 * etc/PROBLEMS: Add entry about selection problems under Plas...

	# Conflicts:
	#	ChangeLog.2
	#	src/lisp.h

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9a41cd1 ; Fix typo
	9356fe2 Expand FIXME near definition of fboundp
	219b39f kill-rectangle should mention killed-rectangle
	59fa4c3 Avoid assertion violations in nhexl-mode

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9ba51ed Document buffer-swap-text+save-excursion interaction
	452aa94 Fix eieio vs cl-generic incompatibilities found in Rudel (bug...
	248d5dd Include cl-generic in package--builtin-versions (bug#22817)
	8f5a8b6 Improve timing in `tramp-test29-environment-variables'
	05ba7a0 Add test for handling environment variables in Tramp
	e393d4f * lisp/emacs-lisp/package.el (describe-package-1) (package-st...
	5e38887 ; * lisp/net/tramp.el: Fix 2010-10-04 comment typo.  (Bug#23913)
	90f2169 ; Spelling fixes
	069fc05 Improve documentation of search functions
	0a0144a Delete environment variables in Tramp when needed
	f624671 Add "New in Emacs 25" section to the FAQ
	658daf9 Fix 'vertical-motion' in non-interactive sessions
	686b520 Fix memory leak in imagemagick-types
	4069b71 Update ELisp manual to match 'string-collate-equalp' doc string
	1b2d6a6 Clarify docstring of find-feature-regexp
	aac62a6 Add details to cl-lib defining macros' docstrings
	d6aa4da Clarify doc string of 'save-buffer'
	03bcf11 Un-confuse doc string of 'string-collate-equalp'
	c53135b Clarify documentation of 'mouse-on-link-p'

	# Conflicts:
	#	lisp/emacs-lisp/eieio-core.el

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	6f285d9 Amend last addition to etc/PROBLEMS
	7067890 * etc/PROBLEMS: Mention GTK+ problem with unexpected frame wi...

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d4c6774 Fix missing point information in undo
	3a9d629 Avoid crashes when buffer modification hooks clobber match data
	178b2f5 Note combine-and-quote-strings doesn't shell quote
	dec7567 Explain when package-initialize isn't called
	113d1e2 Fix escaping in sh-indent-after-continuation docstr
	80e2044 ; * etc/NEWS: Improve previous change.
	5bb9e6c ; * etc/NEWS: Document how to avoid horizontal scroll bars.
	38f4b8e Clarify the documentation of back-references in replacements

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	850ba44 Clarify lexical binding with symbol args behavior
	f981b31 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
	68fc964 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.  (Bug#23...
	21110af Avoid assertion violations when rendering some fonts
	6192b6c Document more details of package activation
	272ddc6 Fixup warning message regarding HOME a bit more
	43206d6 * lisp/leim/quail/indian.el ("bengali-probhat"): Change indic...
	d41f7ff Fix input method "probhat" for Bengali
	c150a64 ; Fix typo in commit before last
	ebf0472 Add to elisp-completion-at-point's docstring
	fd9fad0 Give more helpful warning about setting HOME
	ea6b01d ; * lisp/term.el (term-mode): FIXME comment about bidi reorde...

	# Conflicts:
	#	lisp/term.el

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	26d4da0 New input method "probhat" for Bengali
	4f445bf ; Spelling fix
	f403f03 ; Fix typo

2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling and minor grammar fixes

	* test/file-organization.org: Rename from test/file-organisation.org.

2016-08-04  Alan Mackenzie  <acm@muc.de>

	Widen in certain low level CC Mode functions.  This fixes bug #24148.

	* lisp/progmodes/cc-engine (c-state-semi-pp-to-literal)
	(c-state-full-pp-to-literal): Widen around the functionality.
	(c-parse-ps-state-below): Correct the order of save-excursion and
	save-restriction.

2016-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix Bug#24149

	* lisp/subr.el (set-transient-map): Don't wait if MAP not present in
	overriding-terminal-local-map.  (Bug#24149)

2016-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-07-03 mktime: call tzset as per POSIX
	* doc/misc/texinfo.tex, lib/mktime.c, m4/mktime.m4:
	Copy from gnulib.

2016-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Fix GnuTLS includes

	* src/gnutls.c [HAVE_GNUTLS]: Don’t include gnutls/gnutls.h
	a second time; although it doesn’t hurt, it’s not needed.
	* src/sysdep.c [!HAVE_GNUTLS]: Don’t include gnutls/crypto.h,
	as it may not be available.  Problem reported by Glenn Morris in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00100.html

2016-08-03  Michal Nazarewicz  <mina86@mina86.com>

	Fix accessing regex-resources in out-of-tree test runs in regex-tests

	[82a487d: Fix reading of regex-resources in regex-tests] attempted to
	fix regex-tests failing when run from the source tree (i.e. via make)
	by hard-coding path to regex-resources directory relative to the test
	directory.

	This fixed runs from the tree but broke the test when run using other
	methods.

	Fix by trying ‘load-file-name’ or ‘buffer-file-name’, whichever is set.

	* test/src/regex-tests.el (regex-tests--resources-dir): New variable
	storing path to the regex-resources directory.
	(regex-tests-generic-line): Use aforementioned variable.

2016-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify by assuming GnuTLS 2.12.2 or later

	* src/gnutls.c (gnutls_certificate_details):
	* src/sysdep.c: Assume GnuTLS 2.12.2 or later.

2016-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Port to systems lacking GNUTLS_NONBLOCK

	Problem reported by Colin Baxter in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00096.html
	* src/gnutls.c (Fgnutls_boot): Don’t assume GNUTLS_NONBLOCK is defined.

2016-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Fix non-blocking GnuTLS with slow connection

	Although the problem is reported for OS X (Bug#23982), it seems to
	be possible on other POSIXish platforms.
	* src/gnutls.c (emacs_gnutls_nonblock_errno) [!WINDOWSNT]:
	New function.
	(emacs_gnutls_handshake) [!WINDOWSNT]:
	Use it as the errno function, if non-blocking.
	(Fgnutls_boot): Use GNUTLS_NONBLOCK if non-blocking.

2016-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Require GnuTLS 2.12.2 or later

	* configure.ac, etc/NEWS: Require GnuTLS 2.12.2 or later,
	instead of merely 2.6.6 or later (Bug#23982#20).
	* src/gnutls.c (init_gnutls_functions, emacs_gnutls_handshake)
	[WINDOWSNT]: Don’t bother with gnutls_check_version or
	gnutls_transport_set_lowat, as they are no longer needed now that
	we require gnutls 2.12.2 or later.

2016-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/window.c (sanitize_window_sizes): Remove unused arg `frame'

	* src/window.h (sanitize_window_sizes): Adjust prototype.
	* src/frame.c (adjust_frame_size): Adjust calls.

2016-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Fix (mapcar F S) crash when F alters S’s length

	* src/fns.c (mapcar1): Return number of elements computed,
	which can be less than LENI if the function alters the list.
	All callers changed.  (Bug#24118)

2016-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Port window changes to --enable-gcc-warnings

	* src/window.c (sanitize_window_sizes): Return void.
	This pacifies GCC, and no caller uses the return value anyway.

2016-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/window.c: Fix bootstrap failure due to window.el changes

	(sanitize_window_sizes): Adjust to new calling convention of
	window--sanitize-window-sizes and only call it if defined.
	(Fwindow__sanitize_window_sizes): Remove.
	(syms_of_window): Don't defsubr it.

2016-08-02  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#23883

	* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
	Call `process-actions' with adapted position.  The connection
	buffer might have been cleaned up already.  (Bug#23883)

2016-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Port regex changes to strict ISO C

	* src/regex.c (regex_compile): Redo casts.

2016-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/window.el: Use lexical-binding

	(window--min-size-ignore-p): Remove unused arg `horizontal'.
	(window--sanitize-window-sizes): Remove unused arg `frame'.
	(window-edges): Remove unused vars left-off and right-off.
	(display-buffer-reuse-mode-window): Remove unused var `frame?'.
	Avoid extraneous setq and do a bit of CSE.
	(fit-frame-to-buffer): Remove unused vars `window', `fit-width',
	and `toolbar-extra-height'.
	(window-adjust-process-window-size): Remove unused arg `process'.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Fix unused lexical variable

	This fixes the following warning:

	    In toplevel form:
	    src/regex-tests.el:416:1:Warning: Unused lexical variable ‘newline’

	* test/src/regex-tests.el (regex-tests-BOOST): Remove unused lexical
	variable.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Remove unused STREQ macro

	This fixes the following compilation warning:

	    regex.c:516:0: warning: macro "STREQ" is not used [-Wunused-macros]
	     #define STREQ(s1, s2) ((strcmp (s1, s2) == 0))
	     ^

	* src/regex.c (STREQ): Remove unused macro.  It should have been removed
	in a [4538a5e: Refactor regex character class parsing in [:name:]]
	commit but was mistakenly left out.

2016-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* cl-generic.el: Fix problems introduced by new load-history format

	* lisp/emacs-lisp/cl-generic.el (cl--generic-load-hist-format): New function.
	(cl-generic-define-method, cl--generic-describe): Use it.
	(cl--generic-search-method): Adjust for new format.

	* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
	* test/lisp/progmodes/elisp-mode-tests.el:
	Use cl--generic-load-hist-format rather than hard-coding cl-generic's
	internal format.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Hardcode regex syntax to remove dead code handling different syntax

	Emacs only ever uses its own regex syntax so support for other syntaxes
	is never used.  Hardcode the syntax so that the compilar can detect such
	dead code and remove it from compiled code.

	The only exception is RE_NO_POSIX_BACKTRACKING which can be separatelly
	specified.  Handle this separatelly with a function argument (replacing
	now unnecessary syntax argument).

	With this patchset, size of Emacs binary on x86_64 machine is reduced by
	around 60 kB:

		new-sizes:-rwx------ 3 mpn eng 30254720 Jul 27 23:31 src/emacs
		old-sizes:-rwx------ 3 mpn eng 30314828 Jul 27 23:29 src/emacs

	* src/regex.h (re_pattern_buffer): Don’t define syntax field #ifdef emacs.
	(re_compile_pattern): Replace syntax with posix_backtracking argument.

	* src/regex.c (print_compiled_pattern): Don’t print syntax #ifdef emacs.
	(regex_compile): #ifdef emacs, replace syntax argument with
	posix_backtracking which is now used instead of testing for
	RE_NO_POSIX_BACKTRACKING syntax.
	(re_match_2_internal): Don’t access bufp->syntax #ifndef emacs.
	(re_compile_pattern): Replace syntax with posix_backtracking argument.

	* src/search.c (compile_pattern_1): Pass boolean posix_backtracking
	instead of syntax to re_compile_pattern.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Get rid of re_set_whitespace_regexp

	* src/regex.h (re_set_whitespace_regexp): Delete.
	(re_compile_pattern): Add whitespace_regexp argument #ifdef emacs.

	* src/regex.c (re_set_whitespace_regexp, whitespace_regexp): Delete.
	(regex_compile): Add whitespace_regexp argument #ifdef emacs and wrap
	whitespace_regexp-related code in an #ifdef emacs so it’s compiled out
	unless building Emacs.
	(re_compile_pattern): Pass whitespace_regexp argument to regex_compile

	* src/search.c (compile_pattern_1): Don’t use re_set_whitespace_regexp,
	pass the regex as argument to re_compile_pattern instead.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Get rid of re_set_syntax

	Instead of using a global variable for storing regex syntax, pass it
	to re_compile_pattern.  This is only enabled when compiling Emacs (i.e.
	‘#ifdef emacs’).

	* src/regex.h (re_set_syntax): Declare only #ifndef emacs.
	(re_compile_pattern): Now takes syntax argument #ifdef emacs.

	* src/regex.c (re_syntax_options): Define only #ifndef emacs.
	(re_compile_pattern): Use the new syntax argument #ifdef emacs.

	* src/search.c (compile_pattern_1): Don’t use re_set_syntax and
	instead pass syntax to re_compile_pattern directly.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Remove dead opcodes in regex bytecode

	There is no way to specify before_dot and after_dot opcodes in a regex
	so code handling those ends up being dead.  Remove it.

	* src/regex.c (print_partial_compiled_pattern, regex_compile,
	analyze_first, re_match_2_internal): Remove handling and references to
	before_dot and after_dot opcodes.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Refactor regex character class parsing in [:name:]

	re_wctype function is used in three separate places and in all of
	those places almost exact code extracting the name from [:name:]
	surrounds it.  Furthermore, re_wctype requires a NUL-terminated
	string, so the name of the character class is copied to a temporary
	buffer.

	The code duplication and unnecessary memory copying can be avoided by
	pushing the responsibility of parsing the whole [:name:] sequence to
	the function.

	Furthermore, since now the function has access to the length of the
	character class name (since it’s doing the parsing), it can take
	advantage of that information in skipping some string comparisons and
	using a constant-length memcmp instead of strcmp which needs to take
	care of NUL bytes.

	* src/regex.c (re_wctype): Delete function.  Replace it with:
	(re_wctype_parse): New function which parses a whole [:name:] string
	and returns a RECC_* constant or -1 if the string is not of [:name:]
	format.
	(regex_compile): Use re_wctype_parse.
	* src/syntax.c (skip_chars): Use re_wctype_parse.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Split regex glibc test cases into separet tests

	* test/src/regex-tests.el (regex-tests): Remove and split into multiple
	tests cases.
	(regex-tests-glbic-BOOST, regex-tests-glibc-PCRE,
	regex-tests-glibc-PTESTS, regex-tests-glibc-TESTS): New test cases split
	from ‘regex-tests’.

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Don’t (require 'cl)

	* test/src/regex-test.el: Don’t (require 'cl).
	(regex-tests-PCRE): s/loop/cl-loop/

2016-08-02  Michal Nazarewicz  <mina86@mina86.com>

	Fix reading of regex-resources in regex-tests

	* test/src/regex-tests.el (regex-tests-generic-line): Referring to
	‘buffer-file-name’ does not work when running the test from command
	line, i.e. via make, which results in (wrong-type-argument stringp nil)
	failures.  Replace it with hard-coded path.
	(regex-tests-BOOST, regex-tests-PCRE, regex-tests-PTESTS-whitelist,
	regex-tests-TESTS-whitelist): ‘regex-tests-generic-line’ now  includes
	the ‘regex-resources’ path component so the tests don’t need to specify
	it explicitly.

2016-08-02  Dima Kogan  <dima@secretsauce.net>

	Added driver for the regex tests

	* test/src/regex-tests.el (regex-tests): Test executing glibc tests
	cases.

	[mina86@mina86.com: merged test with existing file]

2016-08-02  Dima Kogan  <dima@secretsauce.net>

	New regex tests imported from glibc 2.21

	* test/src/regex-resources/BOOST.tests:
	* test/src/regex-resources/PCRE.tests:
	* test/src/regex-resources/PTESTS:
	* test/src/regex-resources/TESTS:
	New test data files

	[mina86@mina86.com: Moved files from test/src/regex/* to test/src/*.]

2016-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Fix use-after-close in connect_network_socket

	* src/process.c (connect_network_socket):
	Reverse sense of previous fix.  Problem reported by Ken Brown in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00004.html

2016-08-01  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Respect autoload-timestamps for "actual autoloads are elsewhere" case.

2016-07-31  Stefan Merten  <stefan@merten-home.de>

	* lisp/textmodes/rst.el: Major refactoring, minor changes, minor fixes

	(rst-Ado, rst-Hdr, rst-Ttl, rst-Stn): Introduce classes
	representing reStructuredText section header concepts.
	(rst-mode-map, rst-new-preferred-hdr)
	(rst-update-section, rst-classify-adornment)
	(rst-ttl-at-point, rst-all-ttls-cache)
	(rst-hdr-hierarchy-cache, rst-reset-section-caches)
	(rst-all-ttls, rst-infer-hdr-hierarchy, rst-hdr-hierarchy)
	(rst-all-ttls-with-level, rst-get-previous-hdr)
	(rst-adornment-complete-p, rst-next-hdr, rst-adjust)
	(rst-adjust-section, rst-promote-region)
	(rst-display-hdr-hierarchy, rst-straighten-sections)
	(rst-all-stn, rst-remaining-stn, rst-toc-insert)
	(rst-toc-insert-node, rst-toc-node, rst-toc)
	(rst-forward-section, rst-adornment-level)
	(rst-font-lock-handle-adornment-pre-match-form)
	(rst-imenu-convert-cell, rst-imenu-create-index): Refactor
	using classes.
	(rst-compare-adornments, rst-get-adornment-match): Remove
	functions now in classes.
	(rst-re-alist-def, rst-toc-mode)
	(rst-font-lock-extend-region-extend): Minor improvements.
	(rst-mode, rst-compile): Use `setq-local'.
	(rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
	(rst-official-version, rst-official-cvs-rev)
	(rst-package-emacs-version-alist): Maintain version tags.

2016-07-30  Martin Rudalics  <rudalics@gmx.at>

	Fix calculation of tool bar width reported by `frame-geometry' (Bug#24107)

	* src/w32fns.c (Fw32_frame_geometry): Fix calculation of tool
	bar width (Bug#24107).  Reindent.
	* src/xfns.c (frame_geometry): Fix calculation of tool bar
	width on non-GTK builds.

2016-07-30  Eli Zaretskii  <eliz@gnu.org>

	Fix region display while dragging mouse

	* lisp/mouse.el (mouse-drag-track): Reset deactivate-mark in the
	buffer of the drag event, to allow mark to be set and the region
	be shown as we drag the mouse.  (Bug#24030)

2016-07-30  Tino Calancha  <tino.calancha@gmail.com>

	Copy just non-empty strings to kill-ring

	* lisp/dired.el (dired-copy-filename-as-kill):
	Do not change the kill ring when the string is empty (Bug#24103).

2016-07-30  Eli Zaretskii  <eliz@gnu.org>

	Avoid warnings about undo list while decoding

	* src/coding.c (coding_restore_undo_list): New function.
	(decode_coding_gap, decode_coding_object): Temporarily set the
	buffer's undo list to t, to avoid warnings when decoding changes
	the buffer many times, e.g. due to post-read-conversion.  Use
	coding_restore_undo_list to make sure the undo list is restored.
	(Bug#23813)

2016-07-28  Noam Postavsky  <npostavs@gmail.com>

	profiler: Add mouse-1 binding for tree expansion

	(profiler-report-mode-map): Add mouse-1 binding for
	profiler-report-toggle-entry (Bug #13455).

2016-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Enable addition of local printers from a mode hook.

	* doc/misc/ses.texi (Printer functions): Split the node into 5
	sub-nodes + add some extra documentation.
	(Various kinds of printer functions): Make an itemisation to
	disintguish better the 3 types of printers, give an example of
	lambda printer definition.
	(Standard printer functions): Add documentation for ses-prin1
	printer function.
	(Local printer functions): Add documentation for creating
	local printers programmatically from a hook.
	(Writing a lambda printer function): Add documentation about
	anti-stackoverflow precautions to take when you call the
	standard printer functions from inside a local printer.

	* lisp/ses.el (ses-standard-printer-functions): Add ses-prin1
	among standard printer function, and update docstring
	accordingly.
	(ses-call-printer, ses-export-tab): Call `ses-prin1' instead
	of prin1-to-string.
	(ses-define-local-printer): Add definition to arguments so
	that a local printer can be defined programmatically from a
	mode hook.  Make docstring more substantial.  Use completing
	read for local printer name input.  Plus some minor
	optimization.
	(ses-define-if-new-local-printer): New defsubst.
	(ses-center, ses-center-span, ses-dashfill)
	(ses-dashfill-span, ses-tildefill-span): Allow to pass printer
	as an optional argument to superseed column printer/default
	spreadsheet printer.
	(ses-prin1): New defun.

2016-07-27  Ted Zlatanov  <tzz@lifelogs.com>

	Prompt to save gnus-cloud-method.

	Since `gnus-cloud-method' is a defcustom, when it's set, we should
	prompt the user to save it, so the customization is not lost on
	restart.

	* gnus-srvr.el (gnus-server-toggle-cloud-method-server): Prompt to
	save the customization of `gnus-cloud-method'.

2016-07-27  Ken Brown  <kbrown@cornell.edu>

	Fix dired-test-bug22694

	* test/lisp/dired-tests.el (dired-test-bug22694): Delete the
	"bug22694" directory, if it exists, before running the test.  It
	might be left over from a previous aborted run of the test.

2016-07-27  Michal Nazarewicz  <mina86@mina86.com>

	Fix ‘is multibyte’ test regex.c’s mutually_exclusive_p (bug#24020)

	* src/regex.c (mutually_exclusive_p): Fix how whether character is
	unibyte is tested when calling execute_charset function.  This bug has
	been introduced by [6dc6b00: Fix ‘[[:cc:]]*literal’ regex failing to
	match ‘literal’] which dropped a call to IS_REAL_ASCII (c) macro.
	Reinstitute it.

2016-07-27  Tino Calancha  <tino.calancha@gmail.com>

	Remove hook when disabling ibuffer-auto-mode

	* lisp/ibuf-ext.el (ibuffer-auto-mode):
	Remove 'ibuffer-auto-update-changed' from 'post-command-hook'.

2016-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/subr.el (cancel-change-group): Reset cell in case of error

	Since the setcdr/setcdr is supposed to be temporary, use unwind-protect
	to make sure we properly undo the temporary change even in case of error.

2016-07-26  Eli Zaretskii  <eliz@gnu.org>

	Avoid segfaults in compute_motion

	* src/indent.c (compute_motion): Don't turn on and don't use the
	width cache unless the buffer's width-table is non-nil.  This
	avoids segfaults because code that uses the width cache assumes
	the width-table exists.  (Bug#24064)

2016-07-26  Nicolas Petton  <nicolas@petton.fr>

	Do not sharp-quote lambdas

	* lisp/progmodes/sql.el: Remove sharp-quotes in lambdas.

2016-07-25  Ted Zlatanov  <tzz@lifelogs.com>

	* gnus-cloud.el (gnus-cloud-encode-data): Fix 'base64-gzip encoding.

2016-07-25  Andrew Hyatt  <ahyatt@gmail.com>

	Add warning to format-alist docs.

	*/doc/lispref/files.texi (format-alist) Change documentation for
	format-alist to warn against file modifications when formatting, which
	leads to incorrect results.  (Bug#5440)

	Changes suggested by Eli.

2016-07-25  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/mm-decode.el (mm-convert-shr-links):
	Preserve key bindings that shr adds (bug#23964).

2016-07-25  Michal Nazarewicz  <mina86@mina86.com>

	Fix ‘[[:cc:]]*literal’ regex failing to match ‘literal’ (bug#24020)

	The regex engine tries to optimise Kleene star by avoiding backtracking
	when it can detect that star’s operand cannot match what follows it in
	the pattern.

	For example, when ‘[[:alpha:]]*1’ tries to match a ‘foo’, the engine
	will test the longest match for ‘[[:alpha:]]*’, namely ’foo’ which is
	the entire string.  Literal digit one still present in the pattern will
	however not match the remaining empty string.

	Normally, backtracking would be performed trying a shorter match for the
	character class (namely ‘fo’ leaving ‘o’ in the string), but since the
	engine knows whatever would be put back into the string cannot possibly
	match literal digit one so no backtracking will be attempted.

	In the regexes of the form ‘[[:CC:]]*X’, the optimisation can be applied
	if the character class CC does not match character X.  In the above
	example, this holds because digit one is not in alpha character class.

	This test is performed by mutually_exclusive_p function but it did not
	check class bits of a charset opcode.  This resulted in an assumption
	that character classes do not match multibyte characters.  For example,
	it would incorrectly conclude that [[:alpha:]] doesn’t match ‘ż’.

	This, in turn, led to the aforementioned Kleene star optimisation being
	incorrectly applied in patterns such as ‘[[:graph:]]*☠’ (which should
	match ‘☠’ but doesn’t as can be tested by executing
	    (string-match-p "[[:graph:]]*☠" "☠")
	which should return 0 but instead yields nil.

	This issue affects any class witch matches multibyte characters, i.e.
	if ‘[[:cc:]]’ matches a multibyte character X then ‘[[:cc:]]*X’ will
	fail to match ‘X’.

	* src/regex.c (executing_charset): A new function for executing the
	charset and charset_not opcodes.  It performs check on the character
	taking into consideration existing bitmap, range table and class bits.
	It also advances the pointer in the regex bytecode past the parsed
	opcode.
	(CHARSET_LOOKUP_RANGE_TABLE_RAW, CHARSET_LOOKUP_RANGE_TABLE): Removed.
	Code now included in executing_charset.
	(mutually_exclusive_p, re_match_2_internal): Changed to take advantage
	of executing_charset function.

	* test/src/regex-tests.el: New file with tests for the character class
	matching.

2016-07-25  Nicolas Petton  <nicolas@petton.fr>

	Fix auto-reverting image-mode buffer (bug#21598)

	When auto-reverting an image buffer, `image-mode' is not called since
	`revert-buffer' is called with `preserve-modes' set to non-nil.

	* lisp/image-mode.el (image-after-revert-hook): Check if there is an
	image display property for the current buffer before updating it.

2016-07-24  Paul Eggert  <eggert@cs.ucla.edu>

	‘signal’ no longer returns

	Although for decades ‘signal’ has been documented to not return,
	a corner case in the Lisp debugger causes ‘signal’ to return.
	Remove the corner case and adjust Emacs internals accordingly.
	An alternative would be to document the corner case, but this
	would complicate the Lisp API unnecessarily.  (Bug#24047)
	* src/eval.c (signal_or_quit): New function, with most of the
	old contents of Fsignal.
	(quit): New function, which uses signal_or_quit and which
	might return.  All keyboard-based callers of Fsignal (Qquit,
	Qnil) changed to use this new function instead.
	(Fsignal): Use signal_or_quit.  Now _Noreturn.  All callers
	changed.
	(xsignal): Move to lisp.h.
	* src/lisp.h (xsignal): Now an inline function, as it's now
	just an alias for Fsignal.

2016-07-24  Paul Eggert  <eggert@cs.ucla.edu>

	Require libgnutls unless --with-gnutls=no

	* configure.ac: Report an error if the gnutls library is missing,
	unless --with-gnutls=no is specified.

2016-07-23  Alan Mackenzie  <acm@muc.de>

	Fontify C++ parameter packs.

	This fixes debbugs #23610.

	* lisp/progmodes/cc-langs.el (c-pack-ops, c-pack-key): New
	c-lang-defconsts/defvars.
	(c-type-decl-prefix-key): Add "..." and "&&" into the C++ version.

	* lisp/progmodes/cc-engine.el (c-forward-type): Handle matches of c-pack-key.

2016-07-23  Alan Mackenzie  <acm@muc.de>

	Java Mode: Handle strings as case labels correctly.

	This fixes debbugs #23901.

	* lisp/progmodes/cc-langs.el (c-nonlabel-token-key): Remove "\"" from the
	Java value.

2016-07-22  Kaushal Modi  <kaushal.modi@gmail.com>

	Avoid repeated warnings while restoring desktop

	* lisp/desktop.el (desktop-restore-file-buffer): Do not print warnings
	when files are being opened during desktop restore.

2016-07-22  Eli Zaretskii  <eliz@gnu.org>

	Fix compilation warning in the MinGW build

	* nt/inc/ms-w32.h: Include stdint.h.
	(_execvp, execve): Provide prototypes.

	* lib-src/emacsclient.c [WINDOWSNT]: Remove prototype for execvp,
	it is now in nt/inc/ms-w32.h.
	* lib-src/ntlib.c (getppid): Avoid compiler warnings due to format
	mismatch.
	(sys_ctime): Remove, not used.

2016-07-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Move read-multiple-choice to subr-x.el

	* lisp/faces.el (read-multiple-choice-face): Fix doc string.

	* lisp/emacs-lisp/subr-x.el (read-multiple-choice): Move here
	from subr.el.

	* lisp/gnus/message.el (subr-x): Ditto.

	* lisp/net/nsm.el: Require subr-x for read-multiple-choice.

	read-multiple-choice doesn't need to be in the dumped Emacs, so move
	it to a less central file.

2016-07-22  Tino Calancha  <tino.calancha@gmail.com>

	Update define-ibuffer-op doc string

	* lisp/ibuf-macs.el (define-ibuffer-op):
	Mention that BODY is evaluated with 'buf' bound to the actual
	marked buffer being processed.

2016-07-22  Tino Calancha  <tino.calancha@gmail.com>

	Update define-ibuffer-op doc string

	* lisp/ibuf-macs.el (define-ibuffer-op): Document arg COMPLEX
	instead of refer the reader to the source code.
	Document arg BODY.

2016-07-21  Tino Calancha  <tino.calancha@gmail.com>

	Fix shell-command[-on-region] doc strings

	* lisp/simple.el (shell-command, shell-command-on-region):
	Drop the sentence saying that the command may delete the buffer
	'*Shell Command Output*': the command never delete such
	buffer (Bug#23936).

2016-07-21  Mark Oteiza  <mvoteiza@udel.edu>

	;Revert ";Partially revert 2649105a"

	This reverts commit b7651649c2b1321a0c510116c1ac2442599d9a2e.

2016-07-21  Mark Oteiza  <mvoteiza@udel.edu>

	;Partially revert 2649105a

	* lisp/textmodes/tex-mode.el (tex-common-initialization): Use
	setq-local to modify prettify-symbols-compose-predicate.

2016-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/bytecode.c: Fix compilation with BYTE_CODE_SAFE

	(struct byte_stack): Re-add `bottom'.
	(exec_byte_code): Initialize it.

2016-07-21  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer: Use default output buffer for shell commands

	* lisp/ibuf-ext.el (shell-command-pipe): Insert the output in buffer
	'*Shell Command Output*', as command 'shell-command-file'.

2016-07-21  Tino Calancha  <tino.calancha@gmail.com>

	Fix failing test

	* test/lisp/erc/erc-track-tests.el (erc-track--erc-faces-in):
	Enable Font Lock mode in order to initialize
	'char-property-alias-alist' (Bug#23954).

2016-07-21  Paul Eggert  <eggert@cs.ucla.edu>

	Fix use-after-close in connect_network_socket

	* src/process.c (connect_network_socket): Don’t use
	external_sock_fd after closing it.  Problem found by Coverity Scan.

2016-07-21  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr-fill-line):
	Preserve text properties in folded lines (bug#24034).

2016-07-20  Paul Eggert  <eggert@cs.ucla.edu>

	Fix lifetime bug in tzlookup

	* src/editfns.c (tzlookup): Fix storage lifetime bug when
	INTEGERP (zone) && settz.  Problem found by Coverity Scan.

2016-07-20  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix shr.el/image build problem

	(Bug#24035)

	* lisp/net/shr.el: Require image, since some builds seem to
	break without it (bug#24035).

2016-07-20  Ted Zlatanov  <tzz@lifelogs.com>

	Bring the Gnus Cloud package into working order.

	* lisp/gnus/gnus-sync.el: Removed in favor of gnus-cloud.el.

	* lisp/gnus/gnus-cloud.el: Autoload EPG functions. Change storage format to
	simplify non-file data.
	(gnus-cloud-storage-method): New defcustom to support nil, Base64,
	Base64+gzip, or EPG encoding on the Gnus Cloud IMAP server. Defaults to
	EPG if that's available, Base64+gzip otherwise.
	(gnus-cloud-interactive): New defcustom to make Gnus Cloud operations
	interactive, defaults to enabled.
	(gnus-cloud-group-name): New variable for the Gnus Cloud group name.
	(gnus-cloud-make-chunk): Tag with "Gnus-Cloud-Version" instead of just
	"Version".
	(gnus-cloud-insert-data): Simplify and support :newsrc-data entries.
	(gnus-cloud-encode-data, gnus-cloud-decode-data): Support various
	storage methods as per gnus-cloud-storage-method.
	(gnus-cloud-parse-chunk): Look for "Gnus-Cloud-Version" marker.
	(gnus-cloud-parse-version-1): Fix parsing loop bug. Handle :newsrc-data
	entries.
	(gnus-cloud-update-all): Handle :newsrc-data entries and dispatch to
	file and data handlers.
	(gnus-cloud-update-newsrc-data): New function to handle :newrsc-data
	entries.
	(gnus-cloud-update-file): Rework to support gnus-cloud-interactive and
	be more careful.
	(gnus-cloud-delete-file): Remove; merged into gnus-cloud-update-file.
	(gnus-cloud-file-covered-p, gnus-cloud-all-files)
	(gnus-cloud-files-to-upload, gnus-cloud-ensure-cloud-group)
	(gnus-cloud-add-timestamps, gnus-cloud-available-chunks)
	(gnus-cloud-prune-old-chunks): Fix indentation.
	(gnus-cloud-timestamp): New function to make a standard Gnus Cloud
	timestamp.
	(gnus-cloud-file-new-p): Use it.
	(gnus-cloud-upload-all-data): Add interactive convenience function to
	upload all data.
	(gnus-cloud-upload-data): Make interactive; collect files and newsrc
	data separately; refresh Gnus Cloud group after insert.
	(gnus-cloud-download-all-data): Add interactive convenience function to
	download all data.
	(gnus-cloud-download-data): Rework to support "Gnus-Cloud-Version"
	marker and different storage methods.
	(gnus-cloud-host-server-p): New function to check if a server is the
	Gnus Cloud host.
	(gnus-cloud-collect-full-newsrc): Tag entries with :newsrc-data.
	(gnus-cloud-host-acceptable-method-p): New function so
	other code can check if a server method can host the Gnus cloud.
	(gnus-cloud-storage-method): Use 'radio instead of 'choice for better UI.
	(gnus-cloud-method): Make this a defcustom and note how to set it.

	* lisp/gnus/gnus-group.el (gnus-group-cloud-map): Add Gnus Cloud autoloaded
	keybindings under the `~' prefix.

	* lisp/gnus/gnus-srvr.el (gnus-server-mode-map, gnus-server-make-menu-bar)
	(gnus-server-cloud, gnus-server-cloud-host)
	(gnus-server-font-lock-keywords, gnus-server-insert-server-line)
	(gnus-server-toggle-cloud-method-server): Support Gnus Cloud
	synchronized servers and synchronization host server toggling (`i' and
	`I') and visual display.
	(gnus-server-toggle-cloud-method-server): Use
	gnus-cloud-host-acceptable-method-p.
	(gnus-server-toggle-cloud-method-server): Use custom-set-variables to
	set the gnus-cloud-method. Ask the user if it's OK to upload the data
	right now.

	* doc/misc/gnus.texi: Document Gnus Cloud package.

2016-07-20  Paul Eggert  <eggert@cs.ucla.edu>

	Remove CHECK_FRAME_FONT cruft from bytecode.c

	* src/bytecode.c [CHECK_FRAME_FONT]: Do not include frame.h, xterm.h.
	Remove some old ‘#if 0’ code.

2016-07-20  Paul Eggert  <eggert@cs.ucla.edu>

	Work around GCC bug 54561 in a better way

	The new approach is less selective, but also less intrusive on C code.
	* src/bytecode.c, src/image.c, src/keyboard.c: Ignore -Wclobbered.
	* src/conf_post.h (NONVOLATILE): Remove.  All uses removed.

2016-07-20  Paul Eggert  <eggert@cs.ucla.edu>

	Fix port to glibc 2.24 (pre-release) + ppc64

	* src/callproc.c (child_setup): Use emacs_exec_file
	so that ASLR is enabled in the child process.
	* src/emacs.c: Move some personality details into sys/sysdep.c.
	Do not include <sys/personality.h>.
	(main): Disable ASLR earlier, so that we don’t chdir twice.
	* src/lisp.h (disable_address_randomization): New decl.
	* src/sysdep.c (disable_address_randomization)
	[HAVE_PERSONALITY_ADDR_NO_RANDOMIZE]: Move personality details
	here from emacs.c.
	(emacs_exec_file): New function.

2016-07-19  Alan Third  <alan@idiocy.org>

	Prevent bar cursor overwriting next glyph (bug#16856)

	* src/nsterm.m (ns_draw_window_cursor): Test glyph width vs cursor width
	before setting final size.

2016-07-19  Eli Zaretskii  <eliz@gnu.org>

	Fix 'transpose-regions' when LEAVE-MARKERS arg is non-nil

	* src/insdel.c (adjust_markers_bytepos): New function.
	* src/lisp.h (adjust_markers_bytepos): Add prototype.
	* src/insdel.c (replace_range, replace_range_2):
	* src/editfns.c (Ftranspose_regions): Call
	adjust_markers_bytepos.  (Bug#5131)

	* test/src/editfns-tests.el (transpose-test-reverse-word)
	(transpose-test-get-byte-positions): New functions.
	(transpose-ascii-regions-test)
	(transpose-nonascii-regions-test-1)
	(transpose-nonascii-regions-test-2): New tests.

2016-07-19  Katsumi Yamaoka  <yamaoka@jpl.org>

	Make gif animation work (bug#24004)

	* lisp/image.el (image-animate-timeout): Fix the logic that tests if
	an animation is too big (bug#24004).

2016-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/simple.el (undo-amalgamate-change-group): New function

	* lisp/emulation/viper-cmd.el (viper-adjust-undo): Use it.
	(viper-set-complex-command-for-undo): Save current state with
	prepare-change-group.
	* lisp/emulation/viper-init.el (viper-undo-needs-adjustment)
	(viper-buffer-undo-list-mark): Remove.

2016-07-18  Noam Postavsky  <npostavs@gmail.com>

	Keep w32 environment settings internal only

	* src/emacs.c (main) [WINDOWSNT]: Move init_environment calls after the
	set_initial_environment call.  This prevents Emacs' modifications to the
	environment from contaminating Vprocess_environment and
	Vinitial_environment (Bug #10980).
	* src/callproc.c (getenv_internal) [WINDOWSNT]: Consult Emacs' internal
	environment in as a fallback to Vprocess_environment.
	* test/src/callproc-tests.el (initial-environment-preserved): New Test.

2016-07-18  Nicolas Petton  <nicolas@petton.fr>

	Better documentation for cl-reduce (bug#24014)

	* lisp/emacs-lisp/cl-seq.el (cl-reduce): Explain what reducing means.

2016-07-17  Alan Third  <alan@idiocy.org>

	Remove separate pool for popup dialogs (bug#23856)

	* src/nsmenu.m (pop_down_menu, ns_popup_dialog): Remove references to
	autorelease pool and Popdown_data struct.

2016-07-17  Mark Oteiza  <mvoteiza@udel.edu>

	Use eldoc-documentation-functions

	* lisp/hexl.el (hexl-mode):
	* lisp/ielm.el (inferior-emacs-lisp-mode):
	* lisp/progmodes/cfengine.el (cfengine3-mode):
	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
	* lisp/progmodes/octave.el (octave-mode, inferior-octave-mode):
	* lisp/progmodes/python.el (python-mode):
	* lisp/simple.el (read--expression): Add buffer-locally to hook
	eldoc-documentation-functions.

2016-07-16  Noam Postavsky  <npostavs@gmail.com>

	Optimize ucs-normalize.el compilation

	* lisp/international/ucs-normalize.el (ucs-normalize-combining-chars-regexp):
	(quick-check-list-to-regexp): Use regexp-opt-charset instead of
	regexp-opt.
	* lisp/international/ucs-normalize.el (quick-check-list): Reuse a single
	temp buffer for the whole loop.

2016-07-16  Noam Postavsky  <npostavs@gmail.com>

	Add tests for ucs-normalize.el

	Some tests are marked as expected to fail.

	* test/lisp/international/ucs-normalize-tests.el: New tests.
	* admin/unidata/NormalizationTest.txt: Add data for tests.
	* admin/unidata/README: Add URL for NormalizationTest.txt.
	* admin/notes/unicode: Add note about running (and updating the data
	for) the new tests.  Remove note about normalization being unsupported.

2016-07-16  Alan Third  <alan@idiocy.org>

	Fix cursor display (bug#23993)

	* src/xdisp.c (get_phys_cursor_geometry): Fix invalid C operator.

2016-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	Stop worrying about Alliant in bytecode.c

	* src/bytecode.c (PUSH): Remove workaround for long-obsolete compiler.

2016-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	Remove BYTE_MAINTAIN_TOP

	It is no longer needed now that we assume GC_MARK_STACK ==
	GC_MAKE_GCPROS_NOOPS.
	* src/bytecode.c (BYTE_MAINTAIN_TOP): Remove.
	All uses removed, and code simplified accordingly.
	(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): Remove, since they
	are always no-ops now.  All uses removed.
	(MAYBE_GC): Remove.  All uses replaced by maybe_gc,
	since it is now equivalent.

2016-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	Remove now-inaccurate bytecode comments

	* src/bytecode.c: Remove comments that are no longer accurate.
	Most of these are actually old ChangeLog entries.

2016-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	Port to glibc 2.24 (pre-release) + ppc64

	Inspired by a suggestion by Florian Weimer in:
	https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
	* configure.ac (HAVE_PERSONALITY_ADDR_NO_RANDOMIZE):
	Rename from HAVE_PERSONALITY_LINUX32, and check for
	ADDR_NO_RANDOMIZE (the crucial thing) instead of for LINUX32.
	All uses changed.
	* src/emacs.c (main) [HAVE_PERSONALITY_ADDR_NO_RANDOMIZE]:
	Use ADDR_NO_RANDOMIZE from personality.h rather than inventing the
	flag ourselves.  Just set that flag, rather than also setting the
	persona.  When doing it, avoid functions like putenv that may
	allocate memory.

2016-07-14  Mark Oteiza  <mvoteiza@udel.edu>

	Revert "Add a couple cells to lisp-prettify-symbols-alist"

	This reverts commit bdda4855c635ecf4135e23321bdba023e9ae65c9.

2016-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/simple.el (shell-command): Add save-match-data comment

2016-07-14  Alan Mackenzie  <acm@muc.de>

	CC Mode: correct incorrect invocation of parse-partial-sexp.

	Fixes bug #23944.

	* lisp/progmodes/cc-engine.el (c-literal-limits): make the sixth argument of
	an invocation of parse-partial-sexp 'syntax-table, not the fourth.

2016-07-14  Andreas Schwab  <schwab@suse.de>

	Fix configure summary for hybrid malloc configurations

	* configure.ac ("$hybrid_malloc" = yes): Set GNU_MALLOC to no,
	parenthesize value of GNU_MALLOC_reason.

2016-07-14  Stephen Berman  <stephen.berman@gmx.net>

	Fix delete-duplicate-lines

	* lisp/sort.el (delete-duplicate-lines): Delete duplicate
	first line when operating backward (bug#23863).

2016-07-14  Andreas Schwab  <schwab@suse.de>

	Remove unused SHEAP_OBJ

	* Makefile.in (base_obj): Remove $(SHEAP_OBJ).

2016-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/mm-decode.el (mm-convert-shr-links):
	Use shr-image-map instead of shr-map (bug#23964).

2016-07-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/mouse.el (mouse): Consolidate group definition here

	* lisp/cus-edit.el (mouse): Remove both group definitions.

2016-07-13  Chris Feng  <chris.w.feng@gmail.com>

	Include versioned preloaded libraries in `package--builtin-versions'

	* lisp/emacs-lisp/autoload.el (update-directory-autoloads): Do not
	exclude preloaded libraries or remove entries generated for them.
	(autoload-generate-file-autoloads): Do not generate autoload
	statements for preloaded libraries.

2016-07-13  Paul Eggert  <eggert@cs.ucla.edu>

	Omit unnecessary #includes from xwidget.c

	* src/xwidget.c: Remove #include directives that are not needed.
	Also, don’t conditionalize #includes on HAVE_X_WINDOWS, since this
	file is compiled only if the X interface is available.

2016-07-13  Paul Eggert  <eggert@cs.ucla.edu>

	Port xwidget.c to GCC 6 with --enable-gcc-warnings

	* src/xwidget.c (x_draw_xwidget_glyph_string, xwidget_end_redisplay):
	Adjust to pacify GCC.  Add a couple of FIXME comments, suggesting
	possible bugs found by GCC.

2016-07-12  Tino Calancha  <tino.calancha@gmail.com>

	Escape meta chars in commands processed by shell

	* lisp/progmodes/grep.el (grep-compute-defaults): Quote braces
	in all commands to be passed to a shell (Bug#23959).

2016-07-12  John Wiegley  <johnw@newartisans.com>

	Revert "Cleanup tooltips"

	This reverts commit 20038f8ab75dd1551412a43cd58520c483c22921.

	I am reverting this change because it was applied without prior discussion
	on emacs-devel, and has been found to break the NS port.  It needs more
	testing and review before it should be applied here.

2016-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-macs.el (cl--prog): New function

	(cl-prog, cl-prog*): New macros.

2016-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* cl-generic.el (cl-defmethod): Make docstring dynamic

	* lisp/emacs-lisp/cl-generic.el (cl-defmethod): Make docstring dynamic.
	(cl--generic-make-defmethod-docstring): New function for that.
	(cl-defmethod, cl-generic-generalizers): Tweak docstrings accordingly.
	(cl-generic-define-method, cl--generic-describe): Change `load-history'
	format of cl-defmethods, so as not to confused methods with equal
	specializers but different qualifiers.
	* lisp/emacs-lisp/eieio-core.el (cl-generic-generalizers): Provide docstrings.

2016-07-12  Eli Zaretskii  <eliz@gnu.org>

	Don't install keyboard hook when debugged on MS-Windows

	* src/w32fns.c (setup_w32_kbdhook): Don't install the keyboard
	hook if we are being debugged.  This avoids hosing the debugger,
	because the hook is global, and is called in the context of the
	thread which installed it, and that thread is stopped when GDB has
	control.  Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.

2016-07-12  Alan Mackenzie  <acm@muc.de>

	Amend CC Mode to handle big C++ raw strings correctly.

	Problems were caused by such a string spanning jit-lock chunks, and by a flaw
	in the +-500 bytes boundaries imposed for macros.

	* lisp/progmodes/cc-mode.el (c-extend-region-for-CPP): Check the +-500 byte
	macro boundaries here.
	(c-extend-font-lock-region-for-macros): Remove the check on the +-500 byte
	lower boundary.  Fix the check on the upper boundary.

	* lisp/progmodes/cc-fonts.el (c-font-lock-raw-strings): Handle the starting
	point already being within a raw string.

	* lisp/progmodes/cc-engine.el (c-raw-string-pos)
	(c-depropertize-raw-strings-in-region, c-after-change-re-mark-raw-strings):
	Modify regexp element "\\{,16\\}" to "\\{0,16\\}" for greater compatibility
	with other Emacsen.

2016-07-12  Stephen Berman  <stephen.berman@gmx.net>

	* lisp/mouse.el (mouse-select-region-move-to-beginning): Add :group.

2016-07-11  Dmitry Antipov  <dmantipov@yandex.ru>

	Cleanup tooltips

	* src/dispextern.h (toplevel): Remove 'tip_frame' and 'tip_window' decls.
	* src/frame.h (struct frame): New bitfield to indicate tooltip frame.
	(FRAME_TOOLTIP_P): New macro.
	* src/frame.c (make_frame): Mark new frame as regular frame by default.
	(Fframe_list, delete_frame): Redesign to use FRAME_TOOLTIP_P.
	(syms_of_frame): Don't DEFSYM 'Qtooltip' but use 'Qtooltip_timer'
	and 'Qtooltip_parameters' instead.
	* src/gtkutil.h (toplevel): Add 'xg_hide_tip' decl.
	* src/gtkutil.c (xg_hide_tip): New function.
	(xg_hide_tooltip): Adjust to cancel GTK event loop timeout if needed.
	* src/menu.c (Fx_popup_menu): Adjust call to Fx_hide_tip.
	* src/nsfns.c (toplevel): Remove 'tip_frame' leftover.
	* src/w32fns.c (unwind_create_tip_frame): Remove.
	(w32_display_monitor_attributes_list)
	(w32_display_monitor_attributes_list_fallback): Use FRAME_TOOLTIP_P.
	(toplevel): Remove 'tip_frame', 'tip_window' and 'last_show_tip_args'.
	(x_create_tip_frame): Use do_unwind_create_frame.  Mark new frame
	as a tooltip frame and record it using appropriate display info.
	(x_hide_tooltip): Add frame arg.
	(Fx_show_tip): Adjust to avoid globals, store tooltip parameters among
	base frame parameters, store tooltip hide timer among tooltip frame
	parameters.
	(Fx_hide_tip): Add frame arg, hide tooltips on all displays by default.
	(syms_of_w32fns): Don't DEFSYM 'Qtip_frame', don't initialize
	and GC-protect 'tip_timer', 'tip_frame' and 'last_show_tip_args'.
	* src/w32term.c (w32_read_socket): Extract tooltip window id from
	per-display data.  Use FRAME_TOOLTIP_P where appropriate.
	(x_new_font): Use FRAME_TOOLTIP_P.
	(x_free_frame_resources): Reset pointer to tooltip frame.
	* src/w32term.h (struct w32_display_info): New member 'w32_tooltip_frame'.
	* src/xdisp.c (init_iterator, x_consider_frame_title, prepare_menu_bars):
	Use FRAME_TOOLTIP_P.
	* src/xfns.c (x_make_monitor_attribute_list)
	(Fx_display_monitor_attributes_list): Likewise.
	(unwind_create_tip_frame): Remove.
	(toplevel): Remove 'tip_frame', 'tip_window' and 'last_show_tip_args'.
	(x_create_tip_frame): Use do_unwind_create_frame.  Mark new frame
	as a tooltip frame and record it using appropriate display info.
	(x_hide_tooltip): Add frame arg.
	(Fx_show_tip): Adjust to avoid globals, store tooltip parameters among
	base frame parameters, store tooltip hide timer among tooltip frame
	parameters.  To hide GTK system tooltip, use timeout hooked into GTK
	event loop.
	(Fx_hide_tip): Add frame arg, hide tooltips on all displays by default.
	(syms_of_xfns): Don't DEFSYM 'Qtip_frame', don't initialize
	and GC-protect 'tip_timer', 'tip_frame' and 'last_show_tip_args'.
	* src/xterm.c (handle_one_xevent): Extract tooltip window id from
	per-display data.  Use FRAME_TOOLTIP_P where appropriate.
	(x_new_font, x_set_window_size): Use FRAME_TOOLTIP_P.
	(x_free_frame_resources): Reset pointer to tooltip frame.
	* src/xterm.h (struct x_display_info): New member 'x_tooltip_frame'.
	(struct x_output) [USE_GTK_TOOLTIP]: New member 'ttip_timeout'.

2016-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/fns.c (syms_of_fns): Leave `features' lexically scoped

2016-07-11  Mario Lang  <mlang@delysid.org>

	Test mapcan

	* test/src/fns-tests.el (fns-tests-mapcan): New test.

2016-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	Prevent to apply funcall on t

	* lisp/vc/ediff-util.el (ediff-really-quit): Ignore the global part of
	'ediff-after-quit-hook-internal' hook (Bug#23933).

2016-07-11  Tino Calancha  <tino.calancha@gmail.com>

	Ignore angle mode while simplifying units

	* lisp/calc/calc-forms.el (math-to-hms, math-from-hms):
	Ignore value of 'calc-angle-mode' when 'math-simplifying-units'
	is non-nil (Bug#23889).
	* lisp/calc/calc-math.el (math-to-radians, math-from-radians)
	(math-from-radians-2, math-to-radians-2): Idem.

2016-07-11  Eli Zaretskii  <eliz@gnu.org>

	Fix display of composed characters

	* src/xdisp.c (x_produce_glyphs): Fix off-by-one error in
	iteration through composition glyphs.  (Bug#23938)

2016-07-11  Paul Eggert  <eggert@cs.ucla.edu>

	Fix composition bug caused by off-by-1 typo

	* src/xdisp.c (x_produce_glyphs): Fix off-by-one typo when
	computing composition glyph (Bug#23938).

2016-07-10  Tino Calancha  <tino.calancha@gmail.com>

	Dired always read file system

	* dired.el (dired-always-read-filesystem): Add new option.
	(dired-mark-files-containing-regexp): Use it (Bug#22694).
	* doc/emacs/dired.texi: Mention it in the manual.
	* test/lisp/dired-tests.el (dired-test-bug22694): Add test.
	;* etc/NEWS: Add entry for this change.

2016-07-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/macfont.m (mac_font_shape): Make sure that total_advance is increasing.

2016-07-10  Tino Calancha  <tino.calancha@gmail.com>

	Avoid 'unused var' 'not left unused var' warnings

	* lisp/ibuffer.el (ibuffer-locked-buffer-p): Remove unused var 'char'.
	Rename used var '_buffer' to 'cbuffer'.

	* lisp/ibuf-ext.el (ibuffer-unmark-all): Rename used var '_mark'
	to cmark'.

2016-07-10  Tino Calancha  <tino.calancha@gmail.com>

	* lisp/simple.el (shell-command, shell-command-on-region): Fix doc strings

2016-07-10  Michael Albinus  <michael.albinus@gmx.de>

	Add a note how to use `tramp-own-remote-path'

	* doc/misc/tramp.texi (Inline methods, External methods)
	(Remote shell setup, Android shell setup)
	(Frequently Asked Questions, Frequently Asked Questions):
	Use @command and @samp consequently.
	(Remote programs): The remote shell must support the -l
	argument, in order to use `tramp-own-remote-path'.  (Bug#23914)

2016-07-10  Alan Third  <alan@idiocy.org>

	Remove App Nap setting from Info.plist (bug#22993)

	* nextstep/templates/Info.plist.in: Remove LSAppNapIsDisabled key since
	it doesn't actually disable app nap.

2016-07-09  Mario Lang  <mlang@delysid.org>

	An efficient built-in mapcan

	A built-in version of `mapcan' avoids consing up (and GC'ing) the
	intermediate list.

	* src/fns.c (Fmapcan): New built-in.
	(syms_of_fns): Define.

	* lisp/emacs-lisp/cl.el (mapcan): Remove defalias.

	* lisp/emacs-lisp/cl-extra.el (cl-mapcan): Use built-in `mapcan'
	if only one sequence is provided.

	* lisp/progmodes/hideif.el (hif-delimit):
	* lisp/dired-aux.el (dired-do-find-regexp):
	* lisp/woman.el (woman-parse-colon-path): Use `mapcan' instead of
	`cl-mapcan'.

	* lisp/woman.el (eval-when-compile): Require 'cl-lib only when
	compiling.

	* lisp/mouse.el (mouse-buffer-menu-map):
	* lisp/net/pop3.el (pop3-uidl-dele):
	* lisp/progmodes/gud.el (gud-jdb-build-source-files-list):
	* lisp/cedet/semantic/db-find.el (semanticdb-fast-strip-find-results):
	* lisp/cedet/semantic/symref/grep.el (semantic-symref-derive-find-filepatterns):
	* lisp/gnus/nnmail.el (nnmail-split-it):
	* lisp/gnus/gnus-sum.el (gnus-articles-in-thread):
	* lisp/gnus/gnus-registry.el (gnus-registry-sort-addresses):
	* lisp/gnus/gnus-util.el (gnus-mapcar): Use `mapcan'.

2016-07-09  Tino Calancha  <tino.calancha@gmail.com>

	Detect aliases to built-in functions

	* lisp/help-fns.el (describe-function-1): Check for aliases
	defined with (defalias alias (symbol-function built-in)) (Bug#23887).

	* test/lisp/help-fns-tests.el (help-fns-test-bug23887): Untag as
	failing this test.

2016-07-09  Michael Albinus  <michael.albinus@gmx.de>

	Avoid recursive detection of remote uid and gid in tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-gvfs-get-remote-uid-gid-in-progress):
	New variable.
	(tramp-gvfs-maybe-open-connection): Use it.

	* test/lisp/net/tramp-tests.el (tramp-test18-file-attributes):
	Reorder test.

2016-07-09  Jürgen Hötzel  <juergen@archlinux.org>

	Wrap around error in coreutil's ls

	* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Add switch
	"--quoting-style=literal" if remote host supports quoting style.
	Recent versions of coreutils changed default quoting style to
	"--quoting=shell-escape".

2016-07-09  Eli Zaretskii  <eliz@gnu.org>

	Minor tweaks of copying text properties when padding strings

	* src/editfns.c (styled_format): Don't include padding on the left
	in the properties at the beginning of the string.  (Bug#23897)

	* test/src/editfns-tests.el (format-properties): Add tests for
	faces when the string is padded on the left or on the right.

2016-07-08  Mario Lang  <mlang@delysid.org>

	No need to require the same feature twice.

	* lisp/dired-aux.el (require 'cl-lib): Remove.

2016-07-08  Mark Oteiza  <mvoteiza@udel.edu>

	Turn on lexical binding

	* lisp/net/secrets.el (secrets-collection-handler): Use cl-pushnew.
	(secrets-search-items, secrets-create-item): Use append.
	(secrets-show-secrets): Remove unused binding.
	(secrets-expand-item, secrets-tree-widget-after-toggle-function):
	Ignore unused arguments.

2016-07-08  Mark Oteiza  <mvoteiza@udel.edu>

	Derive secrets-mode from special-mode

	* lisp/net/secrets.el: Remove top-level secrets-mode hack.
	(secrets-mode-map): New variable.  Add key bindings to n and p for
	navigating lines.
	(secrets-mode): Derive from special-mode.  Remove keymap code and
	initialization code.  Do not record undo information.  Make
	secrets-show-collections the local revert-buffer-function.
	(secrets-show-collections): Change signature to satisfy revert-buffer.

2016-07-08  Mark Oteiza  <mvoteiza@udel.edu>

	Add a couple cells to lisp-prettify-symbols-alist

	* lisp/emacs-lisp/lisp-mode.el (lisp-prettify-symbols-alist): Add
	"sqrt" and "not".

2016-07-08  Michael Albinus  <michael.albinus@gmx.de>

	Detect remote uid and gid in tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name)
	(tramp-gvfs-handler-mounted-unmounted)
	(tramp-gvfs-connection-mounted-p):
	Make "default-location" a connection property.
	(tramp-gvfs-get-remote-uid, tramp-gvfs-get-remote-gid): New defuns.
	(tramp-gvfs-maybe-open-connection): Use them.

2016-07-08  Eli Zaretskii  <eliz@gnu.org>

	Yet another fix for copying properties by 'format'

	* src/textprop.c (extend_property_ranges): Accept an additional
	argument OLD_END, and only extend the end of a property range if
	its original end is at OLD_END; all the other ranges are left
	intact.  (Bug#23897)
	* src/editfns.c (styled_format): Pass the original length of the
	string to 'extend_property_ranges'.
	* src/intervals.h (extend_property_ranges): Adjust prototype.

	* test/src/editfns-tests.el (format-properties): Add tests for
	bug#23897.

2016-07-08  Stephen Berman  <stephen.berman@gmx.net>

	Allow selecting region with mouse to move point to beginning

	* etc/NEWS: Mention new user option
	`mouse-select-region-move-to-beginning'.

	* doc/emacs/frames.texi (Mouse Commands): Add cross-reference
	to the following.
	(Word and Line Mouse): Describe how double-clicking mouse-1 to
	activate region and `mouse-select-region-move-to-beginning'
	affect point.

	* lisp/mouse.el (mouse-select-region-move-to-beginning): New defcustom.
	(mouse-set-point): Use it.  (Bug#23478)

2016-07-08  Stephen Berman  <stephen.berman@gmx.net>

	Fix menu bar breakage

	* lisp/menu-bar.el (menu-bar-showhide-scroll-bar-menu): Use backquoting
	to prevent void variable errors, and fix typo (bug#23918).

2016-07-08  Tino Calancha  <tino.calancha@gmail.com>

	Copy buffer names to kill ring

	* ibuf-ext.el (ibuffer-copy-buffername-as-kill): New command.
	* lisp/ibuffer (ibuffer-mode-map): Bound it to 'B'.
	;* etc/NEWS: Add entry for this new feature.

2016-07-07  Tino Calancha  <tino.calancha@gmail.com>

	Remove just input mark

	* lisp/ibuffer.el (ibuffer-unmark-all): When MARK is not ?\r remove
	just MARK.

2016-07-07  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer change marks

	* lisp/ibuffer.el (ibuffer-change-marks): New command.
	(ibuffer-mode-map): Bind it to '* c'.
	(ibuffer-mode-groups-popup): Update menus.
	(ibuffer-mode): Update mode doc.

2016-07-07  Alan Third  <alan@idiocy.org>

	Prevent NS event loop being re-entered (bug#11049)

	* nsterm.m (ns_read_socket, ns_select): Return -1 if already in event
	loop instead of aborting.

2016-07-07  Alan Third  <alan@idiocy.org>

	Fix some deprecated functions

	* src/nsterm.m (firstRectForCharacterRange): In OS X >10.6 replace
	convertBaseToScreen with convertRectToScreen.
	* src/nsmenu.m (ns_update_menubar): Remove attachedMenu, deprecated in
	OS X 10.2, and always seems to return nil.

2016-07-07  Aaron Jensen  <aaronjensen@gmail.com>  (tiny change)

	Disable App Nap (bug#22993)

	* nextstep/templates/Info.plist.in: Insert AppNap disable code.

2016-07-07  Michael Albinus  <michael.albinus@gmx.de>

	Fix an error in Tramp for rsync

	* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Make it work for "rsync".
	(tramp-make-copy-program-file-name): Apply `directory-file-name'.

2016-07-07  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer: Mark locked buffers

	* lisp/ibuf-ext.el (ibuffer-locked-buffer-p): New defun.
	(ibuffer-mark-by-locked): New command.
	(ibuffer-mode-map): Bind it to '% L'; update menus.
	(ibuffer-mode): Update mode doc.
	;* etc/NEWS: Add NEWS entry for these changes and previous two commits.

2016-07-07  Tino Calancha  <tino.calancha@gmail.com>

	* lisp/ibuffer.el: Add face for locked buffers

	* lisp/ibuffer.el: Add mark for locked buffers

	;* etc/NEWS (Ibuffer): Update entry according with last commit

2016-07-07  Tino Calancha  <tino.calancha@gmail.com>

	Remove duplicate binding

	* lisp/ibuffer.el (ibuffer-mode-map): 'ibuffer-mark-by-content-regexp'
	just bound to '% g'.
	As suggested in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00165.html

2016-07-07  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer: Drop needless binding

	* lisp/ibuffer.el (ibuffer-mark-interactive): 'inhibit-read-only'
	already bound to 't' inside 'ibuffer-set-mark'.

2016-07-07  Phillip Lord  <phillip.lord@russet.org.uk>

	Run tests from non-byte compiled files

	* test/Makefile.in: Eval non-byte-compiled files for tests.

2016-07-06  Mark Oteiza  <mvoteiza@udel.edu>

	Replace eldoc-documentation-function with a hook

	* lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): New hook.
	(eldoc-documentation-function): Make into obsolete alias.
	(eldoc-echo-area-use-multiline-p, eldoc-highlight-function-argument):
	(eldoc-argument-case, global-eldoc-mode): Update docstrings.
	(eldoc-print-current-symbol-info): Use run-hook-with-args-until-success
	on eldoc-documentation-functions.
	(eldoc-supported-p): New function.
	(eldoc-mode, global-eldoc-mode, eldoc-schedule-timer): Use eldoc-supported-p.
	* etc/NEWS: Mention eldoc-documentation-functions.
	* doc/lispref/modes.texi: Update reference.

2016-07-06  Simen Heggestøyl  <simenheg@gmail.com>

	Complete "initial" and "unset" in CSS mode

	* lisp/textmodes/css-mode.el (css--complete-property-value): Make
	"initial" and "unset" completion candidates for all CSS properties,
	just like "inherit".

	* test/lisp/textmodes/css-mode-tests.el
	(css-test-complete-property-value): Update test to reflect the above
	change.

2016-07-06  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-gvfs.el (tramp-gvfs-mount-spec): Fix typo.

2016-07-06  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify rfc1345.el a bit

	* lisp/leim/quail/rfc1345.el: Omit commented-out codes for ASCII
	that would no longer parse.  Replace control characters with
	escapes in character constants.  Omit unnecessary \ after ?.
	This does not change behavior.

2016-07-05  Dmitry Antipov  <dmantipov@yandex.ru>

	Prefer 'frame-parameter' where it is expected to be a bit faster

	* lisp/international/mule-diag.el (mule-diag):
	* lisp/menu-bar.el (menu-bar-showhide-scroll-bar-menu):
	* lisp/mouse.el (mouse-drag-line, font-menu-add-default):
	* lisp/scroll-bar.el (toggle-scroll-bar, toggle-horizontal-scroll-bar):
	* lisp/faces.el (x-resolve-font-name): Use 'frame-parameter'.

2016-07-05  Dmitry Antipov  <dmantipov@yandex.ru>

	Reduce consing caused by vertical motion commands

	* src/frame.c (Fframe_parameter): Avoid call to Fframe_parameters for the
	parameters frequently requested by calls to 'next-line' and 'previous-line'.

2016-07-05  Michael Albinus  <michael.albinus@gmx.de>

	Make all Tramp tests pass for "gdrive" method

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
	* lisp/net/tramp-compat.el (tramp-compat-copy-directory)
	(tramp-compat-delete-directory):
	* lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory):
	Use `directory-files-no-dot-files-regexp'.

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
	(tramp-gvfs-send-command): Call `tramp-flush-file-property' in
	case of problems.

	* test/lisp/net/tramp-tests.el (tramp--instrument-test-case):
	Adapt docstring.
	(tramp-test14-delete-directory): Make further tests.

2016-07-05  Eli Zaretskii  <eliz@gnu.org>

	Fix redisplay with window-start on continuation lines

	* src/xdisp.c (pos_visible_p): Return false if the window starts
	after CHARPOS.
	(compute_window_start_on_continuation_line): Don't return
	window-start position that is after point in the buffer, as the
	callers don't expect this to happen, and will generally display an
	empty window with the cursor in its middle.  (Bug#23871)

2016-07-05  Tino Calancha  <tino.calancha@gmail.com>

	Add :expected-result :failed for unfixed bug test

	* test/lisp/help-fns-tests.el (help-fns-test-bug23887):

2016-07-05  Tino Calancha  <tino.calancha@gmail.com>

	* test/lisp/help-fns-tests.el: Add several tests for 'describe-function'.

2016-07-04  Michal Nazarewicz  <mina86@mina86.com>

	Don’t create unnecessary marker in ‘delete-trailing-whitespace’

	* lisp/simple.el (delete-trailing-whitespace): If END argument is nil,
	there is no need for the end-marker to be created.

2016-07-04  Michal Nazarewicz  <mina86@mina86.com>

	Simplify ‘delete-trailing-whitespace’ by not treating \n as whitespace

	* lisp/simple.el (delete-trailing-whitespace): Set newline’s character
	syntax to non-whitespace so that ‘\s-’ regular expression does not match
	it.

	This simplifies the loop slightly since a simple ‘\s-+$’ can be used and
	as a consequence ‘line-beginning-position’ function does not need to be
	called any longer.

	Furthermore, when newline has whitespace syntax, ‘\s-$’ regular
	expression ends up matching empty lins since ‘\s-’ matches newline
	characetr of proceeding line.  This leads to needless loop iterations.

	Since previous change to ‘delete-trailing-whitespace’ already introduced
	‘with-syntax-table’, take advantage of it and also overwrite newline’s
	character syntax.

2016-07-04  Michal Nazarewicz  <mina86@mina86.com>

	Make ‘delete-trailing-whitespace’ delete spaces after form feed

	* lisp/simple.el (delete-trailing-whitespace): Treat form fead as
	a non-whitespace character (regradless of whether it’s character syntax
	is whitespace) and delete any whitespace following it instead of leaving
	lines with form feeds completely unchanged.  I.e. a line like "\f " will
	now became "\f".

2016-07-04  Dmitry Antipov  <dmantipov@yandex.ru>

	Cleanup XEditRes hack

	* configure.ac [USE_X_TOOLKIT]: Define X_TOOLKIT_EDITRES if
	_XEditResCheckMessages is declared in X11/Xmu/Editres.h and may be
	linked with -lXmu.  This should work with any non-ancient Xmu library.
	* xfns.c (toplevel): Remove old cruft.
	(x_window) [USE_X_TOOLKIT]: Use X_TOOLKIT_EDITRES.
	* xterm.c (toplevel): Remove old cruft.
	(handle_one_xevent): Use X_TOOLKIT_EDITRES.
	* xterm.h (toplevel): Include X11/Xmu/Editres.h if X_TOOLKIT_EDITRES.

2016-07-04  Michael Albinus  <michael.albinus@gmx.de>

	Add Google Drive support to Tramp

	* doc/misc/tramp.texi: Add `gdrive' method.

	* doc/misc/trampver.texi:
	* lisp/net/trampver.el: Change version to "2.3.1-pre".

	* etc/NEWS: Add Tramp connection method "gdrive".

	* lisp/net/tramp-gvfs.el (tramp-gvfs-methods) <gdrive>: Add.
	(tramp-default-user-alist, tramp-default-host-alist): Add rule
	for "gdrive".
	(tramp-gvfs-file-attributes): Add "name", remove "standard::icon".
	(tramp-gvfs-file-attributes-with-gvfs-ls-regexp): Simplify regexp.
	(tramp-gvfs-get-directory-attributes): Improve loop.  Use
	"standard::display-name" as file name, if available.
	(tramp-gvfs-handle-file-name-all-completions): Simplify.
	(tramp-gvfs-url-file-name, tramp-gvfs-handler-mounted-unmounted)
	(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
	Map between "gdrive" and "google-drive".

	* lisp/net/tramp.el (tramp-call-process): Do not signal error.

	* test/lisp/net/tramp-tests.el (tramp--instrument-test-case):
	Do not enable `tramp-message-show-message'.
	(tramp-test13-make-directory, tramp-test14-delete-directory):
	Do not specify error type.

2016-07-04  Tino Calancha  <tino.calancha@gmail.com>

	Calc: Update mode line after change mode

	* lisp/calc/calc-ext.el (calc-change-mode): Call 'calc-set-mode-line'.

2016-07-03  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/simple.el (save-mark-and-excursion): Add declare forms.

2016-07-03  Paul Eggert  <eggert@cs.ucla.edu>

	Re-fix open-network-stream responsiveness

	Problem reported by Christer Ekholm (Bug#23864).
	* src/process.c (wait_reading_process_output): Further fix for
	typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu when
	wait == INFINITY and got_output_end_time is invalid.  See:
	http://bugs.gnu.org/23864#20

2016-07-03  Alan Mackenzie  <acm@muc.de>

	Remove redundant forms from CC Mode for faster fontification

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Remove four arms of
	the "main" cond form in the function, which have been redundant since the
	extraction of c-font-lock-cut-off-declarators from the function on
	2016-06-15/16.

2016-07-03  Alan Mackenzie  <acm@muc.de>

	Speed up CC Mode fontification with less accurate functions extending region

	* lisp/progmodes/cc-fonts.el (c-font-lock-cut-off-declarators)
	(c-font-lock-enclosing-decls)
	* lisp/progmodes/cc-mode.el (c-fl-decl-start): Replace invocations of
	c-beginning-of-decl-1 with less accurate invocations of
	c-syntactic-skip-backwards to speed up fontification.

2016-07-03  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer: unmark all buffers without confirmation

	* lisp/ibuffer.el (ibuffer-unmark-all-marks): New command (Bug#23680).
	(ibuffer-mouse-popup-menu): Use it.
	(ibuffer-mode): Update mode doc.
	(ibuffer-mode-map): Bind 'ibuffer-unmark-all-marks' to 'U'.
	Rebind 'ibuffer-do-replace-regexp' to 'r'.

2016-07-03  Paul Eggert  <eggert@cs.ucla.edu>

	Fix open-network-stream responsiveness

	Problem reported by Constantin Kulikov (Bug#23684).
	* src/process.c (wait_reading_process_output):
	Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
	when wait == INFINITY and got_output_end_time is invalid.
	In this case the code should break, not continue.

2016-07-02  Tino Calancha  <tino.calancha@gmail.com>

	Ibuffer: Mark buffers by content

	* lisp/ibuf-ext.el (ibuffer-mark-by-content-regexp): New command.
	(ibuffer-never-search-content-name): New option.
	(ibuffer-never-search-content-mode): Idem.
	(ibuffer-mark-by-content-regexp): Use them (Bug#23734).

	* lisp/ibuffer.el (ibuffer-mode-map): Bind new command to '% c' and '% g'.
	(ibuffer-mode): Update mode documentation.

2016-07-02  Tino Calancha  <tino.calancha@gmail.com>

	ibuffer-copy-filename-as-kill verbosity increase

	* lisp/ibuf-ext.el (ibuffer-copy-filename-as-kill):
	Use shorter name, result, for a local bound var.
	Show the string result in the echo area.

2016-07-02  Eli Zaretskii  <eliz@gnu.org>

	Fix cursor positioning on TTY frames after stretch glyph

	* src/term.c (append_glyph, append_composite_glyph)
	(append_glyphless_glyph): Set the avoid_cursor_p and multibyte_p
	members of the produced 'struct glyph'.  Fixes cursor positioning
	on the first character after a stretch glyph produced from
	line-prefix, wrap-prefix, etc. on TTY frames.

2016-07-02  Eli Zaretskii  <eliz@gnu.org>

	Fix vertical-movement in buffers with wrap-prefix

	* src/indent.c (Fvertical_motion): Zero the current_y coordinate
	whenever we zero the vpos vertical position of the iterator.
	* src/xdisp.c (move_it_in_display_line_to): Handle line-prefix and
	wrap-prefix regardless of whether the current Y coordinate is
	inside the window dimensions.  (Bug#23879)

2016-07-02  Eli Zaretskii  <eliz@gnu.org>

	Rename FACE_OPT_FROM_ID to FACE_FROM_ID_OR_NULL

	* src/dispextern.h (FACE_FROM_ID_OR_NULL): Renamed from
	FACE_OPT_FROM_ID; all callers changed.
	* src/xdisp.c (extend_face_to_end_of_line): Call FACE_FROM_ID, not
	FACE_FROM_ID_OR_NULL, as the resulting face is immediately
	dereferenced.
	(fill_gstring_glyph_string): Call FACE_FROM_ID, not
	FACE_FROM_ID_OR_NULL, as the resulting face will be dereferenced
	when the glyph string is drawn.
	(BUILD_COMPOSITE_GLYPH_STRING): Call FACE_FROM_ID, not
	FACE_FROM_ID_OR_NULL, as the resulting face will be dereferenced
	in fill_composite_glyph_string.
	(calc_line_height_property): Call FACE_FROM_ID_OR_NULL rather that
	FACE_FROM_ID, since the function and its caller can cope with that
	situation.  Conflate 3 tests of missing face or font into just
	one.
	* src/xfaces.c (Fx_list_fonts, Fface_font, lookup_face): Call
	FACE_FROM_ID_OR_NULL rather that FACE_FROM_ID, since these
	functions can cope with that situation.
	(lookup_derived_face): Don't call FACE_FROM_ID if the result will
	not be used.
	* src/w32console.c (w32_face_attributes): Remove redundant 'eassert'.

2016-07-01  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/gnus/gnus-art.el (gnus-article-send-map): Remove extra quote.

2016-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/auth-source.el (auth-source--symbol-keyword): Fix namespace

	i.e. rename from auto-source--symbol-keyword.

2016-07-01  Dmitry Antipov  <dmantipov@yandex.ru>

	Avoid yet another possible NULL pointer dereference found by GCC 6.1.1

	* lwlib/lwlib.c (lw_get_all_values): Always check the value returned by
	get_widget_info.

2016-06-30  Alan Mackenzie  <acm@muc.de>

	CC Mode: truncate the semi-nonlit cache when applying syntax-table to a quote

	This applies to applying or removing syntax-table text properties in raw
	strings which affect the stringiness of a piece of text.  This fixes the
	bug
	reported in
	http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00695.html.

	* lisp/progmodes/cc-engine.el (c-truncate-semi-nonlit-pos-cache): new
	defsubst.
	(c-invalidate-state-cache-1): Call new function in place of inline
	manipulation.
	(c-depropertize-raw-string, c-propertize-raw-string-opener): truncate the
	semi-nonlit cache when pertinent syntax-table text properties get applied to
	the text.

2016-06-29  Dmitry Antipov  <dmantipov@yandex.ru>

	Minor tweaks to openp

	* src/lread.c (openp): Move invariant code out of the loop
	and thus avoid redundant calls to memcpy.  Adjust comments.

2016-06-29  Dmitry Antipov  <dmantipov@yandex.ru>

	Simplify handling of frame parameters

	* src/frame.c (x_set_frame_parameters): Avoid extra loop processing
	foreground color, background color and font parameters.  Adjust
	comments.

2016-06-29  Dmitry Antipov  <dmantipov@yandex.ru>

	Cleanup around mature character manipulation functions

	* lisp/international/mule-diag.el (decode-codepage-char): Remove.

	* lisp/ldefs-boot.el (toplevel): Adjust accordingly.

	* lisp/subr.el (toplevel): Do not advertise calling conventions
	for 'decode-char' and 'encode-char'.

	* src/charset.c (Fdecode_char, Fencode_char): Remove unused 3rd arg.

2016-06-29  Alan Mackenzie  <acm@muc.de>

	Fix C-M-a in a C function finding the start of a macro preceding it.

	Also amend some pertinent documentation.  This fixes bug #23818.

	* lisp/progmodes/cc-engine.el (c-beginning-of-decl-1): Also check for a
	virtual semicolon at a place where we check for other types of statement ends.

	* lisp/progmodes/cc-vars.el (c-macro-nacmes-with-semicolon): Remove from the
	doc string the bit saying that the variable is a prototype and liable to
	change.

	* doc/misc/cc-mode.texi (Macros with ;): Enhance, stating that configuring
	macros with semicolon can prevent C-M-a missing the beginning of defun.

2016-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

	Avoid possible NULL pointer dereference found by GCC 6.1.1

	* src/xfns.c (x_get_monitor_attributes_xrandr): Always check
	the value returned by XRRGetOutputInfo.

2016-06-28  Tino Calancha  <tino.calancha@gmail.com>

	Dired recognize dirs when file size in human units

	* lisp/dired.el (dired-re-inode-size): Update 'dired-re-inode-size'
	to match when Dired displays the allocated file size column
	in human readable units (Bug#22255).

2016-06-28  Mark Oteiza  <mvoteiza@udel.edu>

	Fix breakage from previous change

	* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1):
	* lisp/vc/log-view.el (log-view-font-lock-keywords): Quote face.

2016-06-28  Mark Oteiza  <mvoteiza@udel.edu>

	Fix breakage from previous change.

	* lisp/textmodes/texinfo.el (texinfo-font-lock-keywords): Quote face.

2016-06-28  Eli Zaretskii  <eliz@gnu.org>

	Add tests for copying properties by 'format'

	* test/src/editfns-tests.el (format-properties): New test.

2016-06-28  Eli Zaretskii  <eliz@gnu.org>

	Fix copying properties in 'format' when it produces padding

	* src/textprop.c (extend_property_ranges): Correct range extension
	when the new end is beyond the old end.  (Bug#23859)

2016-06-27  Alan Third  <alan@idiocy.org>

	Enable dividers in NS (bug#22973)

	src/nsfns.m: Add colour settings functions to ns_frame_park_handlers.
	src/nsterm.m (ns_draw_window_divider): ns_focus has to go before the
	attempt to set the colour.
	src/nsterm.m (ns_draw_vertical_window_border): This had the same bug as
	above, although I didn't see any errors.

2016-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Fix the prefix action of shr-copy-url

	* lisp/net/shr.el (shr-copy-url): Make the command really copy
	the image url if given a prefix.

2016-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	New functions svg-text and svg-remove

	* doc/lispref/display.texi (SVG Images): Document svg-remove.

	* doc/lispref/display.texi (SVG Images): Document svg-text.

	* lisp/svg.el (svg-remove): New function.
	(svg-text): New function.

2016-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Add new function dom-remove-node

	* doc/lispref/text.texi (Document Object Model): Document
	dom-remove-node.

	* lisp/dom.el (dom-remove-node): New function.

2016-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Add a new function `svg-embed'

	* doc/lispref/display.texi (SVG Images): Document `svg-embed'.

	* lisp/svg.el (svg-embed): New function.
	(svg--image-data): Ditto.

2016-06-27  Eli Zaretskii  <eliz@gnu.org>

	* lisp/descr-text.el (describe-char-unicode-data): Fix copy/paste errors.

2016-06-27  Eli Zaretskii  <eliz@gnu.org>

	Fix 'move-to-window-line' when EOB is on last screen line

	* src/window.c (displayed_window_lines): Fix an off-by-one error
	when the bottom of the last display line is exactly at window's
	last pixel.  Remove kludgey fix for TTY frames that is no longer
	needed.  (Bug#15760)
	(Fmove_to_window_line): Doc fix.

	* doc/lispref/positions.texi (Screen Lines): Clarify and make more
	accurate the documentation of 'move-to-window-line'.

2016-06-27  Alan Mackenzie  <acm@muc.de>

	Amend a cache so that typing into C++ raw strings has no undue delay.

	Also amend the code so that low-level searches to the end of literals are done
	only when these positions get used.

	* lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use the new
	c-literal-start instead of c-literal-limit.
	(c-state-semi-nonlit-pos-cache): Change the structure of this cache, such that
	it stores details of the literal at a point, rather than merely points outside
	of literals.
	(c-state-semi-pp-to-literal, c-state-full-pp-to-literal)
	(c-cache-to-parse-ps-state, c-parse-ps-state-to-cache, c-ps-state-cache-pos)
	(c-parse-ps-state-below, c-literal-start): New functions.
	(c-state-semi-safe-place): Removed.
	(c-in-literal): Use c-state-semi-pp-to-literal, so as not to scan to its end.
	(c-literal-limits, c-determine-limit-get-base): consequential amendments.
	(c-find-decl-spots, c-before-change-check-<>-operators, c-raw-string-pos)
	(c-guess-basic-syntax (CASE 2)): Avoid needless scans to end of literals.

	* lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): Avoid needless scans
	to end of literals.

	* lisp/progmodes/cc-mode.el (c-fl-decl-start): Avoid needless scans to end of
	literals.

	* lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun)
	(c-defun-name, c-declaration-limits): Avoid needless scans to end of literals.

2016-06-26  Dmitry Gutov  <dgutov@yandex.ru>

	Also handle escaping when string begins with a quote

	* lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes):
	Handle quoting of the first character in the string.

	* test/lisp/progmodes/ruby-mode-tests.el
	(ruby-toggle-string-quotes-quotes-correctly): Update.

2016-06-26  Sriram Thaiyar  <sriram.thaiyar@gmail.com>  (tiny change)

	Fix quote escaping in ruby-toggle-string-quotes

	* lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes):
	Change logic to quote based on the current quote of the string.

	* test/lisp/progmodes/ruby-mode-tests.el
	(ruby-toggle-string-quotes-quotes-correctly): Add test.

2016-06-26  Noam Postavsky  <npostavs@gmail.com>

	Fix test-completion with completion-regexp-list

	* src/minibuf.c (Ftest_completion): Handle alist COLLECTION with non-nil
	completion-regexp-list (Bug #23533).

2016-06-26  Paul Eggert  <eggert@cs.ucla.edu>

	Try other addresses when connecting to multihomed

	Problem reported by Juliusz Chroboczek (Bug#17976)
	and by Artur Malabarba (Bug#23620).
	Patch from a suggestion by Andreas Schwab in:
	http://bugs.gnu.org/17976#39
	This patch is for non-MS-Windows platforms.
	I don't know the situation on MS-Windows.
	* src/process.c (connecting_status):
	New function, for (connect . ADDRINFOS).
	(connect_network_socket, check_for_dns, wait_for_socket_fds)
	(wait_while_connecting, wait_reading_process_output, status_notify):
	Use it.
	(decode_status, Fmake_network_process):
	Support (connect . ADDRINFOS) status.
	(connect_network_socket) [!WINDOWSNT]:
	If the connection failed and there are other addresses to try, do not
	signal an error; instead, loop around to try the next address.
	(wait_reading_process_output): Advance to the next address
	if there are multiple addresses and the first remaining address
	failed.
	* src/process.h (struct Lisp_Process.status): Adjust comment
	to describe (connect . ADDRINFOS).

2016-06-26  Paul Eggert  <eggert@cs.ucla.edu>

	Fix GNUC_PREREQ for GCC 2.8.1 etc.

	Problem reported by Eli Zaretskii in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00608.html
	* src/conf_post.h (GNUC_PREREQ): Port to GCC versions like GCC
	2.8.1 (1998), which come before GCC 3.0 and which have nonzero
	patchlevel numbers.

2016-06-26  Eli Zaretskii  <eliz@gnu.org>

	Don't set 'bidi-paragraph-direction' in 'ansi-term'

	* lisp/term.el (ansi-term): Remove unnecessary setting of
	'bidi-paragraph-direction'.  The underlying problem is solved in
	bidi.c by changing the regexps that define the paragraph beginning
	and end.  (Bug#20611)

2016-06-26  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.3.0

	* doc/misc/trampver.texi:
	* lisp/net/trampver.el: Change version to "2.3.0".

2016-06-26  Paul Eggert  <eggert@cs.ucla.edu>

	Fix GNUC_PREREQ off-by-1 typo

	Problem reported by Martin Rudalics in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00587.html
	* src/conf_post.h (GNUC_PREREQ) [__GNUC_PATCHLEVEL__]:
	Fix < vs <= typo.

2016-06-26  Michael Albinus  <michael.albinus@gmx.de>

	Fix some oddities in Tramp's rsync and smb methods

	* lisp/net/tramp-sh.el (tramp-methods) <rsync>: Add "-p" and
	"-s" arguments.
	(tramp-do-copy-or-rename-file-out-of-band):
	Call `file-name-directory' also for remote NEWNAME.

	* test/lisp/net/tramp-tests.el (tramp-test15-copy-directory):
	Do not skip for tramp-smb.el.  Test als COPY-CONTENTS case.
	(tramp-test24-file-name-completion): Improve check for
	hostname completion.
	(tramp--test-rsync-p): New defun.
	(tramp-test31-special-characters)
	(tramp-test31-special-characters-with-stat)
	(tramp-test31-special-characters-with-perl)
	(tramp-test31-special-characters-with-ls, tramp-test32-utf8)
	(tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
	(tramp-test32-utf8-with-ls): Skip for "rsync".

	* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory):
	Check also for CIFS capabilities.

2016-06-26  Ury Marshak  <ury.marshak@gmail.com>  (tiny change)

	Fix FRAME_INTERNAL_BORDER_WIDTH use (Bug#23841)

	* src/nsfns.m (x_set_internal_border_width): Replace assignments to
	FRAME_INTERNAL_BORDER_WIDTH.

2016-06-25  Leo Liu  <sdl.web@gmail.com>

	Deprecations (bug#23850)

	* lisp/subr.el (string-to-unibyte, string-as-unibyte,
	string-to-multibyte, string-as-multibyte): Make obsolete.

2016-06-25  Tino Calancha  <tino.calancha@gmail.com>

	Do not prompt twice to save a buffer

	* lisp/hilit-chg.el (highlight-markup-buffers): (Bug#23824).

2016-06-25  Alan Third  <alan@idiocy.org>

	Move text line right when in box (bug#23755)

	* src/nsterm.m (ns_draw_glyph_string_foreground): Create to take
	CHAR_GLYPH specific code and move glyphs right if within a box.
	(ns_draw_glyph_string): Move CHAR_GLYPH specific code into above
	function.

2016-06-25  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	0377fe2 ; Spelling fixes
	f253695 Update docs for `customize-mode'
	4395aaa Fix documentation of 'assoc-string' and 'compare-strings'
	ab0ebb9 ; Only load .elc file in tests.
	a98aa02 Error on multibyte characters in HTTP request
	ea512a7 * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th...
	8297331 ; Revert "Ensure undo-boundary after insert-file-contents."
	dc5e65b Unset GIT_DIR when calling Git commands
	6cdd8f7 Ensure undo-boundary after insert-file-contents.
	4793f5f Clarify documentation of 'line-spacing' and 'line-height'
	5f37572 Fix removal of variables from process-environment
	e5e886d * admin/authors.el (authors-ignored-files, authors-valid-file...
	db0777b * admin/authors.el (authors-aliases, authors-fixed-case): Add...

	# Conflicts:
	#	doc/lispref/modes.texi
	#	lisp/gnus/mm-decode.el

2016-06-25  Mark Oteiza  <mvoteiza@udel.edu>

	Teach net-utils more iproute2 and nl80211 tools

	* lisp/net/net-utils.el (iwconfig-program): Add iw(8).
	(iwconfig-program-options): Add "dev" argument for iw.  Another useful
	option is "phy"; beyond that one needs to know the interface name.
	(netstat-program): Add ss(8).
	(route-program): Add ip(8).
	(route-program-options): Add "route" argument for ip.

2016-06-24  Leo Liu  <sdl.web@gmail.com>

	Use use-region-p in prolog.el

	* lisp/progmodes/prolog.el (region-exists-p): Remove.
	* lisp/progmodes/prolog.el (prolog-edit-menu-runtime,
	prolog-edit-menu-insert-move): Use use-region-p.

2016-06-24  Leo Liu  <sdl.web@gmail.com>

	Remove compatibility with Emacs 24.3 in octave-mode

	* lisp/progmodes/octave.el: Clean up and remove compatibility with
	Emacs 24.3.

2016-06-24  Alan Mackenzie  <acm@muc.de>

	Ensure hack-local-variables is run in a fundamental mode buffer.

	This fixes bug #23827.

	* src/buffer.c (set-buffer-major-mode): Run `fundamental-mode' when the buffer
	gets set to that mode, so that `run-mode-hooks', and thus
	`hack-local-variables' get run.

2016-06-24  Tino Calancha  <tino.calancha@gmail.com>

	Fix caller to ediff-setup

	* lisp/hilit-chg.el (hilit-chg-get-diff-info): #Bug23820.

2016-06-24  Alan Mackenzie  <acm@muc.de>

	Implement ' separators in C++ integer literals.

	* lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): insert
	c-before-after-change-digit-quote into the C++ value.
	(c-before-font-lock-functions): Insert c-depropertize-new-text into the values
	for all languages.  Insert c-before-after-change-digit-quote into the C++
	value.

	* lisp/progmodes/cc-mode.el (c-depropertize-CPP): Wrap the function in
	c-save-buffer-state.
	(c-depropertize-new-text, c-before-after-change-digit-quote): New functions.

2016-06-24  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-06-24 intprops: port better to GCC 7
	2016-06-13 xalloc-oversized: port to GCC 7; fewer warnings
	* doc/misc/texinfo.tex, lib/xalloc-oversized.h, lib/intprops.h:
	Copy from gnulib.

2016-06-24  Martin Rudalics  <rudalics@gmx.at>

	Remove two uses of 'min' in Fwindow_text_pixel_size

	* src/xdisp.c (Fwindow_text_pixel_size): Don't use 'min' since
	it calls move_it_to twice.  Suggested by Eli Zaretskii.

2016-06-23  Paul Eggert  <eggert@cs.ucla.edu>

	Clarify intent of FACE_FROM_ID and IMAGE_FROM_ID

	* src/dispextern.h (FACE_OPT_FROM_ID): Don’t use FACE_FROM_ID,
	since it is intended to be used only when it returns a non-null
	pointer, and here the pointer might be null.
	(IMAGE_OPT_FROM_ID): Don’t use IMAGE_FROM_ID, for similar reasons.

2016-06-23  Mark Oteiza  <mvoteiza@udel.edu>

	Remove some more face aliases obsoleted in 22.1

	* lisp/eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face,
	eshell-ls-executable-face, eshell-ls-readonly-face,
	eshell-ls-unreadable-face, eshell-ls-special-face,
	eshell-ls-missing-face, eshell-ls-archive-face, eshell-ls-backup-face,
	eshell-ls-product-face, eshell-ls-clutter-face): Remove.
	* lisp/isearch.el (isearch-lazy-highlight-face, lazy-highlight-face): Remove.
	(isearch-lazy-highlight-update): Use face symbol.
	* lisp/net/sieve-mode.el (sieve-control-commands-face,
	sieve-action-commands-face, sieve-test-commands-face,
	sieve-tagged-arguments-face): Remove.
	(sieve-font-lock-keywords): Use non-obsolete faces.
	* lisp/progmodes/sh-script.el (sh-heredoc-face): Remove.
	(sh-get-indent-info, sh-prev-line): Use face symbol.
	* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1):
	Use non-obsolete face.
	(tex-math-face, tex-verbatim-face): Remove.
	(tex-font-lock-syntactic-face-function): Use face symbols.

2016-06-23  Mark Oteiza  <mvoteiza@udel.edu>

	Remove some face aliases obsoleted in 22.1

	* lisp/faces.el (modeline-inactive, modeline-highlight, modeline-buffer-id):
	* lisp/hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
	* lisp/info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face,
	Info-title-4-face, info-menu-5):
	* lisp/obsolete/old-whitespace.el (whitespace-highlight-face):
	* lisp/paren.el (show-paren-match-face, show-paren-mismatch-face):
	* lisp/progmodes/make-mode.el (makefile-space-face):
	* lisp/textmodes/texinfo.el (texinfo-heading-face): Remove.
	(texinfo-font-lock-keywords): Use texinfo-heading face.
	* lisp/vc/add-log.el (change-log-date-face, change-log-name-face,
	change-log-email-face, change-log-file-face, change-log-list-face,
	change-log-conditionals-face, change-log-function-face,
	change-log-acknowledgement-face):
	* lisp/vc/diff-mode.el (diff-header-face, diff-file-header-face,
	diff-index-face, diff-hunk-header-face, diff-removed-face, diff-added-face,
	diff-changed-face, diff-function-face, diff-context-face,
	diff-nonexistent-face): Remove.
	(diff-use-changed-face, diff-font-lock-keywords): Use non-obsolete face
	symbols.
	(diff-hunk-file-names): Fix comment.
	(diff-refine-change): Remove.
	(diff-refine-removed, diff-refine-added, diff-refine-hunk): Use
	non-obsolete face.
	* lisp/vc/log-view.el (log-view-file-face, log-view-message-face): Remove.
	(log-view-font-lock-keywords): Use non-obsolete face names.
	* lisp/vc/pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face,
	cvs-handled-face, cvs-need-action-face, cvs-marked-face, cvs-msg-face):
	* lisp/wid-edit.el (widget-documentation-face, widget-button-face,
	widget-field-face, widget-single-line-field-face, widget-inactive-face,
	widget-button-pressed-face):
	* lisp/woman.el (woman-italic-face, woman-bold-face, woman-unknown-face,
	woman-addition-face): Remove.

2016-06-23  Eli Zaretskii  <eliz@gnu.org>

	* lisp/international/characters.el (standard-case-table): Improve last change.

2016-06-23  Eli Zaretskii  <eliz@gnu.org>

	Improve results of 'upcase' for characters with title-case

	* lisp/international/characters.el (standard-case-table): Swap the
	order of some lines, to have 'upcase' return the upper-case
	variant, not the title-case, for some characters whose lower-case
	map to the same codepoints.  (Bug#23833)

2016-06-23  Alan Mackenzie  <acm@muc.de>

	Make typing into incomplete C++ raw strings work, and make it work fast enough

	* lisp/progmodes/cc-engine.el (c-beginning-of-macro, c-state-pp-to-literal):
	Put `save-match-data' around calls to `looking-at' to enable the use of the
	match data in higher level functions.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations)
	(c-font-lock-cut-off-declarators): Use `limit' rather than `(point-max)' as a
	limit to speed up handling of C++ raw strings.

2016-06-23  Eli Zaretskii  <eliz@gnu.org>

	Fix handling of LWINDOW key on MS-Windows

	* src/w32fns.c (funhook): Correct a typo which broke handling of
	the LWINDOW key.  (Bug#23830)

2016-06-22  Eli Zaretskii  <eliz@gnu.org>

	Update Unicode data files from Unicode 9.0.0

	* admin/unidata/copyright.html:
	* admin/unidata/BidiBrackets.txt:
	* admin/unidata/UnicodeData.txt: Update from Unicode 9.0.0, just
	released.

2016-06-22  Eli Zaretskii  <eliz@gnu.org>

	Fix test for whether the '.el' file is newer than '.elc'

	* src/lread.c (Fload): Don't overwrite the last character of the
	file name in FOUND with 'c', unless the file name ended in ".elc"
	to begin with.  Don't treat empty files as byte-compiled.  See
	http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00463.html
	for more details of the problem this caused.

2016-06-22  Eli Zaretskii  <eliz@gnu.org>

	Fix 'insert-file-contents' when REPLACE is non-nil

	* src/fileio.c (maybe_move_gap): New function to move the gap to
	the end of a buffer, if it isn't there already.
	(Finsert_file_contents): Call 'maybe_move_gap' before using
	conversion_buffer's text as a C 'char' array.  (Bug#23659)
	* src/coding.c (decode_eol): Compute the byte increment before
	calling del_range_2, because the latter can invalidate the pointer
	to buffer text.

2016-06-22  Ken Brown  <kbrown@cornell.edu>

	Avoid compiler warning

	* src/w32fns.c (Fx_show_tip): Don’t jump over auto initialization.

2016-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/syntax.el (syntax-propertize): Flush extended region.

2016-06-22  Ken Brown  <kbrown@cornell.edu>

	Fix last change to FRAME_INTERNAL_BORDER_WIDTH

	* src/w32fns.c (x_set_internal_border_width): Don’t use
	FRAME_INTERNAL_BORDER_WIDTH(), which is now a function call, as an
	lvalue.

2016-06-21  Paul Eggert  <eggert@cs.ucla.edu>

	Improve --without-x GCC pacification

	* src/composite.c (autocmp_chars):
	* src/conf_post.h (DebPrint) [HAVE_NTGUI && !DebPrint && !EMACSDEBUG]:
	Use simpler ((void) 0) for no-op expression returning void.
	* src/dispextern.h [HAVE_WINDOW_SYSTEM]:
	Include fontset.h, for face_for_char.
	(FACE_SUITABLE_FOR_ASCII_CHAR_P, FACE_FOR_CHAR):
	Now inline functions instead of macros.  This avoids the need for
	all those casts to void.
	(FACE_SUITABLE_FOR_ASCII_CHAR_P): Omit 2nd (unused) arg.
	All uses changed.
	* src/frame.c (Ficonify_frame, Fset_frame_position):
	* src/xdisp.c (Fmove_point_visually, show_mouse_face):
	* src/xdisp.c (note_mode_line_or_margin_highlight)
	(note_mouse_highlight):
	Assume HAVE_WINDOW_SYSTEM for simplicity, since the code should
	now work either way without generating warnings.
	* src/frame.c (display_available) [HAVE_WINDOW_SYSTEM]: New function.
	(window_system_available) [HAVE_WINDOW_SYSTEM]: Move to frame.h.
	(decode_window_system_frame): Use check_window_system instead of
	rolling the code ourself.  Return needed only if HAVE_WINDOW_SYSTEM.
	(decode_window_system_frame, check_window_system):
	Merge the HAVE_WINDOW_SYSTEM and !HAVE_WINDOW_SYSTEM versions into one.
	* src/frame.c (Ficonify_frame, Fset_frame_position):
	* src/xdisp.c (show_mouse_face, define_frame_cursor1)
	(note_mouse_highlight):
	Narrow the scope of the HAVE_WINDOW_SYSTEM #ifdef;
	this is a better way to pacify GCC.
	* src/xdisp.c (x_set_left_fringe, x_set_right_fringe)
	(x_set_right_divider_width, x_set_bottom_divider_width):
	* src/xfns.c (x_set_internal_border_width):
	Don’t use what are now function calls as lvalues.
	* src/frame.h (WINDOW_SYSTEM_RETURN): New macro.
	(decode_window_system_frame, check_window_system):
	Use it, to avoid the need for duplicate declarations.
	(window_system_available): Now an inline function.
	(display_available): New decl.
	(frame_dimension): New inline function.
	(FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH)
	(FRAME_RIGHT_FRINGE_WIDTH, FRAME_TOTAL_FRINGE_WIDTH)
	(FRAME_INTERNAL_BORDER_WIDTH, FRAME_RIGHT_DIVIDER_WIDTH)
	(FRAME_BOTTOM_DIVIDER_WIDTH):
	Use it, to avoid the need for duplicate definitions.
	Now inline functions instead of macros.
	* src/gnutls.c (gnutls_log_function2i): Remove.
	* src/gnutls.h (GNUTLS_LOG2i): Use ‘message’ directly.
	This avoids complaints about gnutls_log_function2i being defined
	and not used on older platforms that do not need to call GNUTLS_LOG2i.
	* src/image.c (DefaultDepthOfScreen) [0]: Remove unused macro.
	* src/lisp.h (AUTO_STRING_WITH_LEN): Revert change from ‘type id =
	expr’ to ‘type id; id = expr’, as this would suppress valid
	jump-misses-init diagnostics.  Let’s find a better way to address
	the problem.
	* src/vm-limit.c (__MALLOC_HOOK_VOLATILE):
	Define only if needed.
	* src/xdisp.c (handle_single_display_spec):
	Simplify fringe_bitmap computation.
	(define_frame_cursor1): Do nothing unless in a window system.
	All callers changed and simplified.
	* src/xfaces.c (realize_default_face):
	Use a simpler way to pacify GCC when a return value is not used
	on some platforms.

2016-06-21  Phillip Lord  <phillip.lord@russet.org.uk>

	Ensure undo-boundary after all commands

	* lisp/simple.el (undo-auto--boundaries): Ensure an undo-boundary after
	  every command whether it (apparently) changes the buffer or not.

	See Bug#23785 for discussion.

2016-06-21  Eli Zaretskii  <eliz@gnu.org>

	Fix vertical layout calculations when newline has line-height property

	* src/xdisp.c (move_it_in_display_line_to): Reset the iterator's
	'constrain_row_ascent_descent_p' flag after processing the
	newline, similar to what 'display_line' does.  Without this, the
	flag remains set once set by x_produce_glyphs, and causes the
	vertical layout calculations to go awry, because Emacs thinks the
	screen lines have zero height.	(Bug#23850)

2016-06-20  Ken Brown  <kbrown@cornell.edu>

	Fix compiler warnings in Cygwin-w32 build

	* src/conf_post.h (DebPrint) [!EMACSDEBUG]: Add empty do-while
	loop to avoid compiler warnings about empty body of 'if'
	statement.

	* src/image.c [HAVE_NTGUI] (DefaultDepthOfScreen): Disable unused
	macro.
	(x_create_bitmap_from_data): Declare 'frame'.
	(x_create_bitmap_from_file): Don't declare unused variable
	'dpyinfo'.

	* src/lisp.h (AUTO_STRING_WITH_LEN): Avoid initialization to
	prevent "jump-misses-init" compiler warnings.

	* src/w32fns.c (check_w32_winkey_state): Define and use only if
	WINDOWSNT.
	(Fx_show_tip): Declare 'f'.
	(Fx_file_dialog): Declare 'filter_a' only if not NTGUI_UNICODE.
	(w32_strerror): Use format specifier %d for sprintf argument of
	type int.
	(emacs_abort): Cast sprintf argument of type DWORD to unsigned
	int, and use format specifier %x, for compatibility with Cygwin.
	(unicode_append_menu) [NTGUI_UNICODE]:
	* src/w32menu.c [NTGUI_UNICODE] (get_menu_item_info)
	(set_menu_item_info, unicode_append_menu)
	(unicode_message_box):
	* src/menu.c [NTGUI_UNICODE] (unicode_append_menu): Define as
	functions rather than macros to avoid "address will always
	evaluate as true" compiler warnings.

	* src/w32font.c (w32_to_x_charset): Use format specifier %d for
	sprintf argument of type int.

	* src/w32term.c (x_draw_glyphless_glyph_string_foreground): Cast
	sprintf argument of type int to unsigned int to match %X format
	specifier.
	(w32_scroll_bar_handle_click):
	(w32_horizontal_scroll_bar_handle_click): Declare 'f'.

	* src/w32term.h (FRAME_DISPLAY_INFO): Explicitly discard unused
	argument.

2016-06-20  Ken Brown  <kbrown@cornell.edu>

	Fix compiler warnings in no-window-system-build

	* src/composite.c (autocmp_chars): Declare and set 'f' only if
	HAVE_WINDOW_SYSTEM.

	* src/dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P)
	(FACE_FOR_CHAR): Explicitly discard unused arguments.

	* src/font.c (font_open_entity): Declare 'min_width' where it is
	first set, and only if HAVE_WINDOW_SYSTEM.

	* src/frame.c [!HAVE_WINDOW_SYSTEM] (decode_window_system_frame):
	Define _Noreturn version to avoid "suggest attribute noreturn"
	compiler warning.
	(check_window_system): Declare as _Noreturn.
	(Ficonify_frame):
	(Fset_frame_position): Don’t declare and set 'f'.

	* src/frame.h [!HAVE_WINDOW_SYSTEM] (decode_window_system_frame)
	(check_window_system):  Add _Noreturn prototypes.
	(FRAME_FRINGE_COLS, FRAME_TOTAL_FRINGE_WIDTH)
	(FRAME_LEFT_FRINGE_WIDTH, FRAME_RIGHT_FRINGE_WIDTH)
	(FRAME_INTERNAL_BORDER_WIDTH, FRAME_RIGHT_DIVIDER_WIDTH)
	(FRAME_BOTTOM_DIVIDER_WIDTH): Explicitly discard unused argument.

	* src/xdisp.c (handle_single_display_spec): Declare
	'fringe_bitmap' only if HAVE_WINDOW_SYSTEM.
	(append_space_for_newline): Declare 'g' where it is first set.
	(Fmove_point_visually): Declare and set 'target_is_eol_p' only if
	HAVE_WINDOW_SYSTEM.
	(show_mouse_face): Declare and set 'f' and 'phys_cursor_on_p' only
	if HAVE_WINDOW_SYSTEM.
	(note_mode_line_or_margin_highlight):
	(note_mouse_highlight): Declare and set 'cursor' and 'pointer'
	only if HAVE_WINDOW_SYSTEM.

	* src/xfaces.c (realize_default_face): Declare and set 'face' only
	if HAVE_X_WINDOWS.  Remove redundant #ifdef.

2016-06-20  Michael Albinus  <michael.albinus@gmx.de>

	Weaken test conditions in filenotify-tests.el

	* test/lisp/filenotify-tests.el (file-notify--test-with-events):
	Fix thinko in test.
	(file-notify-test02-events, file-notify-test04-file-validity)
	(file-notify-test07-backup)
	(file-notify-test08-watched-file-in-watched-dir): Make test
	conditions more weak.  (Bug#23618)

2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>

	Minor ABLOCKS_BUSY cleanups in alloc.c

	* src/alloc.c (ABLOCKS_BUSY): Rename arg to avoid potential clash
	with member ‘abase’ in definiens.
	(lisp_align_malloc, lisp_align_free): Use bool for boolean.
	Avoid compiler warning with fewer casts.
	(lisp_align_free): Check busy-field values; this can help the
	compiler a bit when optimizing, too.

2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>

	ASCII-fy coding-system-for-read used for Git commands

	* lisp/vc/vc-git.el (vc-git--asciify-coding-system):
	New function.
	(vc-git-diff, vc-git-annotate-command): Use it.

2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>

	Prohibit multibyte characters in url-http-data

	It didn't work anyway, but this makes any such errors more obvious
	by catching them earlier.

	* lisp/url/url-http.el (url-http-create-request):
	Use string-to-unibyte (bug#23750).

2016-06-19  Eli Zaretskii  <eliz@gnu.org>

	Fix setting a range of char-table slots in a singular case

	* src/chartab.c (char_table_set_range): Start the loop from the
	first character of the block to which FROM belongs.  (Bug#23797)

	* test/src/chartab-tests.el: New test file.

2016-06-19  Alan Mackenzie  <acm@muc.de>

	Fix CC Mode fontification problem apparent in test file decls-6.cc.

	* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Recognize
	"bar (gnu);" as a declarator only when the construct is directly inside a
	class (etc.) called "bar".
	(c-directly-in-class-called-p): New function.

2016-06-19  Alan Mackenzie  <acm@muc.de>

	c-renarrow-state-cache: take care when new point is inside old brace pair.

	Also add display of point-min to the c-parse-state debugging output.

	* lisp/progmodes/cc-engine.el (c-renarrow-state-cache): When the new
	point is inside an old recorded brace pair, clear the cache.
	(c-debug-parse-state): Output the value of point-min.

2016-06-18  Paul Eggert  <eggert@cs.ucla.edu>

	Rename ALIGN to pointer_align

	* src/alloc.c (pointer_align): Rename from ALIGN.
	This fixes Bug#23764 in a simpler way.

2016-06-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d1efbaf Fix documentation of completion functions
	65c96cc Clarify documentation of 'font-lock-maximum-decoration'
	2ad3d01 * doc/misc/cl.texi (Usage): Add some more details.
	b49cb0a Fbackward_prefix_chars: stay within buffer bounds

2016-06-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	2317c61 Fix last todo-mode change
	5d4d8a3 Improve last todo-mode fix
	d7084f2 Fix todo-mode use of minibuffer completion keymap (bug#23695).
	27dec52 * src/alloc.c (ALIGN): Avoid error on DragonFly BSD.  (Bug#23...
	f526191 * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Avoid ...
	e881070 * lisp/help-fns.el (describe-function-1): Avoid reporting adv...
	d308aa1 Minor grammar fix (bug#23746)
	20de667 Doc fixes for grammar and typos (bug#23746)
	a67a4e5 * doc/lispref/processes.texi (Process Buffers): Minor rewordi...
	27f440e Add cross-reference to ELisp manual
	10802d8 ; make change-history-commit
	4b2d77d * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bu...
	12e009e Restore initial undo boundary with viper
	291fe0a Revert "Fix viper undo breakage from undo-boundary changes"
	6921f4a Fix dbus crash on 32-bit Cygwin

2016-06-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9ae514a * etc/AUTHORS: Update the AUTHORS file
	3ca428e add entries to authors.el
	66d556b Fix eldoc-related freezes in python mode
	d59bcbc Handle mouse leaving initial window in `mouse-set-region' (Bu...
	27fe1e4 org.el: Fix bindings of < and > for calendar scrolling
	a813487 Fix undo boundary in recursive edit (Bug#23632)
	1f85b7c Doc fixes re alist-get.  (Bug#23548)
	ba3f206 * lisp/progmodes/python.el (inferior-python-mode): Avoid tabs...
	56fa055 * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>:...
	4c1370a * lisp/help-fns.el (describe-function-1): Fix handling of fil...
	a3f7ae8 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
	601b9b2 * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.

2016-06-18  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el (map-contains-key): Better docstring

2016-06-18  Nicolas Petton  <nicolas@petton.fr>

	Fix seq-contains

	Make sure seq-contains return the element of the sequence instead of t.

	* lisp/emacs-lisp/seq.el (seq-contains): Fix the function.
	* test/lisp/emacs-lisp/seq-tests.el: Add a regression test.

2016-06-18  Nicolas Petton  <nicolas@petton.fr>

	Add new function map-do

	* lisp/emacs-lisp/map.el (map-do, map--do-alist, map--do-array): New
	  functions.
	* test/lisp/emacs-lisp/map-tests.el: Add a unit test for map-do.

2016-06-18  Nicolas Petton  <nicolas@petton.fr>

	Add seq-do-indexed

	* lisp/emacs-lisp/seq.el (seq-do-indexed): New function.
	* test/lisp/emacs-lisp/seq-tests.el: Add a unit test for seq-do-indexed.

2016-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	map.el (map-merge*): Use `map-into' at beginning rather than end

	* lisp/emacs-lisp/map.el (map-merge): Use `map-into' for the first map,
	and don't use of an intermediate alist.
	(map-merge-with): Same, plus use `cl-callf' to try and avoid performing
	3 lookups per inner iteration.

2016-06-16  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/window.el (switch-to-buffer-preserve-window-point): Bump :version.

2016-06-15  Alan Mackenzie  <acm@muc.de>

	Speed up CC Mode's font locking by taking some code out of a hot loop.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Remove code which
	tests for bare declarators.
	(c-font-lock-cut-off-declarators): New function.
	(c-complex-decl-matchers): insert c-font-lock-cut-off-declarators.

2016-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Automatically find vars and functions via definition-prefixes

	* lisp/help-fns.el (help-definition-prefixes): New var and function.
	(help--loaded-p, help--load-prefixes, help--symbol-completion-table):
	New functions.
	(describe-function, describe-variable): Use them.

	* lisp/emacs-lisp/radix-tree.el (radix-tree--prefixes)
	(radix-tree-prefixes, radix-tree-from-map): New functions.

2016-06-15  Michal Nazarewicz  <mina86@mina86.com>

	Automatically detect whether .h file is C or C++

	* lisp/progmodes/cc-mode.el (c-or-c++-mode): A new function which
	analyses contents of the buffer to determine whether it looks like C++
	source code and based on that enables c-mode or c++-mode.
	(c-or-c++-mode--regexp): Regular expression which, when matches
	a buffer, signals file is C++.

2016-06-15  Alan Mackenzie  <acm@muc.de>

	Parse compound identifiers in C++ member initialization lists.

	* lisp/progmodes/cc-engine.el (c-back-over-compound-identifier): New function.
	(c-back-over-member-initializer-braces, c-back-over-list-of-member-inits)
	(c-back-over-member-initializers): Call c-back-over-compound-identifier rather
	than c-simple-skip-symbol-backward.

2016-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Advertize set-keymap-parent as replacement for copy-keymap

	* doc/lispref/keymaps.texi (Creating Keymaps):
	* src/keymap.c (Fcopy_keymap): Advertize set-keymap-parent as replacement.

2016-06-15  Ted Zlatanov  <tzz@lifelogs.com>

	* generic-x.el (ansible-inventory-generic-mode): Warn if value is missing

2016-06-15  Tim Chambers  <tbc@alum.mit.edu>  (tiny change)

	Add new ansible-inventory-generic-mode (Bug#23762)

	* lisp/generic-x.el (ansible-inventory-generic-mode): Add new mode.

2016-06-14  Paul Eggert  <eggert@cs.ucla.edu>

	Fix ifdef-vs-if typo with RANDR13_LIBRARY

	* src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef.
	This ports to systems that predate xrandr 1.3. See Christian Lynbech in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html

2016-06-14  Paul Eggert  <eggert@cs.ucla.edu>

	Port to platforms where char * has top bit set

	This fixes a five-year-old FIXME comment.  Although I don’t know
	of a platform where this is a problem in practice, better safe
	than sorry.
	* src/doc.c (Fdocumentation): If SUBRP, simply use doc as integer,
	as it is now an integer, not char *.
	(store_function_docstring): Offset is now EMACS_INT, not ptrdiff_t;
	this is a file offset and EMACS_INT is better if --with-wide-int.
	If SUBRP, simply store the offset rather than negating it and
	converting it to char *.
	* src/lisp.h (struct Lisp_Subr.doc): Now EMACS_INT, not char *.

2016-06-14  Paul Eggert  <eggert@cs.ucla.edu>

	Remove recursion from store_function_docstring

	* src/doc.c (store_function_docstring):
	Refactor to avoid the need for C-level recursion.

2016-06-14  Ken Brown  <kbrown@cornell.edu>

	Remove system-specific -I switch from Cygwin-w32 build

	Suggested by Eli Zaretskii in discussion of bug#18302.

	* src/image.c [HAVE_NTGUI]: Remove the unused macro
	PIXEL_ALREADY_TYPEDEFED.  On Cygwin, include "noX/xpm.h" instead of
	"X11/xpm.h".

	* configure.ac [CYGWIN && HAVE_W32]: Change the xpm test to use
	"noX/xpm.h".  Don't add a -I switch to CPPFLAGS.

2016-06-14  Noam Postavsky  <npostavs@gmail.com>

	Make python.el work in Emacs 24

	* lisp/progmodes/python.el: Bump version.
	(python-define-auxiliary-skeleton): Only use format-message if
	fbound (Bug#23126).

2016-06-13  Ken Brown  <kbrown@cornell.edu>

	Avoid compiler warning

	* src/w32fns.c (deliver_wm_chars): Add 'const' to declaration of
	'type_CtrlAlt'.

2016-06-13  Paul Eggert  <eggert@cs.ucla.edu>

	Call tzset after setting TZ

	* src/editfns.c (tzlookup): Call tzset after setting TZ, so that
	the setting change propagates into Emacs local time (Bug#23600).
	(emacs_setenv_TZ): Clarify comments.

2016-06-13  Paul Eggert  <eggert@cs.ucla.edu>

	Update texinfo.tex

	* doc/misc/texinfo.tex: Update from gnulib.

2016-06-12  Paul Eggert  <eggert@cs.ucla.edu>

	New macro GNUC_PREREQ for GCC version

	* src/conf_post.h (GNUC_PREREQ): New macro.
	Change uses of __GNUC_MINOR__ and __GNUC_PATCHLEVEL__ to use this
	macro instead, for clarity and consistency.
	(PRINTF_ARCHETYPE): New macro.  Define it to __gnu_printf__ only
	if glibc, since non-GNU platforms don’t necessarily support GNU
	printf formats.
	(ATTRIBUTE_FORMAT_PRINTF): Use it.

2016-06-12  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq-drop): Better list implementation

2016-06-12  Eli Zaretskii  <eliz@gnu.org>

	Fix printf-related compilation warnings on MinGW

	* src/conf_post.h (ATTRIBUTE_FORMAT_PRINTF) [__MINGW32__]: Use
	'__ms_printf__', not '__gnu_printf__', as the latter is not what
	MS 'printf' supports, and causes bogus compilation warnings.
	* src/lisp.h (pI) [__MINGW32__]: Define to "I64", as MS 'printf'
	doesn't support the "ll" modifier.

2016-06-11  Paul Eggert  <eggert@cs.ucla.edu>

	emacs_strerror cleanups

	* src/buffer.c, src/emacs.c, src/lread.c: Don’t include coding.h;
	no longer needed, now that emacs_strerror is declared by lisp.h.
	* src/coding.c (emacs_strerror): Remove; moved to emacs.c.
	* src/coding.h (emacs_strerror) [emacs]: Remove decl; moved
	to lisp.h.
	* src/emacs.c (emacs_strerror): Move here from coding.c.  Do not
	convert result string; this is now the caller’s responsibility,
	as some need conversion and others don’t.
	* src/fileio.c (report_file_errno, report_file_notify_error):
	Use emacs_strerror rather than rolling it ourselves.
	* src/lisp.h (emacs_strerror): Move decl here from coding.h.
	* src/lread.c (dir_warning): Just call emacs_strerror rather than
	both strerror and emacs_strerror.  Convert its result from
	locale-coding-system, since it no longer does that conversion.
	* src/sound.c (sound_perror):
	* src/sysdep.c (emacs_perror, str_collate):
	Use emacs_strerror, not strerror.

2016-06-10  David Reitter  <david.reitter@gmail.com>

	Prevent compiler warning for unused arguments

	* lisp/international/ucs-normalize.el
	(ucs-normalize-hfs-nfd-pre-write-conversion):
	Prevent compiler warning for unused arguments, add coment.

2016-06-10  Paul Eggert  <eggert@cs.ucla.edu>

	Catch malloc_get_state, malloc_set_state failure

	This should help insulate Emacs better from configuration screwups.
	Future versions of the GNU C library are planned to deprecate
	these functions, but will continue to support them in
	already-built-and-dumped Emacs executables.
	* src/alloc.c (malloc_initialize_hook) [DOUG_LEA_MALLOC]:
	Abort if malloc_set_state fails.
	(alloc_unexec_pre) [DOUG_LEA_MALLOC]:
	Report malloc_get_state failure, and exit.

2016-06-10  Eli Zaretskii  <eliz@gnu.org>

	Show returned value after gdb-mi "finish" command

	* lisp/progmodes/gdb-mi.el (gdb-stopped): Display the expected
	"Value returned" message in response to "finish", when not
	produced by GDB/MI.  (Bug#23720)

2016-06-10  David Reitter  <david.reitter@gmail.com>

	Simplify pre-write-conversion for utf-8-hfs coding system

	* lisp/international/ucs-normalize.el
	(ucs-normalize-hfs-nfd-pre-write-conversion): Refactor.

	May address an issue where Emacs consumed large amounts of CPU
	because of neverending toolbar updating (which was caused
	by, but also called this function).

2016-06-09  Martin Rudalics  <rudalics@gmx.at>

	Revert "Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2"

	* lisp/wid-edit.el (widget-keymap): Bind `widget-button-click'
	to mouse-1/-2 instead of down-mouse-1/-2.  Suggested by Stefan
	Monnier.  (Bug#19185, Bug#20398)

	This reverts commit 72166f2f3dba18f1217c666574032f5a0351ed65.

	That commit did more harm than good (Bug#23571).

2016-06-09  Paul Eggert  <eggert@cs.ucla.edu>

	Port __builtin_assume_aligned to Sun C 5.13

	* src/conf_post.h (__builtin_assume_aligned):
	Fix typo: the extra arg did not conform to C99.

2016-06-09  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer getsockopt to getpeername on non-MS-Windows

	* admin/CPP-DEFINES: Remove HAVE_GETPEERNAME.
	* configure.ac: Don’t check for getpeername.
	* src/process.c (wait_reading_process_output) [!WINDOWSNT]:
	Use getsockopt even if not GNU/Linux, as the platforms where
	getsockopt used to hang are no doubt long dead.

2016-06-09  Paul Eggert  <eggert@cs.ucla.edu>

	Fix XFASTINT of non-fixnum in process status

	* src/process.c (decode_status): 3rd arg is now Lisp_Object *,
	not int *, and is not decoded.  All uses changed.
	(status_message): Do not assume ‘failed’ code is an integer.
	* src/process.h: Document codes better.

2016-06-09  Glenn Morris  <rgm@gnu.org>

	Make messcompat.el obsolete.

	* lisp/obsolete/messcompat.el: Move here from lisp/gnus.
	* doc/misc/message.texi (Compatibility): Remove section.

2016-06-09  Glenn Morris  <rgm@gnu.org>

	Leading "*" in the doc of defvars is long obsolete.

	* lisp/plstore.el (plstore-encrypt-to):
	* lisp/cedet/semantic/lex-spp.el
	(semantic-lex-spp-macro-max-length-to-save):
	* lisp/cedet/semantic/symref.el (semantic-symref-tool):
	* lisp/cedet/semantic/bovine/el.el
	(semantic-elisp-store-documentation-in-tag):
	* lisp/cedet/semantic/wisent/comp.el (wisent-verbose-flag)
	(wisent-expected-conflicts):
	* lisp/cedet/semantic/wisent/wisent.el (wisent-parse-verbose-flag):
	* lisp/gnus/gnus-agent.el (gnus-category-menu-hook):
	* lisp/gnus/gnus-group.el (gnus-group-listing-limit):
	* lisp/gnus/gnus-srvr.el (gnus-server-menu-hook)
	(gnus-browse-menu-hook):
	* lisp/gnus/message.el (message-shoot-gnksa-feet):
	* lisp/gnus/mm-decode.el (mm-path-name-rewrite-functions):
	* lisp/gnus/mm-util.el (mm-extra-numeric-entities):
	* lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
	* lisp/gnus/mml.el (mml-generate-multipart-alist):
	* lisp/gnus/nndraft.el (nndraft-required-headers):
	* lisp/gnus/nnheader.el (nnheader-max-head-length)
	(nnheader-head-chop-length, nnheader-file-name-translation-alist)
	(nnheader-directory-separator-character)
	(nnheader-pathname-coding-system):
	* lisp/gnus/nnmail.el (nnmail-pathname-coding-system)
	(nnmail-active-file-coding-system):
	* lisp/gnus/nnrss.el (nnrss-file-coding-system):
	* lisp/gnus/nntp.el (nntp-record-commands):
	* lisp/gnus/score-mode.el (gnus-score-edit-done-hook)
	(gnus-score-mode-hook, gnus-score-menu-hook):
	* lisp/mail/rfc2047.el (rfc2047-header-encoding-alist)
	(rfc2047-allow-irregular-q-encoded-words)
	(rfc2047-allow-incomplete-encoded-text):
	* lisp/mh-e/mh-alias.el (mh-alias-system-aliases):
	* lisp/mh-e/mh-e.el (mh-mail-header-separator, mh-x-mailer-string):
	* lisp/mh-e/mh-scan.el (mh-scan-format-mh, mh-scan-format-nmh):
	* lisp/net/pop3.el (pop3-password):
	* lisp/play/animate.el (animate-n-steps):
	* lisp/progmodes/cc-vars.el (c-old-style-variable-behavior):
	Convert from defvar with leading * to defcustom.


	* lisp/emulation/viper-init.el (viper-heading-end):
	* lisp/gnus/mm-url.el (mm-url-html-entities):
	* lisp/gnus/nnmaildir.el (nnmaildir-article-file-name):
	* lisp/mh-e/mh-e.el (mh-invisible-header-fields-compiled):
	* lisp/net/tramp-adb.el (tramp-adb-method): Remove leading * from doc.

	* lisp/gnus/messcompat.el: Mark (pointless) file not for compilation.
	(message-from-style, message-interactive, message-indentation-spaces)
	(message-signature, message-signature-file):
	Remove settings that match the defaults.
	(message-setup-hook, message-mode-hook, message-default-headers)
	(message-send-hook, message-send-mail-function):
	Just use setq rather than redefining.

	* lisp/gnus/nnrss.el (nnrss):
	* lisp/mail/rfc2047.el (rfc2047):
	* lisp/play/animate.el (animate): New custom groups.

2016-06-09  Glenn Morris  <rgm@gnu.org>

	Remove obsolete leading * from defcustom, defface doc strings.

	* lisp/cedet/ede/linux.el, lisp/cedet/ede/project-am.el:
	* lisp/cedet/ede/simple.el, lisp/cedet/semantic/bovine/c.el:
	* lisp/cedet/semantic/complete.el, lisp/cedet/semantic/db.el:
	* lisp/cedet/semantic/decorate/include.el:
	* lisp/cedet/semantic/decorate/mode.el, lisp/cedet/semantic/format.el:
	* lisp/cedet/semantic/ia.el, lisp/cedet/semantic/idle.el:
	* lisp/cedet/semantic/imenu.el, lisp/cedet/semantic/lex-spp.el:
	* lisp/cedet/semantic/mru-bookmark.el, lisp/cedet/semantic/sb.el:
	* lisp/cedet/srecode/fields.el, lisp/ecomplete.el:
	* lisp/gnus/gnus-agent.el, lisp/gnus/gnus-art.el:
	* lisp/gnus/gnus-async.el, lisp/gnus/gnus-cache.el:
	* lisp/gnus/gnus-cite.el, lisp/gnus/gnus-delay.el:
	* lisp/gnus/gnus-diary.el, lisp/gnus/gnus-dup.el:
	* lisp/gnus/gnus-fun.el, lisp/gnus/gnus-group.el:
	* lisp/gnus/gnus-kill.el, lisp/gnus/gnus-msg.el:
	* lisp/gnus/gnus-picon.el, lisp/gnus/gnus-salt.el:
	* lisp/gnus/gnus-score.el, lisp/gnus/gnus-start.el:
	* lisp/gnus/gnus-sum.el, lisp/gnus/gnus-topic.el:
	* lisp/gnus/gnus-util.el, lisp/gnus/gnus-uu.el, lisp/gnus/gnus-win.el:
	* lisp/gnus/gnus.el, lisp/gnus/mail-source.el, lisp/gnus/message.el:
	* lisp/gnus/mm-url.el, lisp/gnus/mm-uu.el, lisp/gnus/mml.el:
	* lisp/gnus/nndiary.el, lisp/gnus/nnir.el, lisp/gnus/nnmail.el:
	* lisp/gnus/smiley.el, lisp/gnus/smime.el, lisp/mail/mail-extr.el:
	* lisp/mh-e/mh-e.el, lisp/net/mailcap.el, lisp/net/pop3.el:
	* lisp/net/starttls.el, lisp/progmodes/cc-vars.el:
	* lisp/progmodes/cperl-mode.el, test/manual/cedet/tests/test.el:
	Remove obsolete leading * from defcustom, defface doc strings.

2016-06-09  Eli Zaretskii  <eliz@gnu.org>

	Fix copying text properties by 'format'

	* src/editfns.c (styled_format): Fix copying text properties from
	the format specification to the produced string representation.
	(Bug#23730)
	(Fformat) Doc fix.

	* doc/lispref/strings.texi (Formatting Strings): Document that
	text properties from the format specifiers are also copied to the
	produced string.

2016-06-09  Alan Mackenzie  <acm@muc.de>

	Handle C++ raw strings.

	* lisp/progmodes/cc-engine.el (c-raw-string-pos, c-depropertize-raw-string)
	(c-depropertize-raw-strings-in-region,
	c-before-change-check-raw-strings)
	(c-propertize-raw-string-opener, c-after-change-re-mark-raw-strings): New
	functions.

	* lisp/progmodes/cc-fonts.el (c-basic-matchers-before): Insert a clause for
	c-font-lock-raw-strings.
	(c-font-lock-raw-strings): New function.

	* lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): Insert
	c-before-change-check-raw-strings into the C++ value, and c-depropertize-CPP
	into the values for C, C++, and Objective C.
	(c-before-font-lock-functions): Insert c-after-change-re-mark-raw-strings into
	the C++ value.

	* lisp/progmodes/cc-mode.el (c-old-BEG, c-old-END): New variables.
	(c-depropertize-CPP): New function, extracted from
	c-neutralize-syntax-in-and-mark-CPP.
	(c-neutralize-syntax-in-and-mark-CPP): Remove the call to
	c-clear-char-property-with-value for 'syntax-table value '(1) at the beginning
	of the function.
	(c-after-change): Set c-old-BEG and c-old-END to the current values of
	c-new-BEG and c-new-END.

2016-06-09  Daiki Ueno  <ueno@gnu.org>

	epg: don't use obsolete function

	* lisp/epg.el (epg-sign-string, epg-encrypt-string): Remove
	redundant configuration check, which is now done in
	`epg-make-context'.

2016-06-09  Daiki Ueno  <ueno@gnu.org>

	epg: don't start pinentry if it is useless

	* lisp/epg.el (epg--start): Don't start pinentry server if the
	session is non-interactive or pinentry-mode is set.

2016-06-08  Paul Eggert  <eggert@cs.ucla.edu>

	Replace IF_LINT by NONVOLATILE and UNINIT

	Inspired by a suggestion from RMS in: http://bugs.gnu.org/23640#58
	* .dir-locals.el (c-mode): Adjust to macro changes.
	* src/conf_post.h (NONVOLATILE, UNINIT): New macros (Bug#23640).
	(IF_LINT): Remove.  All uses replaced by the new macros.

2016-06-08  Michal Nazarewicz  <mina86@mina86.com>

	Remove ‘ert-with-function-mocked’ macro in favour of ‘cl-letf’ macro

	* lisp/emacs-lisp/ert-x.el (ert-with-function-mocked): Remove macro
	in favour of ‘cl-letf’ macro which is more generic.  All existing
	uses are migrated accordingly.  The macro has not been included in
	an official release yet so it should be fine to delete it.

2016-06-08  Glenn Morris  <rgm@gnu.org>

	* test/lisp/emacs-lisp/package-tests.el
	(package-test-update-archives-async): Try re-enabling on hydra.

2016-06-08  Paul Eggert  <eggert@cs.ucla.edu>

	* src/fileio.c (auto_save_error): Omit unused local.

2016-06-08  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify overflow check via INT_SUBTRACT_WRAPV

	* src/editfns.c (check_tm_member): Simplify integer overflow check.

2016-06-07  Glenn Morris  <rgm@gnu.org>

	Try to avoid hangs and stray procs in network-stream-tests.  (Bug#23560)

	* test/lisp/net/network-stream-tests.el (connect-to-tls-ipv4-wait)
	(connect-to-tls-ipv4-nowait, connect-to-tls-ipv6-nowait):
	Ensure gnutls-serv process gets killed.
	(echo-server-nowait, connect-to-tls-ipv4-nowait):
	Limit the amount of time we might wait.

2016-06-07  Glenn Morris  <rgm@gnu.org>

	Reduce allout.el's pollution of the namespace.

	* lisp/allout.el (allout-set-regexp): Rename from set-allout-regexp.
	Keep old name as obsolete alias.
	(allout-produce-mode-menubar-entries, allout-nullify-prefix-data)
	(allout-solicit-char-in-string)
	(allout-count-trailing-whitespace-region, allout-regexp-sans-escapes):
	Rename to add an "allout-" prefix.

2016-06-07  Glenn Morris  <rgm@gnu.org>

	* configure.ac (emacs_config_features): Add CANNOT_DUMP.

2016-06-07  Glenn Morris  <rgm@gnu.org>

	Misc small webjump updates.

	* lisp/net/webjump.el (webjump): Add custom group.
	(webjump-sample-sites): Make it a constant.
	Remove explicit, old list of GNU ftp mirrors.
	(webjump-state-to-postal-alist): Make it a constant.
	(webjump-sites): Make it a defcustom.
	(webjump-to-iwin): Update for changed remote service.

2016-06-07  Glenn Morris  <rgm@gnu.org>

	Do not hard-code port for package test server.  (Bug#23708)

	* test/lisp/emacs-lisp/package-resources/package-test-server.py:
	Do not hard-code port.
	* test/lisp/emacs-lisp/package-tests.el (package-test-update-archives-async):
	Update for the above change.

2016-06-07  Tino Calancha  <f92capac@gmail.com>

	* lisp/ibuffer.el (ibuffer): Improve 'other-window' case.  (Bug#23617)

2016-06-07  Glenn Morris  <rgm@gnu.org>

	* src/fileio.c (auto_save_error): Use display-warning.  (Bug#23703)

2016-06-07  Tino Calancha  <f92capac@gmail.com>

	* lisp/ibuf-ext.el (ibuffer-do-shell-command-file):
	Fix non-file-visiting-buffer case.  (Bug#22678)

2016-06-07  Paul Eggert  <eggert@cs.ucla.edu>

	Port --enable-gcc-warnings to clang 3.7.0

	* configure.ac: Add -Wno-tautological-compare to avoid bogus
	warnings about 0 <= rlim.rlim_max.  Remove flags that no longer
	seem to be needed, at least in Fedora 23 x86-64.

2016-06-07  Paul Eggert  <eggert@cs.ucla.edu>

	Use __builtin_assume_aligned on untagged Lisp vals

	* src/conf_post.h (__has_builtin, __builtin_assume_aligned):
	New macros, for compilers not already defining them.
	(__has_builtin___builtin_assume_aligned): New macro.
	* src/lisp.h (lisp_h_XUNTAG): Use __builtin_assume_aligned.
	This shrinks text space by 0.2% on x86-64 with GCC 6.1.

2016-06-07  Glenn Morris  <rgm@gnu.org>

	* lisp/help-fns.el (describe-function-1): Avoid reporting advised
	aliases as the type of their targets.

2016-06-07  Tino Calancha  <f92capac@gmail.com>

	* lisp/simple.el (process-menu-mode, list-processes--refresh):
	Include PID.  (Bug#21725)

2016-06-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	6e3adf8 Fix crash in syntax.c after GC
	973ce5a Improve squiggly heredoc support in non-SMIE Ruby mode
	9d5cceb Fix doc string quoting
	0b33a23 Fix mouse dragging of vertical dividers with scroll bars on l...
	a5d05f4 * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.

2016-06-07  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	604f656 * test/automated/viper-tests.el (viper-test-undo-kmacro): Del...
	20eb531 * lisp/mail/footnote.el (footnote-mode): Fix doc typo.
	a7a2244 * doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
	07bd972 * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): Fix...

2016-06-06  Paul Eggert  <eggert@cs.ucla.edu>

	Use standard Unicode names for Thai, Lao

	* lisp/language/lao-util.el, lisp/language/thai-util.el:
	Don’t override standard Unicode character name (Bug#23698).

2016-06-06  Glenn Morris  <rgm@gnu.org>

	* lisp/man.el (Man-reference-regexp, Man-default-man-entry):
	Handle U+2010 hyphen at eol, as used when LANG=en_US.utf8.

2016-06-06  Michael Albinus  <michael.albinus@gmx.de>

	Some fixes in filenotify-tests.el for cygwin

	* test/lisp/filenotify-tests.el (file-notify--test-timeout):
	Reintroduce value for cygwin, it's needed on slow systems.
	(file-notify--wait-for-events): Move up definition.
	(file-notify--test-no-descriptors): Use `file-notify--wait-for-events'.
	(file-notify--test-with-events-check, file-notify--test-with-events)
	(file-notify-test08-watched-file-in-watched-dir):
	Use :random rather than `random.
	(file-notify-test06-many-events): Do not skip for cygwin.

2016-06-05  Juri Linkov  <juri@linkov.net>

	* src/casefiddle.c (Fupcase_region): Add arg ‘region-noncontiguous-p’.

	If non-nil, operate on multiple chunks.  (Bug#23655)

	* src/search.c (Freplace_match): Use Qnil for new arg of Fupcase_region.

2016-06-05  Juri Linkov  <juri@linkov.net>

	* lisp/wdired.el (wdired-next-line, wdired-previous-line): Add "^"

	to interactive spec to handle shift-selection.  (Bug#23642)

2016-06-05  Michael Albinus  <michael.albinus@gmx.de>

	Improve robustness of filenotify-tests.el (Bug#23618)

	* test/lisp/filenotify-tests.el (file-notify--test-no-descriptors)
	(file-notify--test-no-descriptors-explainer)
	(file-notify--test-cleanup-p): New defuns.
	(file-notify--test-cleanup): Don't check for
	`file-notify--test-event' anymore, that's done in
	`file-notify--test-no-descriptors'.
	(file-notify--test-with-events-check)
	(file-notify--test-with-events): Handle the `random' marker.
	(file-notify--test-with-events-explainer): Improve readability.
	(file-notify-test00-availability)
	(file-notify-test01-add-watch, file-notify-test02-events)
	(file-notify-test03-autorevert)
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity)
	(file-notify-test06-many-events, file-notify-test07-backup)
	(file-notify-test08-watched-file-in-watched-dir)
	(file-notify-test09-sufficient-resources): Check also
	`file-notify--test-cleanup-p'.
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity): Use `ignore' as handler.
	(file-notify-test05-dir-validity)
	(file-notify-test06-many-events): Delete directory finally.
	(file-notify-test08-watched-file-in-watched-dir): Add `random' marker.

2016-06-05  Stephen Berman  <stephen.berman@gmx.net>

	man.el: Fix links on hyphenated words (bug#23647)

	* lisp/man.el (Man-bgproc-sentinel): Make links work on
	hyphenated words.

2016-06-05  K. Handa  <handa@gnu.org>

	Add category 'j' to more characters.

	* lisp/international/characters.el: Add category 'j' (Japanese)
	to characters in japanese-jisx0213.2004-1.

2016-06-04  Tino Calancha  <f92capac@gmail.com>

	isearch-edit-string resumes multi isearches

	* lisp/isearch.el (with-isearch-suspended): Remember and restore
	multi-isearch variables.  (Bug#21663)

2016-06-04  Eli Zaretskii  <eliz@gnu.org>

	Fix Eshell display when RTL characters are involved

	* lisp/eshell/esh-mode.el (eshell-mode): Set
	'bidi-paragraph-direction' to 'left-to-right'.  (Bug#23652)

2016-06-02  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Make ses-jump with completing input.

	* lisp/ses.el (ses-jump): Make symbol input completing against list of
	  named cells.

2016-06-01  Paul Eggert  <eggert@cs.ucla.edu>

	Port angle-bracket TZ settings to MS-Windows

	* doc/lispref/os.texi (Time Zone Rules): Document MS-Windows
	lack of support for numeric time zone abbreviations.
	* src/w32.c (sys_putenv): Convert angle-bracket TZ syntax
	to MS-compatible syntax if possible, and to "ZZZ" otherwise.
	Problem reported by Kazuhiro Ito (Bug#23600).

2016-06-01  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid delving into Git internals for version

	* lisp/loadup.el (exec-path): Set it to nil later, so that
	emacs-repository-get-version can invoke git commands in the PATH.
	* lisp/version.el (emacs-repository--version-git-1): Remove.
	(emacs-repository-get-version): Let Git do it rather than
	delving into Git internals.

2016-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Expand less

2016-06-01  Paul Eggert  <eggert@cs.ucla.edu>

	Fix emacs-repository-get-version with packed .git

	* lisp/version.el (emacs-repository-get-version):
	Parse .git/packed-refs if it exists.
	Problem reported by Martin Rudalics in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00554.html

2016-06-01  Michael Albinus  <michael.albinus@gmx.de>

	Minor change in tramp.texi

	* doc/misc/tramp.texi (Password handling): Do not discuss
	anymore how to get password-cache.el.  It is bundled with
	Emacs.

2016-06-01  Alan Mackenzie  <acm@muc.de>

	Correct fontification and indentation of C++'s "constexpr" expressions

	* lisp/progmodes/cc-langs.el (c-type-modifier-kwds): Remove "constexpr".
	(c-modifier-kwds): Add "constexpr".

2016-05-31  Ikumi Keita  <ikumi@ikumi.que.jp>

	Cosmetic change to kinsoku-eol.  (tiny change)

	* lisp/international/kinsoku.el (kinsoku-eol): Make the
	order of characters match with the comments.

2016-05-31  Ikumi Keita  <ikumi@ikumi.que.jp>

	Add HIRAGANA ITERATION MARK to japanese-kana-table.  (tiny change)

	* lisp/language/japan-util.el (japanese-kana-table): Add an
	entry for HIRAGANA ITERATION MARK (U+309D).
	(japanese-alpha-numeric-table): Fix docstring.

2016-05-31  K. Handa  <handa@gnu.org>

	Fix incomplete handling of translation table in a coding system.

	* coding.c (get_translation): New arg NCHARS.  Even if TRANS
	is an alist, return a character or a vector of character.
	(produce_chars): Adjust for the above change.
	(consume_chars): Likewise.

2016-05-31  Michael Albinus  <michael.albinus@gmx.de>

	Improve robustness for out-of-band copy in Tramp

	* lisp/net/tramp-adb.el (tramp-adb-execute-adb-command)
	* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers)
	* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
	Cosmetic changes.

	* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Use local `default-directory'.  Simplify command to send.
	Don't check return code, this was already done in
	`tramp-process-actions'.
	(tramp-get-inline-coding): Don't set `default-directory'.

	* lisp/net/tramp.el (tramp-action-out-of-band):
	Throw `out-of-band-failed'.
	(tramp-process-actions): Handle `out-of-band-failed'.
	(tramp-call-process, tramp-call-process-region):
	Use local `default-directory'.

2016-05-31  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	788c9b6 ; Spelling fix
	25c4a30 * lisp/recentf.el (recentf-dialog-mode-map): Remove follow-li...
	0992ec3 Correct cl-flet usage (Bug#22317)
	50caae3 Release MH-E manual version 8.6
	602bb40 Update MH-E's documentation about HTML renderers
	89018f0 Fx the we->the typo
	845ee57 Restore frames into the current display by default
	ee28b4c * lisp/recentf.el (recentf-open-files-item): Quick fix for (b...
	01c3cd1 etc/TODO: Remove out-of-place issue
	5e18486 Clarify doc string of 'file-name-sans-extension'
	bffda22 Fix the MSDOS build
	f907f98 * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Ca...
	1a2ffd0 * src/dired.c (Ffile_name_all_completions): Doc fix.  (Bug#23...
	f7ffc4b Fix infloop in 'number-sequence'
	4ab2673 ; Spelling and punctuation fixes in comments
	71c152e * lisp/emacs-lisp/find-func.el (find-function-library):

2016-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/autoload.el: Use radix-tree.

	 (autoload--make-defs-autoload): Rewrite.
	(autoload--split-prefixes-1): Remove.
	(autoload-def-prefixes-max-entries): Rename from
	autoload-defs-autoload-max-size.
	(autoload-popular-prefixes): Remove.
	(autoload-def-prefixes-max-length): New const.

	* lisp/emacs-lisp/radix-tree.el: New file.

2016-05-30  Ken Brown  <kbrown@cornell.edu>

	* src/conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Increase.

2016-05-30  Paul Eggert  <eggert@cs.ucla.edu>

	Omit IF_LINT code that no longer seems needed

	Nowadays GCC is smarter, or the Emacs code has mutated, or both,
	and now is as good a time as any to remove uses of IF_LINT that
	now seem to be unnecessary.
	* lib-src/emacsclient.c (set_local_socket):
	* lib-src/movemail.c (main) [MAIL_USE_MAILLOCK && HAVE_TOUCHLOCK]:
	* src/buffer.c (fix_start_end_in_overlays, fix_overlays_before):
	* src/casefiddle.c (casify_region):
	* src/charset.c (load_charset_map):
	* src/coding.c (decode_coding_object, encode_coding_object):
	* src/data.c (Fmake_variable_buffer_local, Fmake_local_variable)
	(cons_to_unsigned, cons_to_signed):
	* src/frame.c (make_frame, x_set_frame_parameters):
	* src/keyboard.c (read_event_from_main_queue):
	* src/regex.c (regex_compile):
	* src/syntax.c (back_comment):
	* src/window.c (Frecenter):
	* src/xfaces.c (Fx_list_fonts):
	Remove IF_LINT that no longer seems necessary.
	* src/image.c (png_load_body, jpeg_load_body): Simplify use of IF_LINT.
	* src/keyboard.c (read_char): Use IF_LINT (volatile) rather than
	a pragma dance to pacify GCC -Wclobbered.
	* src/xdisp.c (x_produce_glyphs): Rewrite to avoid need for IF_LINT.

	* src/xterm.c (x_connection_closed): Now _Noreturn, which should
	mean we do not need IF_LINT any more.
	(x_io_error_quitter): Now _Noreturn.  Put an 'assume (false)’
	at the end, to forestall warnings from older compilers.

2016-05-30  Paul Eggert  <eggert@cs.ucla.edu>

	Port --enable-gcc-warnings to Cygwin, FreeBSD

	These platforms have a bug where _Noreturn is empty when 'lint' is
	defined.  Problem reported by Ken Brown (Bug#23640).
	* configure.ac (GCC_LINT): Rename from 'lint'.
	* src/conf_post.h (IF_LINT): Use GCC_LINT, not just 'lint’.

2016-05-30  Paul Eggert  <eggert@cs.ucla.edu>

	Update from gnulib

	This incorporates:
	2016-05-30 Use GCC_LINT, not lint
	2016-05-29 secure_getenv: Port to many more platforms.
	* doc/misc/texinfo.tex, lib/secure_getenv.c, lib/verify.h:
	* m4/secure_getenv.m4: Copy from gnulib.

2016-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/pcase.el: Undo last change's spurious changes

	* lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates): Add `atom'.

2016-05-30  Ken Brown  <kbrown@cornell.edu>

	* src/regex.c (IF_LINT): Remove; it’s in conf_post.h

2016-05-30  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#23631 for Tramp

	* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions)
	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions)
	* lisp/net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Fix caching problems.

	* lisp/net/tramp-sh.el (tramp-perl-file-name-all-completions): Simplify.

	* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
	Move duplicate deletion ...
	(tramp-smb-handle-file-name-all-completions): ... here.

	* lisp/net/tramp.el (tramp-handle-file-name-completion):
	Handle `completion-ignored-extensions'.  (Bug#23631)

	* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
	Test also `completion-regexp-list' and `completion-ignored-extensions'.

2016-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/wid-edit.el (link): Remove :follow-link property (bug#22434)

	* lisp/recentf.el (recentf-dialog-mode-map): Remove unecessary mapping.

2016-05-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Fix up remainder of the mml property change

	* lisp/gnus/message.el (message-send-mail): Use the renamed
	mml-buffer-substring-no-properties-except-some function.
	(message-send-news): Ditto.

2016-05-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow preserving EXIF rotations when sending HTML messages

	* lisp/gnus/mml.el (mml--possibly-alter-image): Allow image
	rotation if you have exiftool installed and the image format
	supports it.
	(mml-expand-html-into-multipart-related): Use it.
	(mml-buffer-substring-no-properties-except-some): Renamed and
	copy display properties, too.

2016-05-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Make message-toggle-image-thumbnails work better

	* lisp/gnus/message.el (message-toggle-image-thumbnails): Use
	`insert-image' instead of `put-image' to make it possible to
	edit the resulting text in a sensible manner.

2016-05-29  Alan Mackenzie  <acm@muc.de>

	Rationalize the use of c-new-BEG and c-new-END in CC Mode.

	Remove the now redundant c-old-BOM and c-old-EOM.

	* lisp/progmodes/cc-engine.el (c-macro-cache-syntactic): Change and simplify
	meaning.
	(c-macro-cache-no-comment): New variable.
	(c-invalidate-macro-cache, c-beginning-of-macro, c-end-of-macro): incorporate
	the new c-macro-cache-no-comment.
	(c-syntactic-end-of-macro): Make better use of c-macro-cache-syntactic.
	(c-no-comment-end-of-macro): New function.

	* lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
	c-extend-font-lock-region-for-macros to C/C++/ObjC value.

	* lisp/progmodes/cc-mode.el (c-old-BOM, c-old-EOM): Remove.
	(c-extend-region-for-CPP): Put results in c-new-BEG/END rather than
	c-old-BOM/EOM.
	(c-extend-font-lock-region-for-macros): Simplify meaning, no longer returning
	a cons for the new region, since the function is now called as an after-change
	function.  No longer adjust c-new-END for the length of inserted/deleted
	text.  Move the size restrictions on macros to here from
	c-neutralize-syntax-in-and-mark-CPP.
	(c-neutralize-syntax-in-and-mark-CPP): No longer adjust c-new-BEG/END here.
	Use c-no-comment-end-of-macro rather than c-syntactic-end-of-macro to find the
	upper boundary to "neutralize" syntactically obtrusive characters.
	(c-change-expand-fl-region): Don't set c-new-END to next BOL when already at
	one.

2016-05-28  Ken Brown  <kbrown@cornell.edu>

	Avoid compiler warnings

	* src/cygw32.c (chdir_to_default_directory): Use "void" as
	argument list.  Use SSDATA instead of SDATA.

	* src/unexcw.c (fixup_executable): Use %td as format specifier for
	argument of type ptrdiff_t.  Use %zu for argument of type size_t.

2016-05-28  Eli Zaretskii  <eliz@gnu.org>

	Fix 'next-line' and 'previous-line' during keyboard macro

	* lisp/simple.el (line-move-visual): Handle the case when point
	moves outside of the visible portion of the buffer while executing
	a keyboard macro.  (Bug#13452)  (Bug#23551)  (Bug#23555)

2016-05-28  Alan Mackenzie  <acm@muc.de>

	C++ Mode: attribute in class declaration fouls up indentation.  Fix!

	* lisp/progmodes/cc-engine.el (c-looking-at-decl-block): Add code to skip
	back over noise clauses and attribute clauses.

	* lisp/progmodes/cc-langs.el (c-paren-nontype-key): New language variable.

2016-05-28  Ken Olum  <kdo@cosmos.phy.tufts.edu>

	Prevent locked-file errors in Rmail

	* lisp/mail/rmail.el (rmail-get-new-mail-1): Lock file before
	calling 'rmail-insert-inbox-text'.  Unlock if
	'rmail-insert-inbox-text' doesn't modify buffer.
	(rmail-insert-inbox-text): Remove lock-checking code.  (Bug#17706)

2016-05-28  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp repository.

	* lisp/net/tramp-adb.el (tramp-adb-handle-start-file-process):
	* lisp/net/tramp-sh.el (tramp-sh-handle-start-file-process)
	* lisp/net/tramp-smb.el (tramp-smb-handle-start-file-process):
	Create BUFFER if it doesn't exist.  Reported by Nikolay
	Kudryavtsev <nikolay.kudryavtsev@gmail.com>.

	* lisp/net/tramp-gvfs.el (tramp-gvfs-file-attributes)
	(tramp-gvfs-file-attributes-with-gvfs-ls-regexp)
	(tramp-gvfs-file-attributes-with-gvfs-info-regexp): New defconst.
	(tramp-gvfs-get-directory-attributes)
	(tramp-gvfs-get-root-attributes)
	(tramp-gvfs-get-file-attributes): New defun.
	(tramp-gvfs-handle-file-attributes)
	(tramp-gvfs-handle-file-name-all-completions): Use them.
	(tramp-gvfs-handle-file-directory-p): Use `file-truename'.
	(tramp-gvfs-maybe-open-connection): Set :noquery flag for process.
	(tramp-gvfs-send-command): Add locale settings to `process-environment'.
	(top): Suppress D-Bus error messages during zeroconf initialization.

	* lisp/net/tramp.el (tramp-unknown-id-string)
	(tramp-unknown-id-integer): New defconst.
	(tramp-check-cached-permissions)
	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes)
	* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls)
	(tramp-convert-file-attributes, tramp-get-remote-uid)
	(tramp-get-remote-gid): Use them.

	* lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp):
	Rename from `tramp-color-escape-sequence-regexp'.
	(tramp-sh-handle-insert-directory)
	(tramp-convert-file-attributes): Adapt callees.
	(tramp-device-escape-sequence-regexp): New defconst.
	(tramp-wait-for-output): Use it.  Reported by Matthías Páll
	Gissurarson <icetritlo@gmail.com>.

	* lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
	Simplify.

	* test/lisp/net/tramp-tests.el (tramp-test26-process-file)
	(tramp-test28-shell-command):
	Use `tramp-display-escape-sequence-regexp'.

2016-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	Don’t document declare-function internals

	Suggested by Stefan Monnier in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00618.html
	* doc/lispref/functions.texi (Declaring Functions):
	* lisp/subr.el (declare-function):
	* lisp/emacs-lisp/bytecomp.el:
	(byte-compile-macroexpand-declare-function):
	Document as (fn file &optional arglist fileonly)
	even though it is really (fn file &rest args).

2016-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	* src/puresize.h (BASE_PURESIZE): Increase it some more.

2016-05-27  Glenn Morris  <rgm@gnu.org>

	* src/puresize.h (BASE_PURESIZE): Increase it by a little bit.

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Tweak previous to
	avoid build failure.

2016-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	Port to platforms where rlim_max < 0

	* src/emacs.c (main): Do not treat a negative rlim_max as a limit;
	this can happen if a special value like RLIM_INFINITY is negative.

2016-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	Robustify stack-size calculation

	* src/emacs.c: Include getpagesize.h.
	(main): Check for integer overflow when computing stack size.
	Round new rlim_cur to pagesize boundary on all platforms, as this
	is easy and would have prevented Bug#23622.  If setrlimit
	fails, use current limit to determine re_max_failures.

2016-05-27  Ken Brown  <kbrown@cornell.edu>

	Adjust filenotify-tests on Cygwin

	* test/lisp/filenotify-tests.el (file-notify--test-timeout):
	Remove special case for Cygwin.
	(file-notify-test07-backup): Update expected results on Cygwin.

2016-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	Improve define-function omitted-arg documentation

	* doc/lispref/functions.texi (Declaring Functions):
	* lisp/subr.el (declare-function):
	Be clearer when documenting omitted args for define-function.

2016-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add docstring to accessors.

2016-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/subr.el (definition-prefixes): Expand docstring

	* lisp/emacs-lisp/autoload.el (autoload--split-prefixes):
	Remove unused function.

2016-05-27  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix broken viper deactivation

	* lisp/emulation/viper.el (viper--deactivate-advice-list): Destructure
	  args to advice-remove.
	  (viper--advice-add): Use cons not list.

	Addresses bug#23625

2016-05-27  Mark Oteiza  <mvoteiza@udel.edu>

	Preserve buffer point in windows by default (Bug#4041).

	* doc/lispref/windows.texi: Mention new default.
	* etc/NEWS: Mention new default.
	* lisp/window.el (switch-to-buffer-preserve-window-point): Default to t.

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Fix byte-compiler pacification for declare-function

	Problem reported by Michael Heerdegen in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00590.html
	* lisp/emacs-lisp/bytecomp.el:
	(byte-compile-macroexpand-declare-function):
	Revert signature to previous value.
	* lisp/subr.el (declare-function): Change signature to
	match the reverted signature used in the byte compiler.

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Update texinfo.tex

	This fixes Bug#23611 in a different (and presumably better) way.
	* doc/misc/texinfo.tex: Update from gnulib.

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify 'make check-declare'

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Repair damage from emacs-25 merge

	* test/lisp/character-fold-tests.el:
	Remove, as it was renamed to test/lisp/char-fold-tests.el.
	* test/lisp/emulation/viper-tests.el:
	Rename from test/automated/viper-tests.el.

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	c3489d0 * lisp/w32-fns.el (set-message-beep, w32-get-locale-info) (w3...
	a4d882c Correct old cell name unbinding when renaming cell.
	6c12c53 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into...
	0be6725 Document problem: slow screen refresh on missing font.
	853b9b9 * admin/admin.el (add-release-logs): Basic check of existing ...
	5fa80cf * build-aux/gitlog-to-emacslog: Handle empty generated Change...
	3c79e51 * admin/admin.el (add-release-logs): Generate ChangeLog if ne...
	42275df * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
	3f4a9d9 * admin/authors.el (authors): First update the ChangeLog.
	897fb6f ; 'Changes from the pre-25.1 API' copyedits
	825ca25 Rename vc-stay-local back to vc-cvs-stay-local
	4efb3e8 * doc/emacs/files.texi (Comparing Files): * doc/emacs/trouble...
	b995d1e * doc/misc/eww.texi (Advanced): Fix xref.
	2e589c0 Fix cross-references between manuals
	f3d2ded * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to ...
	906c810 ; * admin/release-process: Move etc/HISTORY from here... ; * ...
	bea1b65 * admin/admin.el (add-release-logs): Also update etc/HISTORY.
	503e752 ; * CONTRIBUTE: Fix a typo.
	fbfd478 Avoid aborting due to errors in arguments of 'set-face-attrib...
	bdfbe6d ; * admin/release-process: Copyedits.
	44a6aed ; * test/automated/data-tests.el: Standardize license notice.
	c33ed39 ; * test/automated/viper-tests.el: Standardize license notice.
	df4a14b Add automated test for viper-tests.el
	c0139e3 Fix viper undo breakage from undo-boundary changes
	920d76c Fix reference to obsolete fn ps-eval-switch
	18a9bc1 Do not trash symlinks to init file
	2671179 Don't print the "decomposition" line for control chars in wha...
	869092c Bring back xterm pasting with middle mouse
	5ab0830 Provide workaround for xftfont rendering problem
	c9f7ec7 * lisp/desktop.el: Disable restore frameset if in non-graphic...
	30989a0 Mention GTK+ problems in etc/PROBLEMS
	421e3c4 * lisp/emacs-lisp/package.el (package-refresh-contents):
	dadfc30 Revert "epg: Add a way to detect gpg1 executable for tests"
	e41a5cb Avoid errors with Czech and Slovak input methods
	d4ae6d7 epg: Add a way to detect gpg1 executable for tests
	ebc3a94 * lisp/emacs-lisp/package.el: Fix free variable warnings.
	6e71295 * lisp/emacs-lisp/package.el (package--with-response-buffer):
	c45d9f6 Improve documentation of 'server-name'
	3b5e38c Modernize ASLR advice in etc/PROBLEMS
	1fe1e0a * lisp/char-fold.el: Rename from character-fold.el.

2016-05-26  Eli Zaretskii  <eliz@gnu.org>

	Avoid byte-compiler warnings due to 'declare-function'

	* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
	(w32-get-valid-locale-ids):
	* lisp/progmodes/js.el (ido-mode): Specify arglist in
	'declare-function' forms, to avoid byte-compiler warnings.

2016-05-26  Glenn Morris  <rgm@gnu.org>

	* lisp/info.el (Info-default-directory-list): Don't check /share,info.

	No-one puts info pages there.  If /share does exist, it's likely to
	contain remote file systems where access could be slow.

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	2d76405 etc/AUTHORS: Update the AUTHORS file

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	06cb28f Fix bug#23462: Crash when iconifying frame on OS X.

2016-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	939eb75 Fix bug in default setting of 'ps-paper-type'

2016-05-26  Glenn Morris  <rgm@gnu.org>

	* lisp/info.el (Info-default-directory-list): Remove obsolete suffixes.

2016-05-26  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#23614.

	* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
	Let-bind `process-coding-system-alist' in order to suppress
	the value for "cmdproxy".

	* lisp/net/tramp.el (tramp-encoding-shell):
	`w32-shell-name' is a function.
	(tramp-encoding-command-switch)
	(tramp-encoding-command-interactive): Use `w32-shell-dos-semantics'.

	* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
	Suppress some tests on MS Windows.  (Bug#23614)

2016-05-26  Stephen Berman  <stephen.berman@gmx.net>

	hl-line.el: Fix flickering of highlighted line (bug#23510)

	* lisp/hl-line.el (hl-line-maybe-unhighlight)
	(global-hl-line-highlight-all)
	(global-hl-line-maybe-unhighlight): New functions.
	(hl-line-overlay-buffer): New variable.
	(hl-line-mode): Use it.  Replace hl-line-unhighlight on
	pre-command-hook by hl-line-maybe-unhighlight on
	post-command-hook, to prevent hl-line from flickering.
	Adjust document string.
	(global-hl-line-mode): Use global-hl-line-highlight-all to
	simultaneously highlight the current line in all live windows.
	Replace global-hl-line-unhighlight on pre-command-hook by
	global-hl-line-maybe-unhighlight on post-command-hook, to
	prevent global-hl-line from flickering.  Remove
	global-hl-line-unhighlight from change-major-mode-hook on
	disabling the mode.  Adjust document string.

2016-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make autoloads populate a new definition-prefixes table

	* lisp/subr.el (definition-prefixes): New hash table.
	(register-definition-prefixes): New function.

	* lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): New var.
	(autoload--split-prefixes-1, autoload--split-prefixes)
	(autoload--make-defs-autoload): New functions.
	(autoload-defs-autoload-max-size, autoload-popular-prefixes): New vars.
	(autoload-generate-file-autoloads): Obey autoload-compute-prefixes.
	(update-directory-autoloads): Don't touch loaddefs.el if the set of
	autoloads hasn't changed (i.e. if only the timestamp would change).

	* lisp/loadup.el: Purify definition-prefixes.

	* lisp/w32-fns.el: Keep name space clean.
	(w32-set-default-process-coding-system): Rename from
	set-default-process-coding-system.
	(w32-set-system-coding-system): Rename from set-w32-system-coding-system.

2016-05-24  Ken Brown  <kbrown@cornell.edu>

	Allow network-stream-tests to work for out-of-tree builds

	* test/lisp/net/network-stream-tests.el
	(network-stream-tests--datadir): New defconst.
	(make-tls-server): Use it.

2016-05-24  Ken Brown  <kbrown@cornell.edu>

	Fix failing echo-server-nowait test

	* test/lisp/net/network-stream-tests.el (echo-server-nowait):
	Specify IPv4 for the client, to match the family of the server.
	(Bug#23606)

2016-05-24  Ken Brown  <kbrown@cornell.edu>

	Allow shr-tests to work for out-of-tree builds

	* test/lisp/net/shr-tests.el (shr-tests--datadir): New defconst.
	(shr-test, rendering): Use it.

2016-05-24  Ken Brown  <kbrown@cornell.edu>

	Update allowable arguments for open-network-stream

	* src/coding.c (Ffind_operation_coding_system): Allow t as a
	target for open-network-stream.  (Bug #23540)

2016-05-24  Dmitry Gutov  <dgutov@yandex.ru>

	Make js-mode's syntax highlighting work again

	* lisp/progmodes/js.el (js-mode): Fix the assigned
	font-lock-defaults value (bug#23603).

2016-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/cc-mode.el: Add minor comments

	(c-change-expand-fl-region): Mark args as unused.

2016-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/url/url-http.el: Use lexical-binding

	(url-http-simple-after-change-function): Use buffer-size rather than `nd'.
	(url-http-wait-for-headers-change-function): Remove unused var
	`content-length'.
	(url-http): Remove unused vars `host' and `port'.

2016-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/widget.el (define-widget): Use `declare' (which does work now).

	(widget-plist-member): Mark as obsolete.

2016-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/image.el: Use lexical-binding

	(image-scaling-factor, imagemagick-types-inhibit)
	(imagemagick-enabled-types): Remove redundant :group.
	(image--get-image): Apply de-Morgan and use car-safe.
	(image-compute-scaling-factor): Use the argument.

2016-05-23  Glenn Morris  <rgm@gnu.org>

	* lisp/image.el (image--get-image): Remove nonsensical code.

	* lisp/image.el (image--get-image): Avoid requiring a library for
	one trivial operation.

2016-05-23  Paul Eggert  <eggert@cs.ucla.edu>

	Don’t use only last protocol from getaddrinfo

	Problem reported by Ken Brown in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00483.html
	* src/process.c (conv_addrinfo_to_lisp): New function.
	(connect_network_socket): Arg is now a list of addrinfos, not
	merely IP addresses.  All uses changed.  Use protocol from
	each addrinfo.
	(Fmake_network_process): Accumulate protocols into addrinfos
	rather than just using the last one found.
	(check_for_dns): Accumulate protocols here, too.
	* src/process.h (struct Lisp_Process): Remove ai_protocol;
	no longer needed.

2016-05-23  Paul Eggert  <eggert@cs.ucla.edu>

	Fix seq requirement that broke bootstrap

	* lisp/image.el (image--get-image): Require seq here, not at the
	top level, to avoid ‘(require seq) while preparing to dump’ while
	bootstrapping.  Suggested by Tino Calancha in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00477.html

2016-05-22  Nicolas Petton  <nicolas@petton.fr>

	Add missing dependencies to seq.el

	* lisp/emacs-lisp/find-func.el:
	* lisp/ibuffer.el:
	* lisp/image.el: Require seq.

2016-05-22  Alp Aker  <alp@food52.com>

	* src/process.c (SOCK_NONBLOCK): Fix typo.

2016-05-22  Etienne Prud’homme  <e.e.f.prudhomme@gmail.com>

	Add completion of colors in CSS mode

	* lisp/textmodes/css-mode.el (css-value-class-alist): Add CSS colors
	from "CSS Color Module Level 3".

	* test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
	Update test.

2016-05-21  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer SOCK_NONBLOCK to O_NONBLOCK

	* src/process.c (SOCK_NONBLOCK): Define to 0 if not already defined.
	(connect_network_socket): Create the socket with SOCK_NONBLOCK, to
	avoid an fcntl with O_NONBLOCK if SOCK_NONBLOCK works.  Put the
	SOCK_DGRAM check a bit later, to keep the logic cleaner, as
	the order does not matter here.

2016-05-21  Alan Third  <alan@idiocy.org>

	Fix bug#16856, cursor leaves garbage in fringe on OS X.

	* src/nsterm.m (ns_draw_window_cursor): Prevent the cursor from
	being drawn outside the text area.

2016-05-21  Eli Zaretskii  <eliz@gnu.org>

	Fix compiler warnings in the MinGW build

	* configure.ac [mingw32]: Don't add -Wpointer-sign, and add
	-Wno-pointer-sign, to keep the noise level down.

	* nt/mingw-cfg.site (gl_cv_warn_c__Wredundant_decls): Disable
	-Wredundant-decls, as that produces a lot of noise due to
	redeclaration of time-related functions by gnulib.
	* nt/runemacs.c (set_user_model_id): Fix argument type of
	'SetCurrentProcessExplicitAppUserModelID'.

	* src/image.c (x_create_bitmap_from_file) [HAVE_NTGUI]: Don't
	declare 'dpyinfo', as it is unused.
	(xpm_load): Fix warnings about pointer signedness.
	* src/w32proc.c (IsValidLocale, init_winsock): Remove redundant
	prototypes.
	(sys_spawnve): Avoid warnings about discarding 'const' qualifier.
	(sys_select): Provide prototype.
	(g_b_init_compare_string_w): Move declaration to file scope.
	* src/w32heap.c (dumped_data_commit): Now static.
	(FREEABLE_P): Avoid warnings about pointer comparison with integer.
	(mmap_realloc): Cast to 'char *' for arithmetics on void pointers.
	* src/w32console.c (ctrl_c_handler, sys_tputs, sys_tgetstr)
	(evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear):
	Provide prototypes.
	* src/w32.c (globals_of_w32, conv_sockaddr_to_lisp): Remove
	redundant prototypes.
	(w32_get_internal_run_time, map_w32_filename): Provide prototype.
	(init_environment, sys_ctime): Avoid warnings about discarding
	'const' qualifier.
	Include utimens.h.
	(sys_ctime, sys_chdir, sys_creat, sys_fopen, sys_mkdir)
	(sys_open, sys_rename, sys_rmdir, is_slow_fs, term_winsock)
	(sys_close, sys_dup2, sys_read, sys_write, sys_localtime): Provide
	prototypes.
	(sys_rename_replace): Use %d to avoid compiler warnings.
	(_wsa_errlist): Make the message text 'const char *', to avoid
	compilation warnings.
	(dynlib_reset_last_error): Move prototype to file scope.
	(w32_get_resource): First argument is now 'const char *'.
	* src/w32uniscribe.c (syms_of_w32uniscribe): Provide prototype.
	(otf_features): Second argument is no 'const char *'.
	* src/w32term.c (free_frame_menubar, x_wm_set_size_hint)
	(x_set_window_size): Remove redundant prototypes.
	(XChangeGC, XGetGCValues, w32_draw_underwave)
	(w32_draw_rectangle, w32_shift_glyphs_for_insert, x_mouse_leave)
	(x_calc_absolute_position, x_destroy_window): Now static.
	(menubar_selection_callback): Move prototype to file scope.
	* src/w32font.c (g_b_init_get_glyph_outline_w): Remove redundant
	declaration.
	(w32_to_x_charset): Fix warnings about discarding 'const' qualifier.
	(w32font_full_name): Fix warnings about implicit conversion of
	'float' to 'double'.
	* src/w32reg.c (w32_get_rdb_resource): Fix warnings about
	discarding 'const' qualifier.
	* src/w32menu.c (syms_of_w32menu, globals_of_w32menu)
	(set_frame_menubar): Remove redundant prototypes.
	(menubar_selection_callback, w32_menu_display_help): Provide
	prototypes.
	(simple_dialog_show): Avoid warnings about discarding 'const'
	qualifier.
	* src/w32fns.c (syms_of_w32fns, globals_of_w32fns)
	(free_frame_menubar, w32_strerror, x_set_menu_bar_lines)
	(x_set_tool_bar_lines, x_set_internal_border_width): Remove
	redundant prototypes.
	(current_popup_menu): Remove redundant declaration.
	(colormap_t): Member 'name' is now 'const char *'.
	(add_system_logical_colors_to_map): Fix signed/unsigned warnings.
	(x_decode_color, x_set_border_pixel)
	(x_clear_under_internal_border, x_set_name, hook_w32_key)
	(reset_w32_kbdhook_state, deliver_wm_chars, w32_backtrace): Now
	static.
	(w32_load_cursor, w32_key_to_modifier, map_keypad_keys)
	(w32_msg_worker, w32_last_error): Provide prototypes.
	(funhook, lookup_vk_code): Avoid warnings about missing
	parentheses.
	(x_default_font_parameter, Fw32_notification_notify): Avoid
	warnings about discarding 'const' qualifier.
	(Fx_create_frame): Avoid warnings about empty body of 'else'.
	(x_screen_planes): Ifdef away unused function.
	(Fx_show_tip): Remove unused variables.
	(Fw32_battery_status): Avoid warnings about implicit promotion
	from float to double.
	(Fw32_notification_notify): Initialize 'timeout'.
	* src/profiler.c (profiler_cpu_running) [HAVE_ITIMERSPEC]: Only
	define the TIMER_SETTIME_RUNNING value if it will be used.
	* src/w32notify.c (send_notifications): Ifdef away an empty if
	clause.  Remove unused variable.
	(watch_end, watch_completion): Provide prototypes.
	* src/sound.c (sound_warning) [WINDOWSNT]: Don't define: unused.
	* src/callproc.c (child_setup, getenv_internal_1) [WINDOWSNT]: Fix
	warning with pointer signedness.
	* src/gnutls.c (gnutls_x509_crt_get_signature)
	(gnutls_alert_send_appropriate) [WINDOWSNT]: Don't define, and
	don't load them from the GnuTLS library, as they are no longer
	used.
	* src/process.c (DATAGRAM_CHAN_P) [!DATAGRAM_SOCKETS]: Don't
	define, as it's unused.
	* src/unexw32.c (open_input_file, open_output_file)
	(close_file_data): Remove redundant prototypes.
	(_start): provide prototype.
	(mainCRTStartup): Move prototype to file level.
	(find_section): Use type-cast to shut up compiler warnings.
	(offset_to_section, relocate_offset): Now static.
	(find_section): First argument is now a 'const char *'.
	(offset_to_section): Ifdef away, as it's unused.
	* src/w32heap.h (find_section): Adjust prototype.
	* src/dynlib.c (dynlib_reset_last_error): Provide prototype.
	* src/dired.c (directory_files_internal_w32_unwind): Avoid
	warnings about missing prototypes.
	(is_slow_fs) [WINDOWSNT]: Provide prototype at file level.
	(directory_files_internal) [WINDOWSNT]: Fix warnings about pointer
	signedness.
	* src/fileio.c (Ffile_writable_p, Ffile_regular_p) [WINDOWSNT]:
	Fix warnings about pointer signedness.
	* src/filelock.c (WTMP_FILE) [WINDOWSNT]: Don't define, it's
	unused.
	* src/sysdep.c (_getpid): Remove redundant prototype.
	(sys_subshell) [DOS_NT]: Don't define 'status', it's unused.
	[!MSDOS]: Don't define 'st', it's unused.
	(init_sys_modes) [DOS_NT]: Don't define 'terminal', it's unused.
	(str_collate) [WINDOWSNT]: Avoid warnings about pointer signedness.
	* src/keyboard.c (tty_read_avail_input) [WINDOWSNT]: Don't define
	n_to_read, as it is not used.
	(MAX_ENCODED_BYTES) [WINDOWSNT]: Don't define, as it's unused.
	* src/w32font.h (syms_of_w32font): Remove redundant prototype.
	* src/xfaces.c (x_display_info) [HAVE_NTGUI]: Remove unused macro.
	* src/term.c (init_tty) [DOS_NT]: Ifdef away variables that are
	not used by DOS_NT builds, to avoid compiler warnings.
	* src/menu.c (current_popup_menu) [HAVE_NTGUI]: Remove redundant
	declaration.
	* src/dispnew.c (init_display) [WINDOWSNT]: Use type-cast to shut
	up compiler warnings.
	* src/w32term.h (x_set_window_size, x_get_focus_frame)
	(x_make_frame_visible, x_make_frame_invisible, x_iconify_frame)
	(x_set_frame_alpha, x_activate_menubar, x_bitmap_icon)
	(x_free_frame_resources, x_real_positions)
	(display_x_get_resource): Remove redundant prototypes.

	* lib-src/ntlib.c (sys_ctime, sys_fopen, sys_chdir, mkostemp)
	(sys_rename, gettimeofday): Provide prototypes.
	* lib-src/ntlib.h (getuid, geteuid, mkostemp): Remove redundant
	declarations.
	* lib-src/emacsclient.c (w32_getenv): Argument is now 'const char *'.
	(xstrdup, w32_get_resource, w32_window_app, w32_execvp, ttyname)
	(close_winsock, initialize_sockets, w32_set_user_model_id)
	(w32_find_emacs_process, w32_give_focus) [WINDOWSNT]: Add
	prototypes.
	(w32_get_resource) [WINDOWSNT]: Fix a warning about signedness
	difference.
	(w32_set_user_model_id): Update prototype of
	SetCurrentProcessExplicitAppUserModelID to avoid compiler
	warnings.
	(start_daemon_and_retry_set_socket) [WINDOWSNT]: Use type-cast to
	shut up compiler warnings.
	* lib-src/etags.c (MAXPATHLEN) [WINDOWSNT]: Remove unused macro.

2016-05-21  Eli Zaretskii  <eliz@gnu.org>

	Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'

	* src/xdisp.c (move_it_in_display_line_to): Don't assume we can
	wrap on a whitespace character if it's followed by another
	whitespace character.  When returning under WORD_WRAP for a screen
	line that is continued, restore to wrap point when atpos/atx
	position would be displayed on the next screen line due to
	line-wrap.  (Bug#23570)

2016-05-21  Puneeth Chaganti  <punchagan@muse-amuse.in>

	* lisp/svg.el (svg-create): Fix a typo: xmlsn -> xmlns.  (Bug#23589)

2016-05-20  Andrew Hyatt  <ahyatt@gmail.com>

	Added tests for dos unibyte decoding.

	The underlying bug was previously fixed by Eli Zaretskii in commit
	c8109d9c4057d8cac79e2c139758cadd410e7446.

2016-05-20  Philipp Stephani  <phst@google.com>

	Fix handling of ‘mouse-on-link-p’.

	If ‘mouse-on-link-p’ returns a string or vector, the first element
	is to be used as new event.  Translation to ‘mouse-2’ should only
	happen if the return value is not a string or vector.  See
	docstring of ‘mouse-on-link-p’ and Bug#23288.

	* lisp/mouse.el (mouse--down-1-maybe-follows-link): Process return
	value of ‘mouse-on-link-p’ according to documentation.

	* test/lisp/mouse-tests.el (bug23288-use-return-value)
	(bug23288-translate-to-mouse-2): Tests for Bug#23288.

2016-05-20  Daiki Ueno  <ueno@gnu.org>

	epg: Add a way to detect gpg1 executable for tests

	Fixes bug#23561.

	* test/automated/epg-tests.el
	(epg-tests-program-alist-for-passphrase-callback): New
	constant.
	(epg-tests-find-usable-gpg-configuration): New function,
	renamed from `epg-tests-gpg-usable'.  All callers changed.
	(epg-tests-gpg-usable): Remove.

	* lisp/epg-config.el (epg-config--program-alist): Factor out
	constructor element to...
	(epg-config--configuration-constructor-alist): ...here.
	(epg-find-configuration): Rename FORCE argument to NO-CACHE,
	and add PROGRAM-ALIST argument.

2016-05-19  Mark Oteiza  <mvoteiza@udel.edu>

	Put point at beginning of display-time-world buffer.

	If display-time-world decides to popup vertically from the bottom of the
	frame and scroll-margin is nonzero, the top of the buffer contents are
	hidden due to scroll.
	* lisp/time.el (display-time-world-display): Move point to point-min
	after inserting contents.

2016-05-19  Paul Eggert  <eggert@cs.ucla.edu>

	Allow null entries in face and image cache

	Problem reported by Tino Calancha (Bug#23580).
	* src/dispextern.h (FACE_FROM_ID, IMAGE_FROM_ID):
	Don’t assume that the result is non-null.
	* src/xdisp.c (fill_image_glyph_string):
	Restore check that image pointer is non-null.

2016-05-19  Paul Eggert  <eggert@cs.ucla.edu>

	Fix flyspell highlighting

	Problem reported by Jim Meyering (Bug#23575).
	* src/xdisp.c (extend_face_to_end_of_line):
	Fix typo in previous change.

2016-05-18  Eli Zaretskii  <eliz@gnu.org>

	* lisp/server.el (server-name): Add autoload cookie.  (Bug#23576)

2016-05-18  Sam Steingold  <sds@gnu.org>

	python-describe-at-point: add and bind

2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	‘make check-declare’ now chatters less

	* etc/NEWS: Document this.
	* lisp/emacs-lisp/check-declare.el (check-declare-locate):
	Return relative names, not absolute.
	(check-declare-scan, check-declare-verify, check-declare-warn)
	(check-declare-file, check-declare-directory):
	Generate less chatter.  Use relative file names rather than
	absolute.  Don’t give up on computing a good file name for a
	diagnostic merely because the function name was bad.  Make
	malformed declarations more noticeable.  Don’t warn about
	"ext:..." declarations if check-declare-ext-errors is nil.
	(check-declare-errmsg): Remove.
	(check-declare-warn): New optional arg LINE.
	(check-declare-files): Put status into mode line rather than
	chattering.

2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify byte-compiler for byte-compile-macroexpand-declare-function

	* lisp/emacs-lisp/bytecomp.el: Change signature of
	byte-compile-macroexpand-declare-function to match that of
	declare-function.

2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify byte-compiler for with-wrapper-hook

	* lisp/subr.el (subr--with-wrapper-hook-no-warnings):
	New macro, split out from with-wrapper-hook.
	* lisp/abbrev.el (abbrev--default-expand):
	* lisp/minibuffer.el (completion--in-region):
	* lisp/simple.el (buffer-substring--filter):
	* lisp/subr.el (with-wrapper-hook):
	Use it.

2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify byte-compiler in lisp/url

	* lisp/url/url-misc.el, lisp/url/url-file.el (mm-disable-multibyte):
	Add decl.

2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	Port --enable-gcc-warnings to GCC 6.1

	* configure.ac (WERROR_CFLAGS): Omit -Wunused-const-variable=2.
	* lib-src/etags.c (LOOKING_AT, LOOKING_AT_NOCASE):
	Omit test whether pointer plus a constant equals a null pointer.
	* src/alloc.c (compact_small_strings):
	Avoid pointer arithmetic on null pointers.
	* src/alloc.c (mark_face_cache):
	* src/fontset.c (free_realized_fontsets, Fset_fontset_font):
	* src/fringe.c (draw_fringe_bitmap_1)
	(Fset_fringe_bitmap_face):
	* src/macfont.m (macfont_draw):
	* src/msdos.c (IT_set_face, IT_clear_screen):
	* src/nsfont.m (nsfont_draw):
	* src/nsterm.h (FRAME_DEFAULT_FACE):
	* src/nsterm.m (ns_draw_window_cursor)
	(ns_draw_vertical_window_border, ns_draw_window_divider)
	(ns_dumpglyphs_box_or_relief)
	(ns_maybe_dumpglyphs_background, ns_dumpglyphs_image)
	(ns_dumpglyphs_stretch):
	* src/w32term.c (w32_draw_vertical_window_border)
	(w32_draw_window_divider, x_set_mouse_face_gc):
	* src/xdisp.c (estimate_mode_line_height, init_iterator)
	(handle_face_prop, handle_single_display_spec, pop_it)
	(CHAR_COMPOSED_P, get_next_display_element)
	(next_element_from_display_vector, extend_face_to_end_of_line)
	(fill_gstring_glyph_string,BUILD_COMPOSITE_GLYPH_STRING):
	* src/xfaces.c (Finternal_merge_in_global_face, Fface_font)
	(lookup_named_face):
	* src/xterm.c (x_draw_vertical_window_border)
	(x_draw_window_divider, x_set_mouse_face_gc):
	Prefer FACE_OPT_FROM_ID to FACE_FROM_ID when the result might be null.
	* src/xterm.c (try_window_id):
	Redo loop to convince GCC 6.1 that it is null pointer safe.
	(x_color_cells):
	Use eassume as necessary to pacify GCC 6.1.
	* src/dispextern.h (FACE_FROM_ID, IMAGE_FROM_ID): Now returns non-null.
	(FACE_OPT_FROM_ID, IMAGE_OPT_FROM_ID): New macro, with the old
	behavior of the non-_OPT macro, to be used when the result
	might be a null pointer.
	* src/dispnew.c (buffer_posn_from_coords, marginal_area_string)
	[HAVE_WINDOW_SYSTEM]:
	* src/intervals.h (INTERVAL_WRITABLE_P):
	* src/term.c (turn_off_face):
	* src/xdisp.c (get_glyph_face_and_encoding, fill_image_glyph_string)
	(produce_image_glyph, produce_xwidget_glyph):
	* src/xfaces.c (lookup_named_face):
	Remove unnecessary test for null pointer.
	* src/keyboard.c (read_char): Suppress bogus -Wclobbered warning.
	* src/process.c (would_block): New function.
	(server_accept_connection, wait_reading_process_output, send_process):
	Use it.
	* src/xdisp.c (get_window_cursor_type, note_mouse_highlight):
	Prefer IMAGE_OPT_FROM_ID to IMAGE_FROM_ID when the result
	might be null.

2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	Sync from gnulib

	This incorporates:
	2016-05-17 manywarnings: update for GCC 6.1
	2016-05-13 intdiv0, memmem, nocrash, strcasestr, strstr: no exit
	* m4/manywarnings.m4, m4/nocrash.m4: Copy from gnulib.

2016-05-16  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
	Include more details on hydra.

2016-05-16  Alan Mackenzie  <acm@muc.de>

	Tidy up redundant code in cc-vars.el caused by mistake in emacs-25 -> master

2016-05-16  Alan Mackenzie  <acm@muc.de>

	Fix spurious fontification of "for (; a * b;)" in CC Mode.

	This fixes bug #7918 (again).

	* lisp/progmodes/cc-engine.el (c-delq-from-dotted-list): New function.
	(c-forward-decl-or-cast-1): Return a 4 element list in place of the previous
	cons cell - additionally, return a flag indicating whether the declaration
	parsed might have been an expression, and the position of the type identifier
	in the said declaration.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): When
	c-forward-decl-or-cast-1 has indicated it might have parsed an expression,
	check for it being a spurious declaration in a "for" statement.

2016-05-14  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify ‘make check-declare’

	* lisp/cedet/srecode/insert.el (data-debug-new-buffer)
	(data-debug-insert-stuff-list, data-debug-insert-thing):
	* lisp/emulation/viper-ex.el (viper-change-state-to-vi)
	(viper-change-state-to-emacs):
	* lisp/emulation/viper-macs.el (viper-change-state-to-vi):
	* lisp/org/ob-asymptote.el (orgtbl-to-generic):
	* lisp/org/ob-awk.el (orgtbl-to-generic):
	* lisp/org/ob-core.el (org-edit-src-code, orgtbl-to-generic):
	* lisp/org/ob-emacs-lisp.el (orgtbl-to-generic):
	* lisp/org/ob-exp.el (org-element-context):
	* lisp/org/ob-gnuplot.el (org-time-string-to-time)
	(orgtbl-to-generic):
	* lisp/org/ob-haskell.el (org-export-to-file):
	* lisp/org/ob-latex.el (org-create-formula-image)
	(org-latex-compile):
	* lisp/org/ob-python.el (run-python):
	* lisp/org/ob-sh.el (orgtbl-to-generic):
	* lisp/org/ob-tangle.el (org-link-escape, org-back-to-heading):
	* lisp/org/org-colview.el (org-agenda-redo):
	* lisp/org/org-feed.el (url-retrieve-synchronously):
	* lisp/org/org-info.el (Info-find-node):
	* lisp/org/org-list.el (org-previous-line-empty-p):
	* lisp/org/org-macs.el (org-string-match-p):
	* lisp/org/org.el (org-beamer-mode):
	Fix prototype to match current definition.
	* lisp/emacs-lisp/advice.el (function-called-at-point):
	* lisp/progmodes/prolog.el (compilation-shell-minor-mode):
	Fix typo: extra '.
	* lisp/emacs-lisp/cl-generic.el (cl-defmethod):
	Insert ,' to pacify check-declare.
	* lisp/org/ob-comint.el (tramp-flush-directory-property):
	* lisp/org/ob-tangle.el (org-babel-update-block-body):
	* lisp/org/org-bibtex.el (org-babel-trim):
	* lisp/org/org-pcomplete.el (org-export-backend-options):
	* lisp/org/org-protocol.el (org-publish-get-project-from-filename):
	Fix file name in declare-function.
	* lisp/org/ob-comint.el (with-parsed-tramp-file-name)
	* lisp/org/ob-core.el (with-parsed-tramp-file-name):
	* lisp/org/org.el (org-beamer-mode):
	* lisp/url/url-http.el (gnutls-negotiate):
	Append ‘t’ to declare-function, since the declaration isn’t a defun.
	* lisp/org/ob-core.el (show-all):
	Declare outline-show-all instead, since it is the
	non-obsolete version of this function.
	(org-save-outline-visibility): Remove; not needed.
	* lisp/org/ob-scheme.el (run-geiser, geiser-mode)
	(geiser-eval-region, geiser-repl-exit):
	* lisp/org/ox-org.el (htmlize-buffer):
	Prepend "ext:" to file name, since it is not part of Emacs.
	* lisp/org/ob-sh.el (org-babel-comint-in-buffer)
	* lisp/org/org-gnus.el (nnimap-group-overview-filename):
	Remove decl, since function was removed.
	* lisp/org/ob-sh.el (org-babel-comint-with-output):
	* lisp/org/org-macro.el (org-with-wide-buffer):
	Omit unnecessary (and mismatching) decl.
	* lisp/org/org-agenda.el (calendar-absolute-from-iso):
	* lisp/org/org-clock.el (calendar-iso-to-absolute):
	Declare calendar-iso-to-absolute instead, since it is the
	non-obsolete version of this function.
	* lisp/org/org-compat.el (w32-focus-frame):
	Remove decl, since function is now obsolete.

2016-05-14  Lars Ingebrigtsen  <larsi@gnus.org>

	:max-width/height fixes for shr after the scaling changes

	* lisp/net/shr.el (shr-rescale-image): Ensure that we respect
	max-width and max-height even after the scaling changes done
	earlier this year.

2016-05-14  Eli Zaretskii  <eliz@gnu.org>

	Fix reading minibuffer input in viper-mode

	* lisp/emulation/viper-cmd.el (viper-read-string-with-history):
	Restore an assignment to viper-initial that got lost when
	viper-cmd.el was switched to lexical-binding.  (Bug#23536)

2016-05-14  Paul Eggert  <eggert@cs.ucla.edu>

	Port autogen.sh to Git 2.4

	Problem reported by Michael Brand in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00367.html
	* autogen.sh (git_config): Don't assume that git rev-parse
	groks --git-common-dir.

2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	6de0715 Properly reject malformed or empty package sigs
	edae7d9 Remove buggy non-native image scrolling

2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	Improve display of tex-verbatim and Info quoted

	Problem reported by Glenn Morris (Bug#19889).
	* doc/emacs/display.texi (Standard Faces):
	* doc/lispref/display.texi (Basic Faces):
	* etc/NEWS: Mention fixed-pitch-serif.
	* lisp/faces.el (face-font-family-alternatives):
	New family alias Monospace Serif.
	(fixed-pitch-serif): New face, which uses the new family.
	* lisp/info.el (Info-quoted):
	* lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face.
	* test/lisp/legacy/font-parse-tests.el (font-parse-tests--data):
	Add test case for Monospace Serif.

2016-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/net/sieve-mode.el: Handle the text:... notation

	Get rid of redundant :group keywords.
	(sieve-mode-syntax-table): Move initialization into declaration.
	(sieve-syntax-propertize, sieve-syntax-propertize-text): New functions.
	(sieve-mode): Use them.

2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	Tweak check-declare-directory performance

	* lisp/emacs-lisp/check-declare.el (check-declare-directory):
	Use ‘find ... -exec ... +’ for speed.

2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	Sync from gnulib

	This incorporates a spelling fix, plus:
	2016-05-09 Fix undefined behaviour in gettext.h
	* lib/gettext.h, lib/mktime.c:
	Copy from gnulib.

2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9c2a1a2 * doc/misc/texinfo.tex: Sync from gnulib.
	66cd4d8 * lisp/emacs-lisp/find-func.el (find-feature-regexp) (find-al...
	1a5a05c Do not mistake colon at the end of regexp for slash symbol
	4c5a00b Make package-install-from-buffer not move point
	9596ea1 ; Revert "* emacs-lisp/lisp-mnt.el (lm-header): save-excursion"
	f79c352 Redo the fix for bug#21839
	8d2f78c Don't treat JS spread as contination method call

2016-05-12  Chris Feng  <chris.w.feng@gmail.com>

	Correct server/client address

	* src/process.c (Fmake_network_process): :local is for servers and :remote
	is for clients.

2016-05-12  Ken Brown  <kbrown@cornell.edu>

	Autosave buffers on logout if HAVE_NTGUI

	* src/w32fns.c (w32_wnd_proc): Pass a WM_ENDSESSION message on to
	w32_read_socket.

	* src/w32term.c (w32_read_socket): Create an event of type
	END_SESSION_EVENT if a WM_ENDSESSION message is received.

	* src/termhooks.h [HAVE_NTGUI]: New event kind END_SESSION_EVENT.

	* src/keyboard.c [HAVE_NTGUI] (syms_of_keyboard): New symbol
	`end-session'.
	(kbd_buffer_get_event): Return an end-session event if an event of
	type END_SESSION_EVENT is read.
	(keys_of_keyboard): Bind the end-session event to kill-emacs in
	special-event-map.  (Bug#23483)

2016-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/cedet/semantic/{db-el,symref}.el: Mark unused vars

	* lisp/cedet/semantic/db-el.el: Use _ to mark unused vars.
	(object-print): Use cl-call-next-method instead of call-next-method.
	* lisp/cedet/semantic/symref.el: Use _ to mark unused vars.

2016-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/cedet/semantic: Silence some warnings

	* lisp/cedet/semantic/db-el.el (emacs-lisp-mode)
	(semanticdb-get-database-tables): Use make-instance to silence warnings.

	* lisp/cedet/semantic/symref.el: Require semantic/find since we use
	some macros from there.  Silence compilation warnings:
	Replace initargs with slot names in oref/oset.
	Move `SYMREF TOOLS' section earlier so definitions precede their use.

2016-05-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Support srcset in <img>

	* lisp/net/shr.el (shr--preferred-image): Allow <img> tags
	with srcset specifiers (bug#23459).

2016-05-12  Michael Albinus  <michael.albinus@gmx.de>

	Do not autoload some functions of tramp.el

	* lisp/net/tramp.el (tramp-completion-file-name-handler):
	Autoload a shortened version of this function, avoid recursive load.
	(tramp-completion-file-name-handler-alist)
	(tramp-completion-mode-p)
	(tramp-completion-handle-expand-file-name)
	(tramp-completion-handle-file-name-all-completions)
	(tramp-completion-handle-file-name-completion): Do not autoload.

2016-05-12  Michael Albinus  <michael.albinus@gmx.de>

	Avoid recursive load of tramp.el

	* lisp/net/tramp.el (tramp-completion-file-name-handler):
	Autoload a shortened version of this function, avoid recursive load.

2016-05-11  Michael Albinus  <michael.albinus@gmx.de>

	Fix a problem of tramp-tests on hydra.

	* test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
	Nullify `tramp-default-method' due to hydra.

2016-05-10  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify byte-compiler in lisp/vc

	* lisp/vc/vc-bzr.el, lisp/vc/vc-cvs.el, lisp/vc/vc-hg.el:
	* lisp/vc/vc-rcs.el, lisp/vc/vc-src.el:
	Declare functions defined elsewhere, to forestall “might not
	be defined at runtime” warnings.

2016-05-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d0d9f55 Allow newlines inside cl function arglists
	963541a Publicize cl--generic-all-functions
	3c581d5 ; Fix typo
	e58f900 Add some "safe-local-variable" declarations for compatibility...

2016-05-10  Paul Eggert  <eggert@cs.ucla.edu>

	'text-quoting-style' now affects only ` and '

	Change 'text-quoting-style' so that it no longer affects
	formatting of curved quotes in format arguments to functions like
	'message'.  In particular, when this variable's value is 'grave',
	all quotes in formats are output as-is.
	* doc/lispref/help.texi (Keys in Documentation):
	* doc/lispref/strings.texi (Formatting Strings):
	* doc/lispref/tips.texi (Documentation Tips):
	* etc/NEWS:
	* src/doc.c (syms_of_doc): Document this.
	* lisp/help-fns.el (describe-function-1):
	* src/doc.c (text_quoting_style, Fsubstitute_command_keys)
	(syms_of_doc):
	* src/editfns.c (styled_format): Omit now-unnecessary code.
	* src/lisp.h (LEAVE_QUOTING_STYLE): Remove.

2016-05-10  Alan Mackenzie  <acm@muc.de>

	Revert "Fix spurious fontification of "for (; a * b;)" in CC Mode."

	This reverts commit 89d1776b81ab552192ee41f13ce84ff86bda4556.  It is
	being reverted because it slowed down CC Mode's fontification too much
	(factor ~3).  It was the fix to bug #7918.

2016-05-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Move "Recent messages" earlier in report-emacs-bug

	* lisp/mail/emacsbug.el (report-emacs-bug): Move the "Recent
	messages" part earlier so that users can see it and remove it
	if they want.

2016-05-09  Michael Albinus  <michael.albinus@gmx.de>

	Pacify byte compiler in tramp.el

	* lisp/net/tramp.el (tramp-time-diff): Use `tramp-compat-funcall'.

2016-05-09  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	3b47898 Fix doc string in `insert'
	b479dea * doc/misc/emacs-mime.texi (time-date): Document now-builtins...
	cd27f73 Say 'All results processed' at the end
	4ffec91 Document automatic adjustment of process' logical window dime...
	dc66271 ; Fix typos and stylistic glitches in NEWS

2016-05-09  Alan Mackenzie  <acm@muc.de>

	CC Mode now uses the new :after-hook feature of define-derived-mode

	It now runs internal variable setting functions after the mode hooks, no
	longer runs the mode hooks twice, and declares the configuration variables for
	noise macros and macros with semicolons as safe variables (when given suitable
	arguments).

	Fixes bug #16759 and bug #23476.

	* .dir-locals: Put the c-noise-macros-with-paren-names setting back into the C
	Mode value.

	* lisp/progmodes/cc-mode.el: (c-basic-common-init): Remove the call to
	c-make-macro-with-semi-re.
	(c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Move
	c-make-noise-macro-regexps and c-make-macro-with-semi-re (where appropriate)
	and c-update-modeline into the :after-hook form.  Remove the explicit settings
	of the syntax table, the abbreviation table and the local key map, since they
	duplicate forms generated by define-derived-mode.  Remove the explicit
	invocation of each mode's mode hook, since they duplicate ones generated by
	define-derived-mode.

	* lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
	functions.
	(c-noise-macro-names, c-noise-macro-with-parens-names): give the
	save-local-variable property c-string-list-p.
	(c-macro-names-with-semicolon): give the save-local-variable property
	c-string-or-string-list-p.

	* doc/misc/cc-mode.texi: (Macros with ;, Noise Macros): Note that it's not
	necessary to call the regexp generating functions after setting the pertinent
	configuration values in a mode hook.

2016-05-09  Dmitry Gutov  <dgutov@yandex.ru>

	Fix the jit-lock-fontify-now test names

	* test/lisp/jit-lock-tests.el
	(jit-lock-fontify-now-mends-the-gaps)
	(jit-lock-fontify-now-does-not-refontify-unnecessarily):
	Fix the test names.

2016-05-09  Michael Albinus  <michael.albinus@gmx.de>

	Extend completion candidates in tramp.el

	* lisp/net/tramp.el (tramp-parse-default-user-host): New defun.
	(tramp-get-completion-function): Use it.

2016-05-09  Michael Albinus  <michael.albinus@gmx.de>

	Revert e2f785991d0c696fbb2bc2f331f888d979b8da82 for tramp.el

	* lisp/net/tramp.el (tramp-time-diff): Revert previous change due to backwards
	compatibility.

2016-05-08  Dmitry Gutov  <dgutov@yandex.ru>

	Emulate interactive mode

	* test/lisp/jit-lock-tests.el (jit-lock-tests--setup-buffer)
	(jit-lock-does-not-refontify-unnecessarily):
	Bind noninteractive to nil (bug#23278).

2016-05-08  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify now that float-time etc. are built-in

	This was prompted by warnings about calls to now-obsolete functions.
	* lisp/calendar/time-date.el (encode-time-value):
	Use setq rather than a recursive call, to avoid a warning
	about calling this obsolete function.
	* lisp/calendar/time-date.el (encode-time-value)
	(with-decoded-time-value, time-to-seconds, time-to-number-of-days):
	* lisp/erc/erc.el (erc-emacs-time-to-erc-time):
	* lisp/net/rcirc.el (rcirc-float-time):
	* lisp/org/org-compat.el (org-float-time):
	Simplify now that time-add and float-time are now built-in.
	* lisp/calendar/time-date.el (time-add, time-subtract, time-less-p):
	* lisp/net/newst-backend.el (time-add):
	* lisp/org/org.el (time-subtract):
	Remove backward-compatibility definitions; they are now built-in.
	* lisp/calendar/timeclock.el (timeclock-time-to-seconds)
	(timeclock-seconds-to-time):
	* lisp/net/rcirc.el (rcirc-float-time):
	* lisp/org/org-compat.el (org-float-time):
	Now obsolete, since callers can just use float-time and
	seconds-to-time.  All uses changed.
	* lisp/emacs-lisp/ert.el (ert-results-pop-to-timings):
	* lisp/gnus/gnus-art.el (article-lapsed-string):
	* lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
	* lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
	* lisp/gnus/nndiary.el (nndiary-compute-reminders):
	* lisp/net/tramp.el (tramp-time-diff):
	* lisp/org/org-clock.el (org-clock-timestamps-change):
	Prefer the time-subtract builtin to the subtract-time alias.
	* lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
	* test/lisp/character-fold-tests.el (character-fold--speed-test):
	Prefer the float-time builtin to the time-to-seconds alias.
	* lisp/org/org-agenda.el, lisp/org/org-clock.el, lisp/org/org-list.el:
	* lisp/org/org-timer.el, lisp/org/org.el:
	Adjust to org-float-time deprecation.

2016-05-08  Alan Mackenzie  <acm@muc.de>

	Add :after-hook facility to define-derived-mode.

	This allow a form to be evaluated _after_ a major mode's hooks have been run.
	It is needed to solve some problems in CC Mode, including bug #16759 and
	bug #23476.

	* lisp/emacs-lisp/derived.el (define-derived-mode): introduce the new argument
	`:after-hook', and generate the requisite code for it.
	(derived-mode-make-docstring): Take account of the possibility of :after-hook.

	* lisp/subr.el (delayed-after-hook-forms): New variable.
	(run-mode-hooks): As the last thing evaluate the forms in
	delayed-after-hook-forms.

	* doc/lispref/modes.texi (Derived Modes): Document :after-hook.
	(Mode Hooks): Document the new feature in run-mode-hooks.

	* etc/NEWS: Note the new feature.

2016-05-08  Michael Albinus  <michael.albinus@gmx.de>

	Fix recursive load of tramp.elc

	* lisp/net/tramp.el (tramp-completion-file-name-handler):
	Check also for `tramp-completion-mode-p'.
	(tramp-completion-mode, tramp-completion-mode-p): Autoload them.

2016-05-07  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer grep -E/-F to egrep/fgrep

	POSIX marked egrep and fgrep as legacy apps in SUSv2 (1997) and
	withdrew them in SUSv3 (2001), and these days grep -E and grep -F
	are probably more portable.
	* lib-src/etags.c (main):
	* lisp/eshell/em-unix.el (eshell-grep, eshell/egrep)
	(eshell/fgrep):
	* lisp/cedet/semantic/symref.el (semantic-symref-find-text):
	* lisp/eshell/esh-var.el (eshell-apply-indices):
	* lisp/progmodes/ada-xref.el (ada-xref-search-with-egrep)
	(ada-find-in-src-path):
	* lisp/textmodes/ispell.el (ispell-grep-command):
	(ispell-lookup-words):
	Use or document grep -E and grep -F instead of egrep and fgrep.
	* lisp/textmodes/ispell.el (ispell-grep-options):
	Use -Ei on all platforms, not just MS-Windows.

2016-05-07  Dmitry Gutov  <dgutov@yandex.ru>

	Avoid unnecessary work if a chunk is empty

	* lisp/jit-lock.el (jit-lock-fontify-now): Avoid unnecessary work
	if a chunk is empty (bug#23278).

2016-05-07  Dmitry Gutov  <dgutov@yandex.ru>

	* test/lisp/jit-lock-tests.el: New file.

2016-05-07  Michael Albinus  <michael.albinus@gmx.de>

	Continue to fix Bug#10085

	* lisp/net/tramp.el (tramp-completion-file-name-handler-alist)
	<expand-file-name>: Add handler.
	(tramp-completion-handle-expand-file-name): New defun.
	(tramp-handle-file-name-as-directory): Handle completion mode case.

	* test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
	Fix test.
	(tramp-test24-file-name-completion): Extend test.

2016-05-07  Alan Mackenzie  <acm@muc.de>

	Revert change 8e4595a... due to annoyance it causes the development team.

	Change 8e4595a438fe85dd109756886cdeaeea2e665afb from 2016-04-30 17:28:24
	+0000 was an enhancement to .dir-locals to allow correct fontification
	of certain macro constructs.

	* .dir-locals.el: Remove the two forms for C Mode dealing with noise macros.

2016-05-07  Alan Mackenzie  <acm@muc.de>

	* lisp/emacs-lisp/edebug.el (edebug-sit-on-break): Give it a version number.

2016-05-07  Simen Heggestøyl  <simenheg@gmail.com>

	Add tests for CSS mode completion

	* test/lisp/textmodes/css-mode-tests.el (css-test-property-values)
	(css-test-property-values-no-duplicates)
	(css-test-value-class-lookup): Use `seq-sort'.
	(css-mode-tests--completions): New helper function for retrieving CSS
	completions.
	(css-test-complete-bang-rule, scss-test-complete-bang-rule)
	(css-test-complete-property-value, css-test-complete-pseudo-class)
	(css-test-complete-pseudo-element, css-test-complete-at-rule)
	(scss-test-complete-at-rule, css-test-complete-property)
	(css-test-complete-selector, css-test-complete-nested-selector)
	(scss-test-complete-nested-selector): New tests.

2016-05-06  Alan Mackenzie  <acm@muc.de>

	Add an option in Edebug to prevent pauses after `h', 'f', and `o'.

	Requested by Paul Pogonyshev.  Also add in documentation for Edebug config
	variables which was missing.

	* lisp/emacs-lisp/edebug.el (edebug-sit-on-break): New customizable option.
	(edebug--display-1): Test edebug-sit-on-break before pausing 1 second.

	* doc/lispref/edebug.texi (Jumping): Document the effect of the new option.
	(Edebug Options): Document the new option.  Also add documentation for
	edebug-eval-macro-args, edebug-print-length, edebug-print-level,
	edebug-print-circle, edebug-sit-for-seconds.

	* etc/NEWS: Note the new feature.

2016-05-07  Jorgen Schaefer  <contact@jorgenschaefer.de>

	scheme.el: Turn literal tabs into \t

	* lisp/progmodes/scheme.el: The last change to turn tabs into spaces
	also caught some literal tabs in character classes. Fix this by
	adding \t to those classes.

2016-05-07  Tino Calancha  <f92capac@gmail.com>

	Make 'backtab' work in table-mode on text terminals

	* lisp/textmodes/table.el (table-cell-bindings): Bind 'backtab'
	explicitly.  (Bug#23456)

2016-05-07  Eli Zaretskii  <eliz@gnu.org>

	Try to speed-up display of many all-blank lines

	* src/bidi.c (bidi_initialize): Use anchored regexps for
	paragraph start and paragraph separator sequences.  (Bug#23457)

2016-05-06  Alan Mackenzie  <acm@muc.de>

	Correct hack-local-variables change from Thu May 5 11:05:49 2016 +0000

	Prevent hack-local-variables being called from the fundamental-mode mode call
	early in normal-mode.  This fixes bug #23460 and bug #23463.

	* lisp/files.el (normal-mode) Replace call to fundamental-mode with calls to
	the things it calls, with the exception of hack-local-variables.

	* etc/NEWS: Add an entry to note the calling of hack-local-variables at each
	major mode initialization.

2016-05-06  Paul Eggert  <eggert@cs.ucla.edu>

	Port xref-tests to master branch

	Also, add a test to make this problem less likely in the future.
	* test/Makefile.in (check-no-automated-subdir): New rule.
	(check, check-expensive, check-maybe): Depend on it.
	* test/automated/data/xref/file1.txt: Rename to ...
	* test/data/xref/file1.txt: ... here.
	* test/automated/data/xref/file2.txt: Rename to ...
	* test/data/xref/file2.txt: ... here.
	* test/automated/xref-tests.el: Rename to ...
	* test/lisp/progmodes/xref-tests.el: ... here.
	(xref-tests-data-dir): Use EMACS_TEST_DIRECTORY.

2016-05-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	50650cb Doc fixes for fclist and grep
	5e814e0 Minor doc fixes for quoting
	3347a73 `nreverse' the marker pairs list
	1a4127d Use save-excursion in xref-location-marker more
	ab3ba91 shell-quote-argument DIR when appropriate
	922c7a3 Rework xref-query-replace-in-results
	3fe3510 * lisp/replace.el (query-replace-read-from): Use minibuffer-w...
	0932b94 Fix todo-mode bug involving archived items (bug#23447)
	e68ad1f ; * etc/NEWS: Tiny edit. (Bug#23432)
	adc80b7 ; * test/automated/xref-tests.el: Add copyright and license.
	4d8fd9c Handle "empty line" regexp in xref searches
	f559b37 Add tests for xref-collect-matches
	6428aa0 Use grep-find-ignored-directories instead of vc-directory-exc...
	6f82d8e Clear buffer-undo-list when showing xrefs
	c68a091 Note the quote translation in `message' in section "incompati...
	52f86a7 * etc/NEWS: Mention (message "%s" (format ...)).
	93703c5 (Common Keywords): Correct what missing :group means
	79e5800 Improve documentation of Dired's 'A' and 'Q' commands
	2ea2a2f Doc fixes for quoting
	8544b98 posnp doc clarification
	805204f Mention what a missing :group does
	ec554d7 Fix documentation of dired-aux search/replace commands

2016-05-05  Simen Heggestøyl  <simenheg@gmail.com>

	Support completion of HTML tags in CSS selectors

	* lisp/textmodes/css-mode.el (css--html-tags): New variable holding a
	list of HTML tags for completion.
	(css--nested-selectors-allowed): New variable for determining whether
	nested selectors are allowed in the current mode.
	(css--complete-selector): New function for completing part of a CSS
	selector.
	(css-completion-at-point): Support completion of selectors.
	(scss-mode): Allow nested selectors.

2016-05-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Make `R' in eww work more reliably

	* lisp/net/eww.el (eww-score-readability): Protect against
	null children.

2016-05-05  Alan Mackenzie  <acm@muc.de>

	Call hack-local-variables from major modes rather than from file visiting

	This prevents file/directory local variables from being lost when the major
	mode is set or changed.

	This fixes bug #15577 and bug #23407.

	* lisp/files.el (normal-mode): Call `hack-local-variables' when the major mode
	function hasn't already done so.
	(hack-local-variables): Rename parameter `mode-only' to `handle-mode', make
	its previous non-nil setting be t, and introduce the following action for a
	non-nil non-t value: apply all settings apart from `mode'.

	* lisp/subr.el (run-mode-hooks): call `hack-local-variables' for buffers
	which are visiting files.

	* doc/emacs/custom.texi (File Variables): Note that setting a major mode also
	sets file variables.
	(Directory Variables): Note that `mode', `eval', and `unibyte' can be set as
	dir local variables, but `coding' can't.

	* doc/lispref/modes.texi (Major Mode Conventions): Say that `run-mode-hooks'
	also calls `hack-local-variables'.
	(Auto Major Mode): Say that `find-file' no longer runs `hack-local-variables',
	as from 25.2.  Remove vagueness from `normal-mode' and `set-auto-mode' by
	saying that the mode IS SET, not merely "selected" or "chosen".
	(Mode Hooks): Document change to `run-mode-hooks'.

	* doc/lispref/variables.texi (File Local Variables): Document change to
	`hack-local-variables'.

2016-05-05  Michael Albinus  <michael.albinus@gmx.de>

	tramp-sh.el: Work around a stat bug

	* lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
	stat versions which produce shell quoted output.  See also
	coreutils Bug#23422.

2016-05-04  Noam Postavsky  <npostavs@gmail.com>

	Fix autogen.sh for separate worktrees

	* autogen.sh: Use the $hooks variable in the $sample_hooks loop, instead
	of assuming .git/hooks is a directory.

2016-05-04  Alan Mackenzie  <acm@muc.de>

	Allow `text-quoting-style' to be `leave', i.e. no translation of quotes.

	* lisp/help-fns.el (describe-function-1): Don't set coding system to UTF-8
	when text-quoting-style is `leave'.

	* src/lisp.h (enum text_quoting_style): Add identifier LEAVE_QUOTING_STYLE.

	* src/doc.c (syms_of_doc): New symbol "leave".  Amend doc string of
	`text_quoting_style'.
	(text_quoting_style): Handle `leave' by returning LEAVE_QUOTING_STYLE.
	(Fsubstitute_command_keys): Don't translate quotes when quoting_style is
	LEAVE_QUOTING_STYLE.

	* src/editfns.c (styled_format): Set quoting_style to -1 when
	text-quoting-style is `leave'.

2016-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emulation/viper(-cmd)?.el: Use lexical-binding.

	* lisp/emulation/viper-cmd.el: Use lexical-binding.
	(viper-change-state-to-vi, viper-change-state-to-emacs): Allow dummy
	args, for use in advice-add.
	(viper--init-message): Rename from init-message.
	(viper-minibuffer-standard-hook): Adjust accordingly.
	(viper-undo): Remove unused var `modified'.
	(viper-read-string-with-history, viper-set-searchstyle-toggling-macros):
	Don't use dynamic vars as args.
	(viper-submit-report): Clarify use of dynamic vars.

	* lisp/emulation/viper.el: Use lexical-binding and nadvice.
	Remove redundant :group keywords.  Group the (if viper-mode) at top-level.
	Use add-function rather than a `(lambda ...).
	(viper--advice-list): New var.
	(viper--advice-add, viper--deactivate-advice-list): New funs.
	(viper-go-away, viper-set-hooks, viper-non-hook-settings): Use them.
	(viper-non-hook-settings): Don't hook into find-file any more.

2016-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/vc/ediff-util.el: Use lexical-binding.

	* lisp/progmodes/js.el (js-syntax-propertize): Recognize shebang line.

2016-05-03  Lars Ingebrigtsen  <larsi@gnus.org>

	Add an animation sanity check

	* lisp/image.el (image-multi-frame-p): Give up on animations
	if it seems like they are too slow (bug#23431).

2016-05-03  Lars Ingebrigtsen  <larsi@gnus.org>

	abbrev-tests.el fix

	* test/lisp/abbrev-tests.el (abbrev-table-p-test): Don't check
	internal implementation detail.

2016-05-03  Lars Ingebrigtsen  <larsi@gnus.org>

	(shr-rescale-image): Clarify logic slightly

	* lisp/net/shr.el (shr-rescale-image): Clarify logic slightly.

2016-05-02  Martin Rudalics  <rudalics@gmx.at>

	Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2

	* lisp/wid-edit.el (widget-keymap): Bind `widget-button-click'
	to mouse-1/-2 instead of down-mouse-1/-2.  Suggested by Stefan
	Monnier.  (Bug#19185, Bug#20398)

2016-05-02  Lee Bochicchio  <lboc.home@gmail.com>

	Add more abbrev tests

	* test/lisp/abbrev-tests.el
	(clear-abbrev-table-test): Use `abbrev-expansion'
	(abbrev-table-empty-p-test, list-abbrevs-test)
	(prepare-abbrev-list-buffer-test, insert-abbrevs-test)
	(edit-abbrevs-test, define-abbrevs-test)
	(read-write-abbrev-file-test)
	(abbrev-edit-save-to-file-test): New tests (bug#23139).

2016-05-02  Philipp Stephani  <p.stephani2@gmail.com>  (tiny change)

	Allow eval-ing named character literals

	* lisp/progmodes/elisp-mode.el (elisp--preceding-sexp): Skip over
	named character literals.
	* test/lisp/progmodes/elisp-mode-tests.el
	(elisp--preceding-sexp--char-name): Add test for skipping over
	named character literals (bug#23354).

2016-05-02  Aaron Conole  <aconole@redhat.com>

	Call va_end in boot_error

	* src/gnutls.c (boot_error): A recent change added a function
	to signal an error or return an error code. That function uses
	a variadic argument list to populate an error message
	string. However, it missed calling va_end after using the
	variadic argument list.

	  Copyright-paperwork-exempt: yes

2016-05-02  Aaron Conole  <aconole@bytheb.org>

	Fix the call to set_network_coding_system

	* src/process.c (Fmake_network_process): A recent commit
	modified the set_network_socket_coding_system function to take
	arguments host, service, and name. However, those arguments
	appear to be swapped.

	  Copyright-paperwork-exempt: yes

2016-05-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Revert "alas, a map can have only one parent"

	This reverts commit d05806fda1cbba2db112bc783597fbe9d27175b2.

	This had already been fixed by using `make-composed-map'.  And
	we don't want image-map to inherit from special-mode-map, anyway.

2016-05-02  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	bf21c84 Fix quoting problem in cc-engine debug message
	8f36614 Add electric-quote-string unit test
	6280531 Don’t electrically quote ‘'’ in Python
	fd7b430 `nreverse' Grep hits before passing them to xref--convert-hits

2016-05-02  Sam Steingold  <sds@gnu.org>

	alas, a map can have only one parent

	* lisp/image-mode.el (image-model-map): Cannot have two parents.
	* lisp/image.el (image-map): Inherit from `special-mode-map'.

2016-05-02  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#10085

	* lisp/net/tramp.el (tramp-find-foreign-file-name-handler):
	Add optional arguments OPERATION and COMPETION.  Handle
	`file-name-as-directory', `file-name-directory' and
	`file-name-nondirectory' also in completion mode.
	(tramp-file-name-handler): Use it.  (Bug#10085)

	* test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
	Extend test.

2016-05-01  Martin Rudalics  <rudalics@gmx.at>

	* src/minibuf.c (read_minibuf): Use CONSP instead of Fconsp.

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Tweak .gitignore

	* .gitignore: Remove leim/changed.misc, leim/changed.tit,
	as these files are no longer created.  Add gmon.out, for
	-pg profiling.  Sort.

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Sync from gnulib

	This incorporates:
	2016-05-01 mktime: port to stricter signed overflow checking
	2016-05-01 mktime: speed up DEBUG_MKTIME benchmarks
	2016-05-01 mktime: resurrect DEBUG_MKTIME testing
	2016-05-01 mktime: simplify DEBUG_MKTIME
	2016-05-01 Port mktime_internal offset to unsigned time_t
	2016-04-27 xstrtol: prohibit monstrosities like "1bB"
	2016-04-13 mktime: improve integer overflow checking
	2016-04-13 intprops: check two's complement assumption
	2016-04-13 intprops, mktime, strtol: assume two's complement
	* lib/intprops.h, lib/mktime-internal.h, lib/mktime.c:
	* lib/strtol.c, lib/timegm.c, m4/mktime.m4, m4/std-gnu11.m4:
	Copy from gnulib.

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	c695fb3 ; Spelling fixes
	03750c0 * doc/misc/texinfo.tex: Sync from gnulib.
	42fed3b * lisp/isearch.el (isearch-forward-symbol-at-point): Add isea...

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	d8affa3 Use ‘T *restrict’ proto, not ‘T[restrict]’
	d38d2a8 Fix documentation of 'url-retrieve-synchronously'
	586b213 * lisp/url/url.el (url-retrieve-synchronously): Doc fix.  (Bu...

	# Conflicts:
	#	doc/misc/url.texi
	#	lisp/url/url.el

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	16e5e8e Fix last change to isearch-update (bug#23406)
	b755d98 Autoload cursor-sensor-inhibit (bug#23406)
	b52ebd4 org-map-entries: Fix org-agenda-prepare-buffers call
	86aa409 Followup for last commit in the user manual
	7004459 Improve doc string of 'set-goal-column'
	ccdaf04 Fix the MSDOS build
	ffe701c Remove \= from format string (bug#18190)
	1c58fa1 Fix variable-pitch font on MS-Windows
	c6077bf Restore follow-scroll-up/down to scrolling by the combined si...
	b671e21 Revert unneeded change which harms syntactic parsing.  This f...
	48b24c9 Correct indentation of ids in a C++ enum after a protection k...
	5c3534f * lisp/window.el (window--process-window-list): No-op if no p...
	734fb3a Port dumping to NetBSD with PaX
	0255a70 Don't mistake `for' inside a function for a part of array com...

	# Conflicts:
	#	src/Makefile.in

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	71fb0e0 Improve last change to vc-git-mode-line-string
	6858e77 Todo mode doc bug fix
	e55d0db Fix revision calculation in vc-git-mode-line-string
	ca87b34 ; Fix errant revert ccb75d7
	40bfebe Add Python 3.5 keyword "await"
	fa7886a Add new keywords of Python 3.5
	ccb75d7 Partially revert previous change.
	8ee168a ; * etc/NEWS: Update entry about color fonts on OS X with a w...
	b09ca27 Say why text-quoting-style is not a user option

2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	5a952eb Don't mention ~/.emacs.bmk literally in doc strings
	c338cf3 * etc/NEWS: Explain why multicolor font display is disabled o...
	c30d1b4 Port to Ubuntu 16.04 --enable-gcc-warnings

2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention the `find-library-name' changes

2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix text in menu in minor-mode-menu-from-indicator

	* lisp/mouse.el (minor-mode-menu-from-indicator): Don't
	capitalize "Off" in "Turn Off" (bug#11028).

2016-05-01  David Engster  <deng@randomsample.de>

	gitmerge: Add cherry pick to gitmerge-skip-regexp

	* gitmerge.el (gitmerge-skip-regexp): Add "cherry picked from commit",
	  which is the string appended by 'git cherry-pick -x'.

2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow `global-set-key' to bind keys under the `M-o' map

	* lisp/subr.el (global-set-key): Allow binding keys under the
	`M-o' map (bug#9730).

2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Add `size-indication-mode' to the menu on `mouse-1' "Top"

	* lisp/bindings.el (mode-line-column-line-number-mode-map):
	Add `size-indication-mode' to the menu (bug#5727).

2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow finding libraries loaded manually outside the load-path

	* lisp/emacs-lisp/find-func.el (find-library--from-load-path):
	New function to find a library from a load path (bug#5661).
	(find-library-name): Use it.

	There are so many combinations of inputs and possibly entries in
	`load-history' that the code looks like an entry in a code obfuscation
	contest.  If anybody has a better implementation, please substitute.

	But remember that the input given may be foo, foo.el, foo.elc, and the
	entries in load-history may be foo.el, foo.elc and foo.el.gz, and we
	want to return only foo.el and foo.el.gz.  *phew*

2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow minibuffer prompts to use faces

	* doc/lispref/minibuf.texi (Text from Minibuffer): Document
	`minibuffer-prompt-properties' and explain how faces work in
	the minibuffer prompt.

	* src/minibuf.c (read_minibuf): If `face' is in
	`minibuffer-prompt-properties', apply it to the end of the
	face list to allow users to have their own faces on the
	prompts (bug#16136).

2016-05-01  Peter Feigl  <peter.feigl@nexoid.at>  (tiny change)

	Add R7RS syntax forms to scheme.el

	* lisp/progmodes/scheme.el (scheme-font-lock-keywords-2): Add
	a number of special forms introduced in R7RS-small.
	* lisp/progmodes/scheme.el (scheme-indent-function): Same.

2016-05-01  Alan Third  <alan@idiocy.org>

	Implement horizontal scroll bars on NS

	* lisp/scroll-bar.el (horizontal-scroll-bars-available-p): Remove NS
	check.
	* lisp/term/ns-win.el: Remove custom NS scroll-bar handlers and bind
	scroll-bar mouse clicks to standard handlers.
	* src/nsterm.h (EmacsScroller): Add 'horizontal' property and rename
	pixel_height to pixel_length.
	* src/nsterm.m (x_set_window_size): Remove left-hand scroll-bar code. It
	caused scroll-bars to be over-drawn and the best working solution
	appears to be complete removal.
	(ns_set_horizontal_scroll_bar): Rewrite to handle horizontal scrollers
	correctly.
	(ns_set_vertical_scroll_bar): Set width to actual scroller width.
	(setFrame): Handle horizontal case.
	(dealloc): Handle horizontal case.
	(judge): Handle horizontal case.
	(setPosition): Rename pixel_height to pixel_length.
	(sendScrollEventAtLoc): Handle horizontal case.
	(mouseDown): Handle horizontal case and general tidy up of code.
	(mouseDragged): Handle horizontal case. Call sendScrollEventAtLoc with
	absolute pixel size instead of ratio.
	* src/window.h: Remove NS check.

2016-05-01  Michael Albinus  <michael.albinus@gmx.de>

	tramp.texi: Revert last change due to backward compatibility

2016-04-30  Paul Eggert  <eggert@cs.ucla.edu>

	Fix the buffer-count patch (Bug#23394)

	* src/buffer.c (Fgenerate_new_buffer_name): Increment count just
	once each time through the loop.  Reported by Lars Ingebrigtsen in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00918.html

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	cua-prefix-override-inhibit-delay doc fix

	* lisp/emulation/cua-base.el
	(cua-prefix-override-inhibit-delay): Typo fix in doc string
	(bug#23401).

2016-04-30  Paul Eggert  <eggert@cs.ucla.edu>

	Fix generate-new-buffer-name increment typo

	Problem reported by Chaitanya Koparkar (Bug#23394).
	* src/buffer.c (Fgenerate_new_buffer_name): Increment count when
	generating a new buffer.  This fixes a typo I introduced in
	2014-04-05T00:04:58Z!eggert@cs.ucla.edu.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	global-eldoc-mode doc fix

	* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
	specific about what "applicable" means (bug#23071).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the legend in describe-categories a link

	* lisp/help-fns.el (describe-categories): Make the "see
	bottom" text a link (bug#22227).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	normal-top-level-add-subdirs-to-load-path doc fix

	* lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
	Doc fix (bug#21962).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	isearch-search-fun-function doc tweak

	* lisp/isearch.el (isearch-search-fun-function): Mention what
	the STRING parameter is (bug#21552).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fill some imenu--index-alist doc lines

	* lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Make describe-variable look up the variable in the current buffer

	* lisp/help-fns.el (describe-variable): Get the variable
	definition in the buffer we were called from (in case it only
	exists there) (bug#21252).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fmarker_position doc string clarification

	* src/marker.c (Fmarker_position): Clarify the doc string
	(bug#21231).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Further define-obsolete-* doc fixups

	* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
	Fix up last change.
	(define-obsolete-variable-alias): Ditto.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Describe WHEN in all the define-obsolete- macros

	* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
	Say more verbosely what WHEN is (bug#21225).
	(define-obsolete-function-alias): Describe the WHEN parameter.
	(define-obsolete-variable-alias): Ditto.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention with-silent-modifications in the lispref manual

	* doc/lispref/text.texi (Changing Properties): Document
	with-silent-modifications (bug#21171).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	with-silent-modifications doc clarification

	* lisp/subr.el (with-silent-modifications): Rearrange the doc
	string a bit so that the most pertinent information is at the
	top (bug#21171).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	clear-visited-file-modtime doc string fix

	* lisp/files.el (clear-visited-file-modtime): Fix possibly
	confusing doc string wording (bug#21169).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Document mode mode line variables

	* doc/lispref/modes.texi (Mode Line Variables): Document
	`mode-line-front-space, `mode-line-misc-info',
	`mode-line-end-spaces' (bug#21014).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a cross ref to Optional Mode Line

	* doc/lispref/modes.texi (Mode Line Variables): Add a cross
	reference to the Emacs mode line node that explains things
	like `display-time-string' (bug#21002).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a doc string to display-time-string

	* lisp/time.el: Add a doc string to `display-time-string',
	because it's referred to in the manual, and is too mysterious
	otherwise (bug#21002).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	custom-buffer-style doc fix

	* lisp/cus-edit.el (custom-buffer-style): Document the `tree'
	value (bug#20724).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Document how to check for ImageMagick support

	* doc/lispref/display.texi (ImageMagick Images): Say how to
	check for ImageMagick support, which isn't quite obvious
	(bug#20702).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Minor doc fix for ImageMagick/SVG builds

	* doc/lispref/display.texi (SVG Images): Don't imply that you
	have to build Emacs yourself (bug#20702).
	(ImageMagick Images): Ditto.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Rearrange the doc of query-replace slightly

	* lisp/replace.el (query-replace): Move the mention of the
	interactive prefix arg earlier so that users can find it
	(bug#20654).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	apropos-print doc fix

	* lisp/apropos.el (apropos-print): Document the undocumented
	parameters (bug#20520).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	completion-table-with-predicate doc string fix

	* lisp/minibuffer.el (completion-table-with-predicate): t ->
	non-nil in the doc string (bug#20460).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fill the completion-table-with-predicate doc string

	* lisp/minibuffer.el (completion-table-with-predicate): Fill
	the doc string (bug#20460).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	replace-match-maybe-edit doc clarification

	* lisp/replace.el (replace-match-maybe-edit): Say what
	MATCH-DATA is (bug#20304).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	add-timeout doc fix

	* lisp/emacs-lisp/timer.el (add-timeout): Mention the return
	value (bug#20181).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Extremely minor doc fix in Choosing Window

	* doc/lispref/windows.texi (Choosing Window): There's only one
	action alist, I think (bug#20158).

2016-04-30  Alan Mackenzie  <acm@muc.de>

	* .dir-locals:  Amend for correct fontification of *.[ch] containing "IF_LINT"

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Transform mentions of `eval-after-load' to `with-eval-after-load'

	* doc/lispref/loading.texi (Hooks for Loading): Update text to
	not mention `eval-after-load' (bug#20038).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	cursor-type doc fix

	* src/buffer.c (syms_of_buffer): Mention that cursor-type's
	WIDHT/HEIGHT can't exceed the frame char size (bug#19215).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a link from Tool Bar to Images

	* doc/lispref/keymaps.texi (Tool Bar): Add a link to the
	Images node (bug#19722).

2016-04-30  Alan Mackenzie  <acm@muc.de>

	CC Mode: Recognize a noise macro with parens after a declarator's identifier

	* lisp/progmodes/cc-engine (c-forward-decl-or-cast-1): In the while loop
	following comment "Skip over type decl suffix operators." insert code also
	to check for noise macros with parentheses.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	(default-mode-line-format): More explicit obsolete info

	* lisp/subr.el (default-mode-line-format): Be more explicit in
	how default values are now handled (bug#19424).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fcompare_buffer_substrings doc string clarification

	* src/editfns.c (Fcompare_buffer_substrings): Extremely minor
	doc string clarification (bug#19255).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	insert-file-contents-literally doc fix

	* lisp/files.el (insert-file-contents-literally): Say that the
	parameters are explained in the other function (bug#18317).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix custom types for cursor-in-non-selected-windows

	* lisp/cus-start.el (standard): Use the same custom types for
	cursor-in-non-selected-windows as for cursor-type (bug#19214).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc clarification to mwheel-scroll

	* lisp/mwheel.el (mwheel-scroll): Mention that the restriction
	does not apply to Windows (bug#19209).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify the doc of eval-expression-print-format

	* lisp/simple.el (eval-expression-print-format): Doc
	clarification (bug#19114).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	(extended-command-suggest-shorter): Add a version string

	* lisp/simple.el (extended-command-suggest-shorter): Add a
	version string.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Document extended-command-suggest-shorter

	* doc/emacs/m-x.texi (M-x): Mention
	extended-command-suggest-shorter (bug#19152).

2016-04-30  Ivan Shmakov  <ivan@siamics.net>

	Add a variable to control "shorter command" suggestions

	* lisp/simple.el (extended-command-suggest-shorter): New variable (bug#19152).
	(execute-extended-command): Use it.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Explictly explain that package-initialize loads the packages

	* lisp/emacs-lisp/package.el (package-initialize): Be explicit
	in saying that `package-initialize' obviates adjusting the
	path or requiring the packages, as this is a question that
	apparently comes up now and then (bug#18829).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Have the doc strings of `load-path' and `require' mention each other

	* src/fns.c (Frequire): Mention `load-path' and fill the doc
	string (bug#18829).

	* src/lread.c (syms_of_lread): Mention that `require' uses
	`load-path'.

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix for insert-pair-alist

	* lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
	COMMAND-CHAR is (bug#18809).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Move doc of backup-directory-alist to the Backup node

	* doc/emacs/files.texi (Backup): Move the documentation of
	`backup-directory-alist' here from the "Single or Numbered
	Backups" node, because it doesn't seem to have much to do with
	numbering (bug#18692).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Tiny doc clarification for create-fontset-from-fontset-spec

	* lisp/international/fontset.el (create-fontset-from-fontset-spec):
	Clarify what the optional part is (bug#18686).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fill the doc string of font-lock-keywords

	* lisp/font-lock.el (font-lock-keywords): Fill the lines and
	reorganise some explanations (bug#21427).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix for font-lock-remove-keywords

	* lisp/font-lock.el (font-lock-remove-keywords): Add a link to
	`font-lock-add-keywords' to describe KEYWORDS (bug#18634).

2016-04-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify whitespace-style doc string

	* lisp/whitespace.el (whitespace-style): Doc clarification
	(bug#18296).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	No need to test for jka-compr

	* lisp/vc/ediff-util.el (ediff-file-compressed-p): jka-compr
	is always available; no need to test (bug#18204).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fixed for next-error-buffer-p

	* lisp/simple.el (next-error-buffer-p): Clarify doc string
	(bug#18202).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Tiny doc fix

	* src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
	(and fill) (bug#18201).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix

	* src/keymap.c (Fdefine_prefix_command): Clarify doc string
	slightly (bug#18092).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	delsel doc touch ups

	* lisp/delsel.el (delete-selection-helper): Use non-nil
	instead of t and clarify function return values (bug#18089).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fixes for menu-bar.el

	* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
	REGION parameter (bug#18028).
	(clipboard-kill-region): Ditto.

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix

	* lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Minor doc clarification

	* lisp/subr.el (y-or-n-p): Document the return value from "n"
	(bug#18024).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Fill font-lock-mode doc string

	* lisp/font-core.el (font-lock-mode): Fill the text to make it
	narrower (bug#18008).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Wrap the auto-generated doc string

	* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
	string to make it less likely that we get overlong lines
	(bug#17999).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify hi-lock-find-patterns

	* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
	(bug#17989).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Warning fix in jit-lock-mode

	* lisp/jit-lock.el (jit-lock-mode): Don't issue a warning when
	turning the mode on in an indirect buffer, if this somehow has
	happened (bug#17738).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a doc string to `winner-mode'

	* lisp/winner.el (winner-mode): Add a doc string based on the
	comments in the file (bug#17716).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix for align-newline-and-indent

	* lisp/align.el (align-newline-and-indent): Mention that
	alignment is done by `align' (bug#17707).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Cancel the eldoc timer when switching off eldoc mode

	* lisp/emacs-lisp/eldoc.el (eldoc-mode): Cancel the eldoc
	timer when switching off eldoc mode.  It will be restarted
	again if needed (bug#17582).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix for `kbd'

	* lisp/subr.el (kbd): Describe more fully the format of the
	parameter (bug#17039).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a sanity check to apropos-documentation-internal

	* lisp/apropos.el (apropos-documentation-internal): Add a
	sanity check to be less fragile in the presence of invalid
	data (bug#16725).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc tweak

	* lisp/simple.el (use-empty-active-region): Doc tweak.
	There's only one region (bug#16513).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify `read-face-name' doc and tweak the code

	* lisp/faces.el (read-face-name): Clarify the documentation
	and allow a mix of faces and faces names in all cases
	(bug#16483).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove ": ?" from the read-face-name prompt

	* lisp/faces.el (read-face-name): Remove ": ?" from the prompt
	to be more backwards compatible (bug#15909).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Link from (emacs)Exiting to (lisp)Killing Emacs

	* doc/emacs/entering.texi (Exiting): Link to the lispref
	manual for further customisations (bug#15445).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	find-lisp doc touchups

	* lisp/find-lisp.el (find-lisp-format): Copy over the doc
	string (bug#15047).
	(find-lisp-find-files): Clarify doc.

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't have the manual claim that it lists all CL incompatibilities

	* doc/misc/cl.texi (Common Lisp Compatibility): The list of
	incompatibilities isn't exhaustive, so don't say that it is
	(bug#15171).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix call of `kmacro-display'

	* lisp/kmacro.el (kmacro-view-ring-2nd): Fix call of
	`kmacro-display' (bug#15020).

2016-04-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"

	* doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
	"mouse-[0-9]".  These are case sensitive, and the keys are lower case
	(bug#14554).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Rename "Directory Search" menu to "Servers"

	* lisp/menu-bar.el (menu-bar-tools-menu): Rename "Directory
	Search" to "Directory Servers".  Suggested by Eli
	Zaretskii. (bug#14919).

	* lisp/net/eudc.el: Rename ditto throughout.

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove uses of the unused to-end parameter from simple.el

	* lisp/simple.el (line-move-partial): Remove usages of the
	unused to-end parameter, and make it optional (bug#14844).
	(line-move): Remove use of the unused to-end parameter.

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fix: _ chars are automatically removed.

	* lisp/cus-edit.el (custom-buffer-create): _ chars are
	automatically removed when displaying help, so fix the last
	doc change.
	(custom-buffer-create-other-window): Ditto.

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc string change to enable-recursive-minibuffers

	* src/minibuf.c (syms_of_minibuf): Mention
	minibuffer-depth-indicator-mode in the doc string to
	enable-recursive-minibuffers (bug#14147).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix definition of nobreak-space

	* lisp/faces.el (nobreak-space): The definition to
	nobreak-space was inadvertantly changed by the previous checkin.

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify the `interactive' doc string slightly

	* src/callint.c (Finteractive): Clarify the doc string slightly
	  (bug#14577).

2016-04-28  Drew Adams  <drew.adams@oracle.com>

	Make icomplete respect `completion-ignored-extensions'

	* lisp/icomplete.el (icomplete-completions): Heed
	`completion-ignored-extensions' (bug#12939).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Make ibuffer not break on newline-embedded buffer names

	* lisp/ibuffer.el (name): When buffer names contain newlines,
	quote those newlines before displaying (bug#12378).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a new face for non-breaking hyphen characters

	* doc/emacs/display.texi (Standard Faces): Mention nobreak-hyphen.
	(Text Display): Ditto.

	* lisp/faces.el (nobreak-hyphen): New face (bug#12048).

	* src/xdisp.c (get_next_display_element): Use it instead of
	the escape-glyph face.

	* src/xdisp.c (syms_of_xdisp): New symbil Qnobreak_hyphen.

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Make a menu less ambiguous

	* doc/emacs/custom.texi (Key Bindings): The Modifier Keys node
	is about using modifier keys, not binding them (bug#10942).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Make kill-emacs-query-functions into defcustom

	* lisp/files.el (save-buffers-kill-terminal): Mention
	`save-buffers-kill-emacs' (bug#10794).
	(kill-emacs-query-functions): Made into a defcustom.

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Have describe-variable output multi-line values better

	* lisp/help-fns.el (describe-variable): When printing
	multi-line expressions, display them prettier (bug#10723).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up custom-buffer-create code slightly

	* lisp/cus-edit.el (custom-buffer-create-other-window): Don't
	pass the unused description value on (for clarity) (bug#10540).
	(custom-buffer-create): Ditto

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify some doc strings

	* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
	Clarify doc string (bug#8693).
	(syntax-propertize): Clarify doc string.

2016-04-28  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	Fix number-at-point in lisp buffers

	* lisp/thingatpt.el (number-at-point): Don't say that things
	like ?a are numbers in lisp mode buffers (bug#8634).

2016-04-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't consider colons to be paragraphs starting chars in strings

	* lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't
	consider colons to start paragraphs in (doc) strings
	(bug#7751).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Make `undo' of `C-x r t' put point where it should be

	* lisp/rect.el (string-rectangle): Make `undo' of a this
	command put point back where it was (bug#7522).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Add some concept index entries for custom types

	* doc/lispref/customize.texi (Composite Types): Add concept
	index entries for restricted-sexp, radio and choice (bug#7385).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention `lisp-indent-function' in the lispref manual

	* doc/lispref/macros.texi (Indenting Macros): Mention
	`lisp-indent-function' (bug#3393).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify doc string of internal compilation function

	* lisp/progmodes/compile.el (compilation-get-file-structure):
	Clarify doc string (bug#3137).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid having `C-x h' mark the prompt part of the minibuffer

	* lisp/simple.el (mark-whole-buffer): Don't mark the prompt
	part of the minibuffer (bug#2589).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow a prefix argument to find-library to pop to a different window

	* lisp/emacs-lisp/find-func.el (find-library): Allow a prefix
	argument to pop to a different window (bug#2270).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Move the diff command to "Operate" in ibuffer

	* lisp/ibuffer.el (ibuffer-mode-operate-map): Move the diff
	command to the "Operate" menu, and remove the customisation
	entry to make the "View" menu more logical (bug#1150).

2016-04-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the minor modes in help buffers into buttons

	* lisp/help.el (describe-mode): Make the minor modes into
	buttons to enable easier documentation traversal (bug#1149).

2016-04-27  Jorgen Schaefer  <contact@jorgenschaefer.de>

	Add a number of Python 3 exceptions

	* lisp/progmoes/python.el (python-font-lock-keywords): Clean up the exception
	list, adding a number of new Python 3 exceptions and moving some exceptions
	to the Python 2 and 3 list as Python 2.7 includes them.

2016-04-26  Anders Lindgren  <andlind@gmail.com>

	Fix bug#22891: wrong terminal width when a fringe width is zero.

	When either fringe width is zero, Emacs reserved one column for a
	continuation glyph. Terminal windows does not take this into
	account when the frame is resized.

	* lisp/window.el (window-adjust-process-window-size): Use
	`window-max-chars-per-line' instead of `window-body-width'.
	* lisp/term.el (term-window-width): Remove function. (It does the
	same as `window-max-chars-per-line' but without recent bug fixes.)
	(term-mode): Use `window-max-chars-per-line' instead of
	`term-window-width'.

2016-04-26  Simen Heggestøyl  <simenheg@gmail.com>

	Add completion of `calc()' in CSS mode

	* lisp/textmodes/css-mode.el (css-value-class-alist): Add `calc()' as
	a completion candidate for several value classes.
	(css--value-class-lookup): Return only unique results.

	* test/lisp/textmodes/css-mode-tests.el
	(css-test-property-values-no-duplicates)
	(css-test-value-class-lookup): Update to reflect the above changes.

2016-04-26  Paul Eggert  <eggert@cs.ucla.edu>

	Fix socketd fd startup bug that I introduced

	Problem reported by Matthew Leach in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00778.html
	* src/emacs.c (main): Indicate more clearly the coupling between
	the --daemon option and init_process_emacs.
	* src/lisp.h: Adjust to API changes.
	* src/process.c (set_external_socket_descriptor):
	Remove, replacing by ...
	(init_process_emacs): ... passing the socket FD here instead.
	All uses changed.

2016-04-25  Tao Fang  <fangtao0901@gmail.com>

	Fix: (void-variable url-http-response-status)

	* lisp/url/url-http.el
	(url-https-proxy-after-change-function): Display the error
	message before doing the callback to avoid a void variable
	situation (bug#23290).

2016-04-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	smtpmail would say it's done before it is

	* lisp/mail/smtpmail.el (smtpmail-via-smtp): Move the sending
	of the data end marker from here... (bug#23020).
	(smtpmail-send-data): ... to here, so that we don't get a
	"Sending done" before we've sent the final "." (which can make
	the SMPT server reject the email.

2016-04-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	`url-retrieve-synchronously' now takes an optional timeout parameter

	* doc/misc/url.texi (Retrieving URLs): Document optional parameters.

	* lisp/url/url.el (url-retrieve-synchronously): Allow passing
	in a timeout parameter (bug#22940).

2016-04-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Include "Retype" as a comint password prompt

	* lisp/comint.el (comint-password-prompt-regexp): Include
	"Retype" to catch "Retype password for [account]:" from the
	"pass" utility (bug#22942).

2016-04-25  Alan Mackenzie  <acm@muc.de>

	Fix spurious fontification of "for (; a * b;)" in CC Mode.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Check for being
	inside the parens of a for statement and after a semicolon near the beginning
	of the lambda form.

2016-04-25  Paul Eggert  <eggert@cs.ucla.edu>

	New function ‘char-from-name’

	This also fixes the mishandling of "\N{CJK COMPATIBILITY
	IDEOGRAPH-F900}", "\N{VARIATION SELECTOR-1}", etc.
	Problem reported by Eli Zaretskii in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00614.html
	* doc/lispref/nonascii.texi (Character Codes), etc/NEWS: Document this.
	* lisp/international/mule-cmds.el (char-from-name): New function.
	(read-char-by-name): Use it.  Document that "BED" is treated as
	a name, not as a hexadecimal number.  Reject out-of-range integers,
	floating-point numbers, and strings with trailing junk.
	* src/lread.c (character_name_to_code): Call char-from-name
	instead of inspecting ucs-names directly, so that we handle
	computed names like "VARIATION SELECTOR-1".  Do not use an auto
	string, since char-from-name might GC.
	* test/src/lread-tests.el: Add tests for new behavior, and
	fix some old tests that were wrong.

2016-04-25  Alan Mackenzie  <acm@muc.de>

	c-forward-<>-arglist no longer directly applies face properties in Java Mode.

	This allows the calling of c-restore-<>-properties from c-common-init without
	the test suite giving spurious errors.

	* lisp/progmodes/cc-engine.el (c-forward-<>-arglist): Remove the form that
	sets face properties.
	(c-forward-<>-arglist-recur): Reformulate the bit that handles types inside
	template brackets using c-inside-<>-type-key.  Don't bind
	c-record-type-identifiers or c-record-found-types around the recursive call,
	allowing positions of found types to flow back to the caller.

	* lisp/progmodes/cc-langs.el (c-inside-<>-type-kwds, c-inside-<>-type-key):
	new lang consts/var.

	* lisp/progmodes/cc-mode.el (c-common-init): Don't remove
	c-restore-<>-properties from the list of functions called at mode
	initialization.

2016-04-25  Jun Hao  <jun_hao@aol.com>

	Pass in port only if provided by caller in the OS X keychain

	* lisp/auth-source.el (auth-source-macos-keychain-search): Pass in
	port only if provided (bug#23374).

2016-04-25  Alan Mackenzie  <acm@muc.de>

	Add fontification for a C declaration which looks like a function call.

	For example, "t1 *fn (t2 *b);".

	* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add new variable
	at-decl-start, setting it to whether the putative decl starts immediately
	after ; or { or }.  Accept such a construct as a decl when at-decl-start is
	non-nil.

	* lisp/progmodes/cc-langs.el (c-pre-start-tokens): New language variable.

2016-04-25  Eli Zaretskii  <eliz@gnu.org>

	Don't mirror slashes in convert-standard-filename on MS-Windows

	* lisp/w32-fns.el (w32-convert-standard-filename): Don't mirror
	slashes into backslashes.  This avoids producing ugly file names,
	and is deemed no longer necessary, and should certainly be
	unrelated to which shell is in use.

2016-04-24  Dmitry Gutov  <dgutov@yandex.ru>

	Revert the disputed VC change and update the tests

	* lisp/vc/vc-hooks.el (vc-working-revision):
	Remove the previous change.
	(vc-state): Same.  And update the old, incorrect comment about
	unregistered files
	(http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00526.html).

	* test/lisp/vc/vc-tests.el (vc-test--state): Remove the check
	calling `vc-state' on default-directory (VC state is undefined
	for directories).  Check that `vc-state' returns nil where it
	returned `unregistered' before.  Remove all checks comparing
	invocations with the backend passed in explictly and without.
	(vc-test--working-revision): Remove all checks comparing
	invocations with the backend passed in explictly and without.
	Update comments, and add a new one.

2016-04-24  Paul Eggert  <eggert@cs.ucla.edu>

	* etc/NEWS: Grammar and punctuation improvements.

2016-04-24  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9daf1cf * etc/NEWS: Improve wording of vc-git-log-output-coding-syste...
	0cd2e92 Don't kill ~/ if it's the top level directory
	4f40f5f describe-char: fix insert char documentation
	87ee542 (vc-git-mode-line-string): Don't use `replace-regexp-in-string'

2016-04-24  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	960f90d * etc/AUTHORS: Update the AUTHORS file
	b21e9d4 * admin/update_autogen: Use #!/usr/bin/env bash

2016-04-24  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	78f9af7 ; ChangeLog fixes
	162e549 * admin/authors.el (authors-ignored-files): Additions.
	2b31a0c In x_set_window_size restore do_pending_window_change calls
	401857e Fix Alt-modified keys on some European MS-Windows keyboards
	a77cf24 Document 'help-go-forward'
	1ba947f Revert "Allow to customize names of executables used by grep.el"
	570e0fa Revert "Don't use 'find-program'"
	645f4ef Revert "Use 'grep-find-program' in check-declare.el"
	aa03257 Clarify documentation of 'dired-mark-files-containing-regexp'
	ce0d8c7 Make tmm-menubar work in correct order again
	b8d5a8f Remove the Meta-CVS VC backend

2016-04-24  Simen Heggestøyl  <simenheg@gmail.com>

	Don't let `css--property-values' return duplicates

	* lisp/textmodes/css-mode.el (css--property-values): Don't return
	duplicate values.

	* test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
	Take the above into account.
	(css-test-property-values-no-duplicates): Test that duplicates aren't
	returned by `css--property-values'.

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Call `make-composed-keymap' correctly

	* lisp/image-mode.el (image-mode-map): Call
	`make-composed-keymap' correctly.

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Use `make-composed-keymap' instead of copying the keymap

	* lisp/image-mode.el (image-mode-map): Use
	`make-composed-keymap' instead of copying the keymap.

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Make `q' etc work in image mode again

	* lisp/image-mode.el (image-mode-map): Restore
	special-mode-map as the parent keymap of image-mode-map (bug#23167).

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Fix typo in last url.texi checkin

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Make STARTTLS error messages better

	* lisp/net/network-stream.el (network-stream-open-starttls):
	Output a better error message when TLS negotiation fails while
	doing STARTTLS (bug#23027).

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Encode the shr tests files with trailing white space

2016-04-24  Simen Heggestøyl  <simenheg@gmail.com>

	Cache results of `css--property-values'

	* lisp/textmodes/css-mode.el (css--property-values): Cache computed
	values.

	* test/lisp/textmodes/css-mode-tests.el (css-test-property-value-cache):
	New regression test for the above.

2016-04-24  Michael Albinus  <michael.albinus@gmx.de>

	Some improvements in vc

	* lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
	Check, whether FILE is registered.

	* lisp/vc/vc-rcs.el (vc-rcs-checkout-model): Return `locking'
	for nonexistent files.

	* test/lisp/vc/vc-tests.el (w32-application-type): Declare.
	(vc-test--revision-granularity-function)
	(vc-test--unregister-function): Use `vc-call-backend'.
	(vc-test--run-maybe-unsupported-function): New defmacro.
	(vc-test--register, vc-test--state, vc-test--working-revision)
	(vc-test--checkout-model): Use it.  Fix also expected results.
	(vc-test-src02-state, vc-test-rcs04-checkout-model): They pass now.

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Document the nil/default values of url-user-agent

	* doc/misc/url.texi (Customization): Document the nil/default
	values of url-user-agent.

2016-04-24  Clément Pit--Claudel  <clement.pit@gmail.com>

	Compute User-Agent dynamically in url-http

	* url-http.el (url-http-user-agent-string): Compute User-Agent
	string dynamically.
	(url-http--user-agent-default-string): New function.

	* url-vars.el (url-privacy-level): Allow `emacs' in list of
	information not to send.
	(url-user-agent): Add nil and `default' options; do not
	pre-compute value.

2016-04-24  Jun Hao  <jun_hao@aol.com>

	Handle auth-source items with special characters on OS X

	* lisp/auth-source.el
	(auth-source-macos-keychain-search-items): Handle keychain
	output correctly when has special chararcters (bug#22824).

2016-04-24  Magnus Henoch  <magnus.henoch@gmail.com>

	Implement process-attributes for Darwin

	* src/sysdep.c (timeval_to_timespec, make_lisp_timeval)
	(system_process_attributes): Implement process-attributes
	for Darwin (bug#16579).

2016-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Use Unicode literals instead of hex values

	* lisp/net/shr.el (shr-tag-bdo): Use Unicode literals instead
	of hex values for greater readability.
	(shr-tag-bdi): Ditto.

2016-04-24  Steve Purcell  <steve@sanityinc.com>

	Allow _ characters in SQL prompts

	* lisp/progmodes/sql.el (sql-product-alist): Allow _
	characters in SQL prompts (bug#22596).

	Fixes issue 22596, whereby "_" is now not considered a word constituent
	character in sql-interactive-mode, so prompts like "foo_dev# " are not
	correctly detected. Rather than piggy-back on the symbol table, we
	explicitly match against alphanumeric chars or "_".

2016-04-23  Glenn Morris  <rgm@gnu.org>

	When autoload-timestamps is nil, use a dummy timestamp rather than "t".

	* lisp/emacs-lisp/autoload.el (autoload--non-timestamp): New constant.
	(autoload-generate-file-autoloads, autoload-find-destination)
	(update-directory-autoloads): Use autoload--non-timestamp.

2016-04-23  Glenn Morris  <rgm@gnu.org>

	* test/lisp/xt-mouse-tests.el: Move from test/automated/.

2016-04-22  Jö Fahlke  <jorrit@jorrit.de>  (tiny change)

	Regexps for matching CMake output

	* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add
	regexps for matching CMake output.
	* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add
	CMake test cases.
	* etc/compilation.txt (CMake): Add CMake examples.

2016-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):

	Fix docstring quotes.

2016-04-21  Paul Eggert  <eggert@cs.ucla.edu>

	Improve character name escapes

	* doc/lispref/nonascii.texi (Character Properties):
	Avoid duplication of Unicode names.  Reformat examples to fit in
	narrow pages.
	* doc/lispref/objects.texi (General Escape Syntax):
	Simplify and better-organize explanation of \N{...} escapes.
	* src/character.h (CHAR_SURROGATE_PAIR_P): Remove; unused.
	(char_surrogate_p): New inline function.
	* src/lread.c: Do not include string.h; no longer needed.
	(invalid_character_name, check_scalar_value): Remove; the ideas
	behind these functions are now bundled into character_name_to_code.
	(character_name_to_code): Remove undocumented support for "CJK
	IDEOGRAPH-XXXX" names, as "U+XXXX" suffices.  Reject monstrosities
	like "\N{U+-0}" and null bytes in \N escapes.  Reject floating
	point in \N escapes instead of returning garbage.  Use
	AUTO_STRING_WITH_LEN to lessen pressure on the garbage collector.
	* test/src/lread-tests.el (lread-char-number, lread-char-name)
	(lread-string-char-number, lread-string-char-name):
	Test runtime behavior, not compile-time, as the test framework
	is not set up to test compile-time.
	(lread-char-surrogate-1, lread-char-surrogate-2)
	(lread-char-surrogate-3, lread-char-surrogate-4)
	(lread-string-char-number-2, lread-string-char-number-3):
	New tests.
	(lread-string-char-number-1): Rename from lread-string-char-number.

2016-04-21  Philipp Stephani  <phst@google.com>

	Use 'ucs-names' for character name escapes

	* lread.c (invalid_character_name, check_scalar_value)
	(parse_code_after_prefix, character_name_to_code): New helper
	functions that use 'ucs-names' and parsing for CJK ideographs.
	(read_escape): Use helper functions.
	(syms_of_lread): New symbol 'ucs-names'.
	* test/src/lread-tests.el: New tests; fix a couple of bugs in
	existing tests.

2016-04-21  Philipp Stephani  <phst@google.com>

	Minor cleanups for character name escapes

	* src/lread.c (init_character_names): Add missing 'void'.
	Remove top-level 'const'.
	(read_escape): Simplify loop a bit.  Remove top-level 'const'.

2016-04-21  Philipp Stephani  <phst@google.com>

	Add documentation for character name escapes

2016-04-21  Philipp Stephani  <phst@google.com>

	Implement named character escapes, similar to Perl

	* lread.c (init_character_names): New function.
	(read_escape): Read Perl-style named character escape sequences.
	(syms_of_lread): Initialize new variable 'character_names'.
	* test/src/lread-tests.el (lread-char-empty-name): Add test file
	for src/lread.c.

2016-04-21  Fabrice Popineau  <fabrice.popineau@gmail.com>

	Avoid run-time dependency on libwinpthread DLL on MS-Windows

	* nt/mingw-cfg.site (ac_cv_search_clock_gettime)
	(ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not
	present, so that MinGW64 builds don't depend on libwinpthread.
	(Bug#22959)

2016-04-21  Matthew Leach  <matthew@mattleach.net>

	Add LIBSYSTEMD to the list of supported features

	* configure.ac: Add LIBSYSTEMD to EMACS_CONFIG_FEATURES and print a
	message at the end of configure stating whether Emacs will be build
	with libsystemd support.

2016-04-21  Vasilij Schneidermann  <v.schneidermann@gmail.com>

	Support absolute column movement in 'ansi-term'

	* lisp/term.el (term-handle-ansi-escape): Handle the "\E[G" sequence
	for absolute column movement.  (Bug#23303)

2016-04-21  Jorgen Schaefer  <contact@jorgenschaefer.de>

	Add Python 3.5 keyword "await"

	* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
	keyword.

2016-04-20  Simen Heggestøyl  <simenheg@gmail.com>

	Add "keyframes" to list of CSS at-rules

	* lisp/textmodes/css-mode.el (css-at-ids): Add "keyframes" at-rule.

2016-04-20  Phillip Lord  <phillip.lord@russet.org.uk>

	Prevent bootstrap autoload backup files

	 * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress
	   backups in newly created file.

	  (autoload-ensure-default-file): Function split into two.
	  (autoload-ensure-file-writeable): New function from split.

	  (Bug#23203)

2016-04-20  Paul Eggert  <eggert@penguin.cs.ucla.edu>

	Fix org-timestamp-change typo

	Problem reported by Peter Münster (Bug#23299).
	* lisp/org/org.el (org-timestamp-change): Fix typo that relied
	on undocumented behavior in ‘encode-time’.  In practice the
	old code used local time, so use that.

2016-04-19  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid AC_PREPROC_IFELSE glitch in configure.ac

	Problem reported by Angelo Graziosi in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00545.html
	* configure.ac (gl_gcc_warnings): Work around an Autoconf glitch:
	AC_PREPROC_IFELSE doesn’t generate a simple shell command.

2016-04-19  Michael Albinus  <michael.albinus@gmx.de>

	autorevert: Resume with polling if file is deleted

	* lisp/autorevert.el: Use consistent wording in comments and
	docstrings.
	(auto-revert-mode): Add local function to `kill-buffer-hook'.
	(auto-revert-notify-handler): Improve handling of `stopped' event.

	* test/lisp/autorevert-tests.el
	(auto-revert-test02-auto-revert-deleted-file): New test.
	(auto-revert-test03-auto-revert-tail-mode)
	(auto-revert-test04-auto-revert-mode-dired): Rename them.

2016-04-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	5a0cbe5 Fix Bug#23276
	2007e32 Sync with upstream vhdl mode v3.38.1.
	b6d2552 Tweak configure.ac syntax in recent module patch

2016-04-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	ac00a92 Make sh-electric-here-document-mode accessible in sh-mode-hoo...
	3287f48 ; Add entry to MAINTAINERS
	b85981f * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from prev...
	0f33284 Make use of rectangle-preview custom variable.
	aa0d83a Make use of rectangle-preview face.
	33bef6e Use 'grep-find-program' in check-declare.el
	a8560e5 Improve "C-h S" for cl-lib symbols
	52e798b Fix minor issues with removing left or right fringes
	d6ffd64 Speed up redisplay in ansi-term mode
	4ab671c Simplify 8-bit character handling by terminal for 'raw-text'
	f3653ec * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux.  (Bu...
	ab849b7 Fix w32 memory-management problem when extending buffer text

2016-04-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	32364bb substitute-command-keys keeps quotes’ text props
	567ab52 * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping ...
	24b87a1 Add semantic-symref-filepattern-alist entry for lisp-interact...
	cc0b713 Perform xref searches without visiting unopened files
	5045575 Revert "Prevent bootstrap autoload backup files"

2016-04-18  Philipp Stephani  <p.stephani2@gmail.com>

	* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring

	so that it matches the actual implementation.
	See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html

2016-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/textmodes/ispell.el: Compile with lexical-binding

	(declare-function): Don't define any more.
	(ispell-check-minver, ispell-looking-back): Tweak definition so that
	the compiler can obviously know that it's always defined.
	(ispell-debug-buffer): Declare var.
	(ispell-hunspell-fill-dictionary-entry)
	(ispell-parse-hunspell-affix-file, ispell-hunspell-add-multi-dic)
	(ispell-find-hunspell-dictionaries, ispell-set-spellchecker-params)
	(ispell-command-loop): Avoid add-to-list on local variables.

2016-04-17  Paul Eggert  <eggert@cs.ucla.edu>

	Minor fixups for external socket launching

	* configure.ac (HAVE_LIBSYSTEMD): Change earliest version to 222.
	* doc/emacs/misc.texi (Emacs Server):
	* etc/NEWS: Spelling and doc fixes.
	* src/emacs.c (main) [HAVE_LIBSYSTEMD]:
	Check for sd_is_socket returning positive, not zero.
	* src/process.c (external_sock_fd): Instead of initializing here ...
	(init_process_emacs): ... initialize it here, so that it does the
	right thing after dump/restore.
	(connect_network_socket): Simplify socket_to_use test.

2016-04-17  Simen Heggestøyl  <simenheg@gmail.com>

	Add HTML5 tags to HTML mode

	* lisp/textmodes/sgml-mode.el (html-tag-alist): Add HTML5 tags.
	(html-tag-help): Add short descriptions of those tags.

2016-04-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Finish idna->puny changes in last Message patch

	* lisp/gnus/message.el (message-idna-to-ascii-rhs-1): Use puny
	instead of idna functions.

2016-04-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Use puny.el instead of idna.el functions in Gnus

	* lisp/gnus/gnus-art.el (gnus-use-idna): Default to t (since
	Emacs comes with IDNA support built in).
	(article-decode-idna-rhs): Use `puny-decode-domain' instead of
	`idna-to-unicode'.

	* lisp/gnus/gnus-sum.el (gnus-summary-idna-message): Ditto.

2016-04-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Mention `message-use-idna' in NEWS

2016-04-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Default `message-use-idna' to t

	* lisp/gnus/message.el (message-use-idna): Default to t (since
	Emacs comes with puny.el now).

2016-04-16  Matthew Leach  <matthew@mattleach.net>

	Extend battery.el to exotic power supply types

	* lisp/battery.el (battery-linux-sysfs-regexp): Rename from
	'battery--linux-sysfs-regexp' and make a defcustom. All users
	changed.  (Bug#23216)

2016-04-16  Matthew Leach  <matthew@mattleach.net>

	Add external socket launching support

	* src/process.c (connect_network_socket): Allow a pre-allocated socket
	descriptor to be used if passed to Emacs, avoiding the call to
	'socket' and 'bind'.
	(Fmake_network_process): Allow users to pass ':use-external-socket' in
	the parameter plist to use any sockets that have been passed to Emacs.
	(wait_reading_process_output): Call 'socket' and 'bind' every time.
	(syms_of_process): New symbol ':use-external-socket'.
	(set_external_socket_descriptor): New function.
	(external_sock_fd): New variable.
	* src/lisp.h: (set_external_socket_descriptor): New declaration.
	* src/emacs.c (main): Call 'sd_listen_fds' to read the number of sockets
	passed and call 'set_external_socket_descriptor' to set the external
	socket.
	* src/Makefile.in: Add libsystemd library and C flags to the Emacs
	compilation options.

	* configure.ac: Add new default-on option "systemd" and check for
	libsystemd at configure time.

	* lisp/server.el (server-start): Set ':use-external-socket' to 't' when
	calling 'make-network-process'.

	* etc/NEWS: Document new socket-passing functionality and the configure
	option to disable systemd interaction.

	* doc/emacs/misc.texi (Emacs Server): Document systemd socket passing
	functionality and provide systemd unit examples.
	* doc/lispref/processes.texi (Network Processes): Document new
	'make-network-process' option ':use-external-socket'.

2016-04-16  Matthew Leach  <matthew@mattleach.net>

	Don't spell-check argument of 'cref' TeX macro

	* lisp/textmodes/ispell.el (ispell-tex-skip-alists): Add the cref
	macro to skip spell-checking the cref macro argument.

2016-04-14  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify use of O_BINARY

	* src/callproc.c (call_process):
	* src/fileio.c (write_region):
	* src/filelock.c (read_lock_data):
	* src/image.c (x_find_image_fd):
	* src/lread.c (openp):
	* src/sysdep.c (init_random, emacs_fopen):
	* src/unexcw.c (unexec):
	Omit unnecessary use of O_BINARY, since emacs_open now arranges
	that for us.

2016-04-14  Paul Eggert  <eggert@cs.ucla.edu>

	* src/indent.c (Fvertical_motion): Pacify GCC

	5.3.1 20160406 (Red Hat 5.3.1-6) on x86-64.

2016-04-13  Paul Eggert  <eggert@cs.ucla.edu>

	Port ‘./autogen.sh git’ to non-clones

	Problem reported by Angelo Graziosi in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00341.html
	* autogen.sh (do_git): Default to false when the arg is ‘all’ but
	there is no ‘.git’.
	(git_common_dir, hooks): New vars.
	(git_config, tailored_hooks, sample_hooks): Use them.

2016-04-13  Paul Eggert  <eggert@cs.ucla.edu>

	Do not require that .git be a directory

	Problem reportyed by Phillip Lord.
	* admin/update_autogen, autogen.sh, build-aux/gitlog-to-emacslog:
	* configure.ac, make-dist:
	Do not require that .git be a directory, as 'git worktree' makes
	it a file and not a directory.

2016-04-12  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid now-obsolete function gmm-format-time-string

	* lisp/gnus/message.el (message-insert-formatted-citation-line):
	Use format-time-string instead of obsolete function
	gmm-format-time-string.

2016-04-12  Paul Eggert  <eggert@cs.ucla.edu>

	Support OFFSET and (OFFSET ABBR) time zone rules

	This simplifies Gnus and VC time zone support, by letting them
	feed the output of ‘current-time-zone’ and ‘decode time’ to
	primitives that accept time zone arguments.
	* doc/lispref/os.texi (Time Zone Rules, Time Conversion):
	* etc/NEWS:
	* lisp/gnus/message.el (message-insert-formatted-citation-line):
	* lisp/org/org.el (org-timestamp-format):
	* src/editfns.c (Fformat_time_string, Fdecode_time):
	(Fcurrent_time_string, Fcurrent_time_zone, Fset_time_zone_rule):
	Document new behavior.
	* lisp/gnus/gmm-utils.el (gmm-format-time-string):
	* lisp/vc/add-log.el (add-log-iso8601-time-zone):
	Mark as obsolete, as it is now just an alias or narrow wrapper
	around format-time-string.
	* src/editfns.c (tzlookup): Also support integer OFFSET and
	list (OFFSET ABBR) as time zone rules.
	(Fencode_time): No longer need a special case for a cons ZONE.
	(Fcurrent_time_zone): If the time zone string is missing, compute
	it the same way the other new code does.

2016-04-12  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	ca50981 Improve time zone documentation
	c23c965 Prevent bootstrap autoload backup files
	9344612 Disable multicolor fonts on OS X since they are not supported...
	c41ce1c Capitalize “Universal Time” in documentation
	10597c9 Don't use 'find-program'

2016-04-11  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	b134c20 Sync with gnulib
	bb30fa9 Fix last change on 2016-01-02
	488a72f ; Spelling fixes
	9b1aab9 Port run-prolog EMACS to SWI-Prolog 7.2.3
	0e7bcec Avoid crashes due to unreasonably large or small text scaling
	85f257c Improve documentation of 'with-eval-after-load'
	668c7bc Improve handling of non-ASCII characters in Git log messages
	b570769 Remove undefined behavior in OS X dumper.
	97211f3 Fix clipping of xwidgets
	e87fbc0 Improve Lisp-level documentation of tooltips
	9f1786e Faces names should not end in "-face".
	3283271 * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.
	a1f221b Comint and compile no longer set EMACS
	5c28890 * lisp/subr.el (read-key): Don't let the prompt linger (bug#2...
	a75b9a6 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac...
	c93ae7a Allow to customize names of executables used by grep.el
	f6497c6 Set locale encoding to UTF-8 when run from OS X GUI.
	7ad1d07 Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt
	a3f1ac2 Avoid infinite loop in 'studlify-word'
	f36df4b Don’t recommend obsolete EMACS env var
	fb0b531 * lisp/emacs-lisp/package.el: Change from a few days ago need...

2016-04-11  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	96d9e78 Fix "Beginning of buffer" error in forward-page
	20686f7 Add a `transient' project type

2016-04-11  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	80128a7 Fix stability confusion in sort-tests
	1e4aa42 Avoid describe-key error with lambdas
	a05fb21 * lisp/emacs-lisp/package.el (package-install-selected-packag...
	f501116 Sync with gnulib
	c4963f9 Fix doc for Universal Time

2016-04-10  Etienne Prud'homme  <e.e.f.prudhomme@gmail.com>  (tiny change)

	Fix alignement rule for CSS

	* lisp/align.el (align-rules-list): Support CSS properties that have
	multiple words.

2016-04-10  Tassilo Horn  <tsdh@gnu.org>

	New custom option for overriding mailcap choices

	* lisp/net/mailcap.el (mailcap--get-user-mime-data): New function.
	(mailcap--set-user-mime-data): New function.
	(mailcap-user-mime-data): New customization option.
	(mailcap-select-preferred-viewer): New function.
	(mailcap-mime-info): Use it.

	* doc/misc/emacs-mime.texi (mailcap): Document `mailcap-user-mime-data'.

2016-04-10  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#23207

	* src/keyboard.c (read_char): Resume idle timers in case of
	dbus-event, file-notify-event and config-changed-event.
	Reported by Johan Claesson <johanclaesson@bredband.net>.  (Bug#23207)

2016-04-09  Michael Albinus  <michael.albinus@gmx.de>

	Add vc-backend and vc-responsible-backend tests

	* lisp/vc/vc-hooks.el (vc-file-setprop, vc-file-getprop)
	(vc-file-clearprops): Use properties on absolute files.

	* test/lisp/vc/vc-tests.el (vc-test--unregister-function):
	Clear file properties.
	(vc-test--register): Add tests for `vc-backend' and
	`vc-responsible-backend'.  Catch other errors but `vc-not-supported'.
	(vc-test--state, vc-test--checkout-model): Catch other errors
	but `vc-not-supported'.
	(vc-test--working-revision): Fix test for RCS and SCCS.  Catch
	other errors but `vc-not-supported'.
	(vc-test-src02-state): Mark as an expected failure.

2016-04-08  Paul Eggert  <eggert@cs.ucla.edu>

	Minor improvements for hash function primitives

	* src/fns.c (hashfn_eql): Define in terms of hashfn_equal and
	hashfn_eq rather than reaching inside them.
	(hashtest_eq, hashtest_eql, hashtest_equal):
	Now constants with initializers.
	(syms_of_fns): Omit no-longer-needed initialization.
	* src/lisp.h (LISPSYM_INITIALLY): New macro.
	(DEFINE_LISP_SYMBOL): Use it.

2016-04-08  Paul Pogonyshev  <pogonyshev@gmail.com>

	New primitives sxhash-eq, sxhash-eql

	* doc/lispref/hash.texi (Defining Hash), etc/NEWS: Document this.
	* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns):
	Add sxhash-equal, sxhash-eq, sxhash-eql.
	* lisp/subr.el (sxhash): Now an alias for sxhash-equal.
	* src/fns.c (Fsxhash_eq, Fsxhash_eql): New functions.n

2016-04-08  Eli Zaretskii  <eliz@gnu.org>

	Teach Dired support parallel execution of commands on MS-Windows

	* lisp/dired-aux.el (dired-shell-stuff-it): Support
	parallel-in-background execution of commands on MS-Windows.
	Test 'w32-shell-dos-semantics' instead of the underlying OS
	when determining whether addition of 'wait' is needed.

2016-04-08  Tino Calancha  <f92capac@gmail.com>

	Make 'dired-do-shell-command' wait for all background jobs

	* lisp/dired-aux.el (dired-shell-stuff-it): Force POSIX shells to
	wait until all background jobs exit.  (Bug#23206).

2016-04-07  Vivek Dasmohapatra  <vivek@etla.org>

	Prefer 'font-lock-face to 'face in erc where appropriate

	* lisp/erc/erc-button.el (erc-button-add-face): Prefer
	'font-lock-face to 'face where appropriate.
	* lisp/erc/erc-capab.el (erc-capab-identify-add-prefix)
	* lisp/erc/erc-dcc.el (erc-dcc-chat-parse-output)
	* lisp/erc/erc-goodies.el (erc-controls-propertize)
	* lisp/erc/erc-stamp.el (erc-format-timestamp)
	* lisp/erc/erc-track.el (erc-faces-in)
	* lisp/erc/erc.el (erc-load-irc-script-lines, erc-display-msg)
	(erc-display-command, erc-make-notice, erc-highlight-notice)
	(erc-format-my-nick, erc-format-@nick, erc-format-privmessage)
	(erc-display-prompt, erc-display-message-highlight)
	(erc-log-irc-protocol): Ditto.

	* test/lisp/erc/erc-track-tests.el: Converted asserts into ert
	tests.

2016-04-06  Lele Gaifax  <lele@metapensiero.it>

	Add new keywords of Python 3.5

	Python 3.5, released in mid September 2015, introduced a few new
	keywords to better support asynchronous code, "async" and "await"
	in particular. See https://www.python.org/dev/peps/pep-0492/ for
	details. (Bug#21783)
	* lisp/progmodes/python.el (python-rx-constituents): Add async
	def/for/with as block-start and async def as defun.
	* lisp/progmodes/python.el (python-font-lock-keywords): Add async
	def/for/with as keyword.
	* test/automated/python-tests.el (python-indent-after-async-block-1,
	python-indent-after-async-block-2, python-indent-after-async-block-3,
	python-nav-beginning-of-defun-3): New tests to test indentation and
	navigation for the async keyword.

2016-04-05  Etienne Prud'homme  <e.e.f.prudhomme@gmail.com>  (tiny change)

	Support completion of at-rules in SCSS mode

	lisp/textmodes/css-mode.el (scss-at-ids): New defconst holding
	SCSS-specific at-rules.
	(css--at-ids): New buffer-local variable holding the list of at-rules
	for the current mode.
	(css--complete-at-rule): Retrieve at-rules from `css--at-ids`.
	(scss-mode): Set `css--at-ids'.

2016-04-05  Paul Eggert  <eggert@cs.ucla.edu>

	Enable GCC warnings in developer builds

	However, do not fail; just issue the warnings.  Add an option
	--enable-gcc-warnings=warn-only to configure, to implement this.
	* INSTALL, etc/NEWS: Document this.
	* configure.ac (gl_GCC_VERSION_IFELSE): New macro, from coreutils.
	(gl_gcc_warnings, WERROR_CFLAGS): Use it to add new option.
	Don’t treat --with-x-toolkit=no as a special case when configuring
	warnings.

2016-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Inhibit querying for the encoding of the headers when resending

	* lisp/gnus/message.el (message-resend): Inhibit querying for
	the encoding of the headers when resending.

2016-04-04  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer AUTO_STRING_WITH_LEN to make_formatted_string

	* src/buffer.c (Fgenerate_new_buffer_name):
	* src/filelock.c (get_boot_time):
	* src/minibuf.c (get_minibuffer):
	* src/process.c (make_process):
	* src/xdisp.c (ensure_echo_area_buffers):
	Prefer AUTO_STRING_WITH_LEN + sprintf to make_formatted_string
	when either will do.

2016-04-04  Tao Fang  <fangtao0901@gmail.com>

	Allow URL using HTTPS proxies using CONNECT

	* lisp/url/url-http.el (url-http-find-free-connection): Allow
	using proxies (bug#11788).
	(url-http-end-of-document-sentinel): Ditto.
	(url-http): The protocol may change from http to https and
	vice versa.
	(url-https-proxy-connect): Allow using CONNECT proxies for https.

2016-04-04  Paul Eggert  <eggert@cs.ucla.edu>

	New C macro AUTO_STRING_WITH_LEN

	Put a bit less pressure on the garbage collector by defining a
	macro that is like AUTO_STRING but also allows null bytes in strings,
	and by extending AUTO_STRING to work with any unibyte string.
	* src/alloc.c (verify_ascii): Remove; all uses removed.
	AUTO_STRING can now be used on non-ASCII unibyte strings.
	* src/lisp.h (AUTO_STRING): Now allows non-ASCII unibyte strings.
	(AUTO_STRING_WITH_LEN): New macro.
	* src/coding.c (from_unicode_buffer):
	* src/editfns.c (format_time_string):
	* src/emacs-module.c (module_make_string, module_format_fun_env):
	* src/fileio.c (Fexpand_file_name):
	* src/font.c (font_parse_family_registry):
	* src/ftfont.c (ftfont_get_charset):
	* src/keymap.c (silly_event_symbol_error):
	* src/menu.c (single_menu_item):
	* src/sysdep.c (system_process_attributes):
	Use AUTO_STRING_WITH_LEN if possible.
	* src/emacs-module.c (module_make_function):
	* src/fileio.c (report_file_errno, report_file_notify_error):
	* src/fns.c (Flocale_info):
	* src/sysdep.c (system_process_attributes):
	Use AUTO_STRING if possible.  This is doable more often now
	that AUTO_STRING works on any unibyte string.

2016-04-04  Paul Eggert  <eggert@cs.ucla.edu>

	Port redirect-debugging-output to MS-Windows

	Suggested by Eli Zaretskii in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00037.html
	* src/print.c [WINDOWSNT]: Include sys/socket.h.
	* src/w32.c (sys_dup2): Work around problem with MS-Windows _dup2.

2016-04-04  Paul Eggert  <eggert@cs.ucla.edu>

	Port redirect-debugging-output to non-GNU/Linux

	Problem reported by Kylie McClain for musl in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01592.html
	* etc/DEBUG, etc/NEWS: Mention this.
	* src/callproc.c (child_setup) [!MSDOS]:
	* src/dispnew.c (init_display):
	* src/emacs.c (main, Fdaemon_initialized):
	* src/minibuf.c (read_minibuf_noninteractive):
	* src/regex.c (xmalloc, xrealloc):
	Prefer symbolic names like STDERR_FILENO to magic numbers like 2,
	to make file-descriptor manipulation easier to follow.
	* src/emacs.c (relocate_fd) [!WINDOWSNT]: Remove; no longer needed
	now that we make sure stdin, stdout and stderr are open.  All uses
	removed.
	(main): Make sure standard FDs are OK.  Prefer symbolic names like
	EXIT_FAILURE to magic numbers like 1.  Use bool for boolean.
	* src/lisp.h (init_standard_fds): New decl.
	* src/print.c (WITH_REDIRECT_DEBUGGING_OUTPUT) [GNU_LINUX]:
	Remove; no longer needed.
	(Fredirect_debugging_output): Define on all platforms, not just
	GNU/Linux.  Redirect file descriptor, not stream, so that the code
	works even if stderr is not an lvalue.  Report an error if the
	file arg is neither a string nor nil.
	(syms_of_print): Always define redirect-debugging-output.
	* src/sysdep.c (force_open, init_standard_fds): New functions.

2016-04-03  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

2016-04-03  John Wiegley  <johnw@newartisans.com>

	Revert "Add `r'/`l' grep command history commands"

	This reverts commit a32eea60ac90d367435860fe3a10bf843e6f497c.

2016-04-03  John Wiegley  <johnw@newartisans.com>

	Revert "Restore the point in grep buffers when traversing the history"

	This reverts commit f7c5f79ca565d3ef3feeb1e0af5ca261f1bcf58a.

2016-04-03  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	787df9d ; * src/keyboard.c (read_char): Fix typos in a comment.

2016-04-03  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	b787d55 More format-time-string change fixups
	13c8f29 make-xwidget unused arg cleanup
	36e05f0 Remove unused arguments from make-xwidget
	1042217 Document incompatible changes in 'format-time-string'
	7228eb8 Improve documentation of byte-code objects
	0020047 Adapt calls to 'format-time-string' to changes in Emacs 25
	17b5152 Improve vc-diff with Git backend
	c28f87a (js--continued-expression-p): Special-case unary plus and minus
	2d02a5f ; * lisp/vc/vc-annotate.el (vc-annotate): Clarify commentary.
	9151f16 Prevent C++ Mode wrongly fontifying some identifiers near tem...
	b3b523c Avoid crashes due to insanely large columns in tabulated-list...
	a3daa34 Teach M-x disassemble a default argument.
	e30c3e9 Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows
	df441b3 Fix OS X specific settings in tramp-tests
	2244331 Finish fixing a cacheing bug in CC Mode (see 2016-03-09)

	# Conflicts:
	#	lisp/net/tramp-sh.el
	#	lisp/progmodes/cc-engine.el

2016-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Restore the point in grep buffers when traversing the history

	* lisp/progmodes/grep.el (grep-process-setup): Allow moving
	point to a specific place after finishing the grep command.
	(grep-mode): Use it to restore point after traversing the history.
	(grep--history-point): New internal variable.
	(grep--save-history, grep-forward-history): Use it to restore
	the point.

2016-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Add `r'/`l' grep command history commands

	* doc/emacs/building.texi (Grep Searching): Mention the
	`r'/`l' commands.

	* lisp/progmodes/grep.el (grep-forward-history): New command.
	(grep-backward-history): Ditto.
	(grep--save-buffers): New function.
	(grep): Use it to record the history.
	(grep--command-history, grep--history-inhibit)
	(grep--history-place): New internal variables for the grep
	history (bug#22627).

2016-04-03  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#23186, again

	* lisp/net/tramp.el (tramp-encoding-shell)
	(tramp-encoding-command-switch)
	(tramp-encoding-command-interactive): Check for
	`w32-shell-name'.  (Bug#23186)

2016-04-03  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#23186

	* lisp/net/tramp.el (tramp-encoding-command-switch)
	(tramp-encoding-command-interactive):
	* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
	`tramp-encoding-shell' could be nil.  (Bug#23186)

2016-04-03  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#22145

	* lisp/net/tramp-cache.el (tramp-get-connection-property)
	(tramp-set-connection-property, tramp-connection-property-p)
	(tramp-flush-connection-property): Improve docstring.

	* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.

	* lisp/net/tramp.el (tramp-get-local-locale): New defun.

	* test/automated/tramp-tests.el (tramp--test-utf8):
	Improve settings of coding systems.  (Bug#22145)

2016-04-02  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	7c1802f * doc/lispref/text.texi (Columns): Remove a nonexistent refer...
	9034c50 * doc/man/emacsclient.1: Document +line:column option.
	06495c9 Fix rare problems with echo-area display and multiple frames
	f99b512 In M-%, avoid making buffer-local binding of text-property-de...

2016-04-02  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	e65c307 * src/font.c (QCuser_spec): Add missing colon to :user-spec.
	c8b868b Don't start the 'midnight' timer twice
	278c8a7 * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of X...
	e5c17f4 Fix todo-mode category movement
	bc70fda * lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version.
	cf40f38 Ignore non-nil. non-cons values of unread-command-events
	8ee4c52 Improve documentatuon of 'truncate-partial-width-windows'
	fb9a62c * src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU...
	1e1ea22 Fix 'dired-goto-file' in Dired buffers produced by find-dired
	3a13472 Fix map-put and map-delete for alists (Bug#23105)
	422c3da Minor copyedits of documentation for temporary displays
	90fb9b3 Add customization option for using UTF-8 coordinates in xt-mouse
	f14d463 Minor doc string fixes in replace.el
	e70ee9d Fix scrolling upwards with 'xwidget-webkit-browse-url'
	44782de Fix display of Indic scripts
	326c64f Fix splash screen display at startup
	7ab2a97 ; In NEWS mention new display of minibuffer completions window
	a1cd84c Describe temporary displays in Emacs manual
	5ec1056 Avoid stray As next to IDLW icons
	45577d5 Avoid GTK 3 crash with icons and masks
	e99ff6e * lisp/minibuffer.el (minibuffer-completion-help): Use fit-wi...
	077b78c Define make_save_ptr_ptr unconditionally
	20a1003 Preserve current buffer when popping up TTY menus
	7eba90c Improve font selection by family on MS-Windows
	73d213f Comint, term, and compile now set EMACS
	9524ec5 Ignore more merges when generating ChangeLog
	ad250f2 Sync with gnulib
	c0165ea Resurrect GNUS-NEWS autogeneration
	1e5327c ; Backport ChangeLog.2 fixes from master
	e643977 Make `toggle-frame-maximized' respect the dock on OS X (bug#2...
	38a43f1 Fix bug in displaying header line with a box face
	91e6676 Fix an Isearch var to be a string (Bug#23038)
	76ef522 Fix (args-out-of-range 1) error in cursor-sensor--detect
	8a35f83 Render empty <ul><li><ul> correctly
	d8b2ce5 Ignore invalid base64 encoded embedded images
	52ba24b Fix <p> and <div> newlines with or without <li> in shr
	b8ea08b Avoid errors in 'newline'
	fc3cd53 Fix Bug#23032
	dd2737b Adjudicate review comments in abbrevs.texi
	26f9c50 Fixup the "normal" matcher; highlight global var symbols, too
	413e73b ; Small theme additions
	cd950da Honor prefix arg in doc-view-next-line-or-next-page
	ed909c0 ; Spelling fixes
	6da3a6d Port to strict C99 offsetof
	de7601f Port to GTK with strict C11 compiler
	658aa2d Port to GTK with strict C99 compiler
	1df7173 Avoid screen artifacts with new OS X visible bell after scrol...
	7a2edd3 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into...
	dca240a Suppress some Tramp tests for OSX, do not merge with master
	9094304 * lisp/progmodes/xref.el (xref-buffer-name, xref--window): Mo...
	cbedfc2 * lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.
	005ac7c * lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.
	9ab03f2 ; Auto-commit of loaddefs files.
	56df617 Address compilation warnings due to 2016-01-03 mml refactoring.
	a1ef911 * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp i...
	79ae7fb * lisp/dired-x.el (dired-omit-here-always): Correct error mes...
	253929f * lisp/dired-x.el (dired-omit-here-always): Replace undefined...
	ce53389 * lisp/xml.el (xml-parse-tag-1): Replace undefined function.
	d6d164f Avoid segfaults due to frame image cache being absent
	bc7f6f6 Improve documentation of glyphless-character display
	6b6916e ; * src/xdisp.c (with_echo_area_buffer): Fix typos in comments.
	ee9a1f7 Support safe navigation operator in non-SMIE indentation code
	c3ed95b Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
	2036be4 Fix Ruby's operator precedence
	1d686c2 (ruby-interpolation-inside-another-interpolation): New failin...
	7950e1d Port to clang 3.7.0 on x86-64
	218ae59 * test/automated/package-test.el (package-test-signed): Tweak...
	ba33b7c Sync with gnulib
	38b276d Fix startup of "emacs -nw" on systems that CANNOT_DUMP
	dbfbedd Do not tokenize a comment before continuation as ';'
	0403620 Don't misindent arguments of a method call inside continuation
	e6776f8 * src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_ec...
	8475f3d ASCII-only etc/NEWS etc.
	5cc6919 Fix a cacheing bug, which led to inordinately slow c-beginnin...
	0ce37ea Fix Isearch prompt when invoked with an argument
	f3033d4 Fix a typo in the Emacs manual
	4235d2d Curved quotes in etc/NEWS etc.
	26b56dc Fix some single quotes in documentation
	80ec484 Make lisp-completion-at-point's argument optional
	9d463ae Tweak the left precedence of '=>'
	5b705bc Indent '.' relative to the first sibling expression
	04f5525 Make '.' associative, for easier sexp navigation
	ba24c99 Revert "Simplify "Visit New File" to "New File""

2016-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/erc/erc-backend.el: Use lexical-binding. Silence byte-compiler

	Use #' to quote functions.
	(erc-server-delayed-reconnect): Remove unused arg `event'.
	(erc-process-sentinel-2): Adjust accordingly.
	Don't pass `err' to condition-case if we don't use it.
	(define-erc-response-handler): Use add-hook rather than add-to-list.
	(NICK): Use cl-pushnew rather than add-to-list.
	(331): Remove unused var `topic'.
	(352): Remove unused var `hopcount'.

2016-04-02  Paul Pogonyshev  <pogonyshev@gmail.com>

	Support macros in 'func-arity'

	* src/eval.c (Ffunc_arity): Support Lisp macros as well.

2016-04-02  Andy Moreton  <andrewjmoreton@gmail.com>

	Fix compilation of Cygwin w32 port

	* src/w32xfns.c (init_crit, delete_crit) [HAVE_W32NOTIFY]: Only
	initialize and free the notification set if compiling with
	w32notify feature.

2016-04-01  Paul Eggert  <eggert@penguin.cs.ucla.edu>

	Fix resize incompatibility with GTK+ master

	Problem reported by Matthias Clasen (Bug#23144).
	* src/xterm.c (handle_one_xevent) [USE_GTK]:
	Do not call xg_frame_resized.

2016-04-01  Paul Eggert  <eggert@cs.ucla.edu>

	Fix check for subscript errors in module calls

	* src/emacs-module.c (check_vec_index): New function.
	(module_vec_set, module_vec_get): Use it instead of a
	not-strict-enough check.

2016-03-31  Simen Heggestøyl  <simenheg@gmail.com>

	Support completion of bang-rules in CSS mode

	lisp/textmodes/css-mode.el (css--bang-ids): New buffer-local variable
	holding the list of bang-rules for the current mode.
	(css--font-lock-keywords): Retrieve bang-rules from `css--bang-ids'
	instead of computing them.
	(css--complete-bang-rule): New function for completing a bang-rule.
	(css-completion-at-point): Add support for completing bang-rules.
	(scss-font-lock-keywords): Change from a variable to a function in
	order to recompute `css--font-lock-keywords' when `css--bang-ids' has
	changed.
	(scss-mode): Set `css--bang-ids' and recompute font-lock keywords.

2016-03-30  Simen Heggestøyl  <simenheg@gmail.com>

	Add HTML4 tags to HTML mode

	* lisp/textmodes/sgml-mode.el (html-tag-alist): Add HTML4 tags.
	(html-tag-help): Add short descriptions of those tags.

2016-03-29  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings for buffer-hash etc.

	* src/fns.c (make_digest_string): Now static.
	(secure_hash): Omit unused local.

2016-03-29  Oleh Krehel  <ohwoeowho@gmail.com>

	Add support for 7z archives

	* lisp/dired-aux.el (dired-compress-file-suffixes): "Z" should now
	  also work with 7z archives.

	The shell command should produce a single extracted directory named
	after the archive's name.

	In case the extracted directory exists, all files will be overwritten
	without a prompt. This matches the expected behavior with the "tar.gz"
	archives.

2016-03-29  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el: Require cl-lib instead of cl-extra

2016-03-29  Michael Albinus  <michael.albinus@gmx.de>

	Fix typo in network-stream-tests.el

	* test/lisp/net/network-stream-tests.el
	(connect-to-tls-ipv6-nowait): Fix typo.

2016-03-29  Nicolas Petton  <nicolas@petton.fr>

	New function seq-sort-by in seq.el

	* lisp/emacs-lisp/seq.el (seq-sort-by): New function.
	* test/lisp/emacs-lisp/seq-tests.el: New test for seq-sort-by.
	* doc/lispref/sequences.texi: Add documentation for seq-sort-by.

2016-03-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Mention the `M-q' changes

2016-03-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Have `M-q' not mark buffers are changed when they haven't

	* lisp/textmodes/fill.el (fill-paragraph): Use `buffer-hash'
	to avoid marking buffers as changed when they haven't.

2016-03-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Add a new function `buffer-hash'

	* doc/lispref/text.texi (Checksum/Hash): Document `buffer-hash'.

	* src/fns.c (Fbuffer_hash): New function.
	(make_digest_string): Refactored out into its own function.
	(secure_hash): Use it.

	* test/src/fns-tests.el (fns-tests-hash-buffer): New tests.

2016-03-27  Paul Eggert  <eggert@cs.ucla.edu>

	Rename C names to match Lisp symbols better

	This was inspired by commit e65c3079c65595d95749348366af9811fafff062,
	which fixed a bug where the C name for a symbol disagreed with the
	symbol name itself.  Fix other instances of disagreements that I found.
	Although this doesn’t fix a bug, it should make code easier to follow.
	The remaining disagreements are idiosyncratic: Qminus, Qplus,
	Qsans__serif, Qbackquote, Qcomma, Qcomma_at, Qcomma_dot.
	All uses changed.
	* src/alloc.c (QAutomatic_GC): Rename from Qautomatic_gc.
	* src/dbusbind.c (QCsystem): Rename from QCdbus_system_bus.
	(QCsession): Rename from QCdbus_session_bus.
	(QCtimeout): Rename from QCdbus_timeout.
	(QCbyte): Rename from QCdbus_type_byte.
	(QCboolean): Rename from QCdbus_type_boolean.
	(QCint16): Rename from QCdbus_type_int16.
	(QCuint16): Rename from QCdbus_type_uint16.
	(QCint32): Rename from QCdbus_type_int32.
	(QCuint32): Rename from QCdbus_type_uint32.
	(QCint64): Rename from QCdbus_type_int64.
	(QCuint64): Rename from QCdbus_type_uint64.
	(QCdouble): Rename from QCdbus_type_double.
	(QCstring): Rename from QCdbus_type_string.
	(QCobject_path): Rename from QCdbus_type_object_path.
	(QCsignature): Rename from QCdbus_type_signature.
	(QCunix_fd): Rename from QCdbus_type_unix_fd.
	(QCarray): Rename from QCdbus_type_array.
	(QCvariant): Rename from QCdbus_type_variant.
	(QCstruct): Rename from QCdbus_type_struct.
	(QCdict_entry): Rename from QCdbus_type_dict_entry.
	(QCserial): Rename from QCdbus_registered_serial.
	(QCmethod): Rename from QCdbus_registered_method.
	(QCsignal): Rename from QCdbus_registered_signal.
	* src/emacs-module.c (Qinternal__module_call):
	Rename from Qinternal_module_call.
	* src/frame.c (Qwindow__pixel_to_total):
	Rename from Qwindow_pixel_to_total.
	* src/gnutls.c (QChostname): Rename from QCgnutls_bootprop_hostname.
	(QCpriority): Rename from QCgnutls_bootprop_priority.
	(QCtrustfiles): Rename from QCgnutls_bootprop_trustfiles.
	(QCkeylist): Rename from QCgnutls_bootprop_keylist.
	(QCcrlfiles): Rename from QCgnutls_bootprop_crlfiles.
	(QCmin_prime_bits): Rename from QCgnutls_bootprop_min_prime_bits.
	(QCloglevel): Rename from QCgnutls_bootprop_loglevel.
	(QCcomplete_negotiation): Rename from QCgnutls_complete_negotiation.
	(QCverify_flags): Rename from QCgnutls_bootprop_verify_flags.
	(QCverify_error): Rename from QCgnutls_bootprop_verify_error.
	* src/w32fns.c (Qfont_parameter): Rename from Qfont_param.
	(Qgnutls): Rename from Qgnutls_dll.
	(Qlibxml2): Rename from Qlibxml2_dll.
	(Qzlib): Rename from Qzlib_dll.
	* src/w32select.c (Qutf_16le_dos): Rename from QUNICODE.
	* src/window.c (Qwindow__resize_root_window):
	Rename from Qwindow_resize_root_window.
	(Qwindow__resize_root_window_vertically):
	Rename from Qwindow_resize_root_window_vertically.
	(Qwindow__sanitize_window_sizes):
	Rename from Qwindow_sanitize_window_sizes.
	(Qwindow__pixel_to_total): Rename from Qwindow_pixel_to_total.
	* src/xdisp.c (Qredisplay_internal_xC_functionx):
	Rename from Qredisplay_internal.
	* src/xfns.c (Qfont_parameter): Rename from Qfont_param.
	* src/xselect.c (Q_EMACS_TMP_): Rename from QEMACS_TMP.

2016-03-26  Paul Eggert  <eggert@cs.ucla.edu>

	func-arity minor improvements

	* src/bytecode.c (get_byte_code_arity): Omit unnecessary
	runtime test for integer argument, unless debugging.
	Use EMACS_INT for Emacs integers.
	* src/eval.c (Ffunc_arity): Omit unused locals.
	Avoid side effects in ‘if’ expr.
	(lambda_arity): Use bool for boolean, and EMACS_INT for Emacs ints.

2016-03-26  John Wiegley  <johnw@newartisans.com>

	Restore the fix to bug#18527 from commit d6868025

2016-03-26  Martin Rudalics  <rudalics@gmx.at>

	Safely run window size change functions

	* src/window.c (run_window_size_change_functions): Use
	safe_call1 when running a size change function.
	(grow_mini_window, shrink_mini_window): Report error when
	minibuffer window cannot be resized.

2016-03-26  Paul Pogonyshev  <pogonyshev@gmail.com>

	Implement 'func-arity'

	* src/eval.c (Ffunc_arity, lambda_arity): New functions.
	* src/bytecode.c (get_byte_code_arity): New function.
	* src/lisp.h (get_byte_code_arity): Add prototype.

	* doc/lispref/functions.texi (What Is a Function): Document
	'func-arity'.

	* etc/NEWS: Mention 'func-arity'.

	* test/src/fns-tests.el (fns-tests-func-arity): New test set.

2016-03-25  Alan Mackenzie  <acm@muc.de>

	Fix absence of c-noise-macro-name-re, etc., in languages which don't use it

	* lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id, c-forward-type)
	(c-forward-declarator, c-forward-decl-or-cast-1, c-backward-over-enum-header)
	(c-guess-basic-syntax): Check c-opt-cpp-prefix before `looking-at'
	c-noise-macro-with-parens-name-re.

	* lisp/progmodes/cc-fonts.el (c-complex-decl-matchers): The same as for
	cc-engine.el.

	* lisp/progmodes/cc-mode.el (c-basic-common-init): Add call to
	`c-make-noise-macro-regexps'.
	(c-mode, c++-mode, objc-mode): Remove calls to `c-make-noise-macro-regexps'.

	* lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
	(c-noise-macro-with-re): Initialize to "\\<\\>" rather than nil.

2016-03-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	(shr-insert): Respect non-breaking space in non-<pre> text

	* lisp/net/shr.el (shr-insert): Respect non-breaking space in
	non-<pre> text.

2016-03-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	parse-times-string doc string clarification

	* lisp/calendar/parse-time.el (parse-time-string): Note that
	we accept RFC2822 strings.

2016-03-25  Marcin Borkowski  <mbork@mbork.pl>

	Doc string fix

	* lisp/calendar/parse-time.el (parse-time-tokenize): Clarify
	doc string and clean up code.

2016-03-25  Michael Albinus  <michael.albinus@gmx.de>

	Cleanup file notification code in Tramp

	* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
	Make `events' a list of symbols for "inotifywait".
	(tramp-sh-gvfs-monitor-dir-process-filter): Make event a list.
	Call `file-notify-handle-event' for better traces.
	(tramp-sh-inotifywait-process-filter): Check for expected events.
	Call `file-notify-handle-event' for better traces.

2016-03-24  Michael Albinus  <michael.albinus@gmx.de>

	Adapt filenotify-tests.el according latest tests

	* test/lisp/filenotify-tests.el (file-notify-test02-events)
	(file-notify-test04-file-validity, file-notify-test05-dir-validity):
	Remove superfluous `read-event' calls.
	(file-notify-test02-events): Expect different events under MS
	Windows 7 and 10.
	(file-notify-test04-file-validity): Move `file-notify-valid-p'
	check up.

2016-03-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	ad250f2 Sync with gnulib
	c0165ea Resurrect GNUS-NEWS autogeneration

	# Conflicts:
	#	etc/GNUS-NEWS
	#	lisp/Makefile.in

2016-03-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	e643977 Make `toggle-frame-maximized' respect the dock on OS X (bug#2...
	38a43f1 Fix bug in displaying header line with a box face

2016-03-23  Paul Eggert  <eggert@cs.ucla.edu>

	* etc/NEWS: Use straight quotes.

2016-03-23  Simen Heggestøyl  <simenheg@gmail.com>

	Support completion of attribute values in CSS mode

	* lisp/textmodes/css-mode.el (css-property-alist): New defconst
	holding CSS identifiers and the values they can have.
	(css-property-ids): Compute dynamically from `css-property-alist'.
	(css-value-class-alist): New defconst holding property value classes
	and their values.
	(css--property-value-cache): New variable providing a cache for
	`css--property-values'.
	(css--value-class-lookup): New function for computing a list of values
	in a value class.
	(css--property-values): New function for computing a list of possible
	values for a CSS property.
	(css--complete-property-value): New function for completing a property
	value.
	(css-completion-at-point): Add support for completing property values.
	* test/lisp/textmodes/css-mode-tests.el: New file.

2016-03-22  Wilson Snyder  <wsnyder@wsnyder.org>

	Sync with verilog-mode development tree.

	* lisp/progmodes/verilog-mode.el (verilog-imenu-generic-expression,
	verilog-speedbar-initialize): Automatically add verilog-mode
	extensions when in speedbar mode, bug1045, bug1046.  Reported by
	David Shleifman.
	(verilog-mode-map): Move `verilog-star-comment' from M-* to C-c/ to
	avoid conflict with `pop-tag-mark'. Reported by Ian Perryman.
	(verilog-read-always-signals-recurse): Fix :: notation for
	auto-reset signals.  Reported by Andrew Jones.
	(verilog-font-lock-grouping-keywords-face): Fix highlighting of
	grouping keywords, bug1002. Reported by Paul Sargent.
	(verilog-save-font-no-change-functions): Commentary and fix
	pre-Emacs 21 behavior.

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	Compute a better commit message for merges

	Problem reported by David Engster in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01270.html
	* admin/gitmerge.el (gitmerge-commit-message):
	Truncate the computed commit message to at most 72 characters per line.
	(gitmerge-maybe-resume): Don’t use "-" as the commit message for
	merges; use the computed commit message instead.

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	* admin/gitmerge.el (gitmerge-skip-regexp): Add "no need to merge".

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	Change do-not-merge pattern to "do not merge"

	This should avoid the problem we recently had with
	automatically-generated merge messages, while still letting people
	specify commits not to merge.
	* admin/gitmerge.el (gitmerge-skip-regexp): Add "do not merge".
	(gitmerge-highlight-skip-regexp): Fold case when searching
	for gitmerge-skip-regexp.

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	91e6676 Fix an Isearch var to be a string (Bug#23038)
	76ef522 Fix (args-out-of-range 1) error in cursor-sensor--detect

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	-

	-

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	Keep "merge" commits by default in gitmerge

	* admin/gitmerge.el (gitmerge-skip-regexp): Omit "merge", as it
	causes false positives.  See:
	http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01234.html

2016-03-22  Paul Eggert  <eggert@cs.ucla.edu>

	Assume NON_BLOCKING_CONNECT (Bug#22946)

	* lisp/proced.el (proced-signal-list): Omit comment about
	obsolete systems that do not support POSIX 1003.1-2001 signals.
	* src/process.c (NON_BLOCKING_CONNECT): Remove, since we can now
	assume POSIX 1003.1-2001 or better here.  Assume it’s defined.
	(connect_network_socket): Assume EINPROGRESS is defined,
	as that’s portable too now.
	(Fmake_network_process): Use bool for boolean.

2016-03-21  Eli Zaretskii  <eliz@gnu.org>

	Fix problems caused by new implementation of sub-word mode

	* lisp/subr.el (forward-word-strictly, backward-word-strictly):
	New functions.
	(word-move-empty-char-table): New variable.

	* etc/NEWS: Mention 'forward-word-strictly' and
	'backward-word-strictly'.

	* doc/lispref/positions.texi (Word Motion): Document
	'find-word-boundary-function-table', 'forward-word-strictly', and
	'backward-word-strictly'.  (Bug#22560)

	* src/syntax.c (syms_of_syntax)
	<find-word-boundary-function-table>: Doc fix.

	* lisp/wdired.el (wdired-xcase-word):
	* lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
	(texinfo-copy-section-title, texinfo-start-menu-description)
	(texinfo-copy-menu-title, texinfo-specific-section-type)
	(texinfo-insert-node-lines, texinfo-copy-next-section-title):
	* lisp/textmodes/texinfo.el (texinfo-clone-environment)
	(texinfo-insert-@end):
	* lisp/textmodes/texinfmt.el (texinfo-format-scan)
	(texinfo-anchor, texinfo-multitable-widths)
	(texinfo-multitable-item):
	* lisp/textmodes/tex-mode.el (latex-env-before-change):
	* lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
	* lisp/skeleton.el (skeleton-insert):
	* lisp/simple.el (count-words):
	* lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
	(vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
	(vhdl-update-sensitivity-list, vhdl-template-block)
	(vhdl-template-break, vhdl-template-case, vhdl-template-default)
	(vhdl-template-default-indent, vhdl-template-for-loop)
	(vhdl-template-if-then-use, vhdl-template-bare-loop)
	(vhdl-template-nature, vhdl-template-procedural)
	(vhdl-template-process, vhdl-template-selected-signal-asst)
	(vhdl-template-type, vhdl-template-variable)
	(vhdl-template-while-loop, vhdl-beginning-of-block)
	(vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
	* lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
	(verilog-forward-sexp, verilog-beg-of-statement)
	(verilog-set-auto-endcomments, verilog-backward-token)
	(verilog-do-indent):
	* lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
	(vera-indent-block-closing):
	* lisp/progmodes/simula.el (simula-context)
	(simula-backward-up-level, simula-forward-down-level)
	(simula-previous-statement, simula-next-statement)
	(simula-skip-comment-backward, simula-calculate-indent)
	(simula-find-if, simula-electric-keyword):
	* lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
	* lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
	(ruby-smie--forward-token, ruby-smie--backward-token)
	(ruby-singleton-class-p, ruby-calculate-indent)
	(ruby-forward-sexp, ruby-backward-sexp):
	* lisp/progmodes/ps-mode.el (ps-run-goto-error):
	* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
	(perl-syntax-propertize-special-constructs)
	(perl-backward-to-start-of-continued-exp):
	* lisp/progmodes/pascal.el (pascal-indent-declaration):
	* lisp/progmodes/octave.el (octave-function-file-p):
	* lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
	* lisp/progmodes/js.el (js--forward-function-decl):
	* lisp/progmodes/idlwave.el (idlwave-show-begin-check)
	(idlwave-beginning-of-block, idlwave-end-of-block)
	(idlwave-block-jump-out, idlwave-determine-class):
	* lisp/progmodes/icon.el (icon-is-continuation-line)
	(icon-backward-to-start-of-continued-exp, end-of-icon-defun):
	* lisp/progmodes/hideif.el (hide-ifdef-define):
	* lisp/progmodes/f90.el (f90-change-keywords):
	* lisp/progmodes/cperl-mode.el (cperl-electric-pod)
	(cperl-linefeed, cperl-electric-terminator)
	(cperl-find-pods-heres, cperl-fix-line-spacing)
	(cperl-invert-if-unless):
	* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
	* lisp/progmodes/cc-align.el (c-lineup-java-inher):
	* lisp/progmodes/ada-mode.el (ada-compile-goto-error)
	(ada-adjust-case-skeleton, ada-create-case-exception)
	(ada-create-case-exception-substring)
	(ada-case-read-exceptions-from-file, ada-after-keyword-p)
	(ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
	(ada-get-indent-if, ada-get-indent-block-start)
	(ada-get-indent-loop, ada-get-indent-type)
	(ada-search-prev-end-stmt, ada-check-defun-name)
	(ada-goto-decl-start, ada-goto-matching-start)
	(ada-goto-matching-end, ada-looking-at-semi-or)
	(ada-looking-at-semi-private, ada-in-paramlist-p)
	(ada-search-ignore-complex-boolean, ada-move-to-start)
	(ada-move-to-end, ada-which-function, ada-gen-treat-proc):
	* lisp/net/quickurl.el (quickurl-grab-url):
	* lisp/mail/sendmail.el (mail-do-fcc):
	* lisp/mail/rmail.el (rmail-resend):
	* lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
	* lisp/mail/mail-extr.el (mail-extract-address-components):
	* lisp/json.el (json-read-keyword):
	* lisp/files.el (insert-directory):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* lisp/completion.el (symbol-under-point, symbol-before-point)
	(symbol-before-point-for-complete, next-cdabbrev)
	(add-completions-from-c-buffer):
	* lisp/cedet/semantic/texi.el (semantic-up-context)
	(semantic-beginning-of-context):
	* lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
	use 'forward-word-strictly' and 'backward-word-strictly' instead
	of 'forward-word' and 'backward-word'.

	[This reapplies commit c1d32a65372c72d7de4808d620eefd3214a8e92a,
	which was inadvertently lost by merge commit
	c71e7cc113ed0d5f01aaa2e441a3e3c9fbeb9fa5.]

2016-03-21  Paul Eggert  <eggert@cs.ucla.edu>

	* etc/TODO: Minor quoting and grammar fixes.

	[This reapplies commit 433407d8230a8a256b26c6c7615d3921b43f59ce,
	which was inadvertently lost by merge commit
	5ab243f40e4db91586ff74b01a775a5218a1d5be.]

2016-03-21  Alan Mackenzie  <acm@muc.de>

	Don't confuse "::" with ":" when trying to parse member initializers.

	* lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
	more robustly for ":" token when searching backwards for it.

	* lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
	variable.

	[This reapplies commit 9e5452f7166e3634f2d8e943815ed722e1672714,
	which was inadvertently lost by merge commit
	7823745acbe9b87eea2db4ef434e379fc903ec35.]

2016-03-21  Eli Zaretskii  <eliz@gnu.org>

	Ensure positive number of glyphs for margins of positive width

	* src/dispnew.c (margin_glyphs_to_reserve): Always return a
	positive value when a non-zero width of the marginal area was
	requested.  (Bug#22356)

	[This reapplies commit 740849fe986b62a839bce4bbf67d0036fc1be0b9,
	which was inadvertently lost by merge commit
	7823745acbe9b87eea2db4ef434e379fc903ec35.]

2016-03-21  Alan Mackenzie  <acm@muc.de>

	In comment-dwim with style `extra-line', respect indent-tabs-mode.

	This fixes bug #22369.

	* lisp/newcomment.el (comment-make-bol-ws): New function.
	(comment-make-extra-lines): Use new function instead of a crude `make-string'.

	[This reapplies commit 016b3d5894b8c424eab262aeefc646c6cd03a70a,
	which was inadvertently lost by merge commit
	7823745acbe9b87eea2db4ef434e379fc903ec35.]

2016-03-21  Eli Zaretskii  <eliz@gnu.org>

	Merge doc fixes for 'random' lost in previous merge

	[This reapplies part of commit
	3ffe81e245d854a694ae1734f1b6a995bdc5e724,
	which was inadvertently lost by merge commit
	7823745acbe9b87eea2db4ef434e379fc903ec35.]
	(Bug#22202)

2016-03-21  Eli Zaretskii  <eliz@gnu.org>

	Unhide the --no-line-directive option to 'etags'

	* lib-src/etags.c (print_help): Un-undocument the --no-line-directive
	option.  (Bug#22306)

	* doc/man/etags.1: Document the --no-line-directive option.

	[This reapplies commit fee0526a189f43e8470d78e8374bd425890fbe6f,
	which was inadvertently lost by merge commit
	7823745acbe9b87eea2db4ef434e379fc903ec35.]

2016-03-21  Alan J Third  <alan@idiocy.org>  (tiny change)

	Fix picture-mode wrt double-width characters

	* lisp/textmodes/picture.el (picture-insert): Check the width of
	the character being replaced, not just that of the replacement.
	(Bug#1808)

	[This reapplies commit b70dba4e18514411ed38b5bbb846558158842ace,
	which was inadvertently lost by merge commit
	7823745acbe9b87eea2db4ef434e379fc903ec35.]

2016-03-20  Martin Rudalics  <rudalics@gmx.at>

	Resurrect earlier fix of resize_frame_windows

	* src/window.c (resize_frame_windows): Resurrect earlier fix for
	calculating the number of columns of the minibuffer window which
	was lost in subsequent merges.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Move the cert files to the data directory

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Further empty <li> tweaks

	* lisp/net/shr.el (shr-tag-li): When showing several empty
	<li> elements, ensure that they really get inserted on a new line.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Don't remove too much white space at the end of documents

	* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): Don't
	remove too much white space -- leave it on the last line (in
	case there's a background color).

2016-03-20  Alan Mackenzie  <acm@muc.de>

	Amend parse-partial-sexp correctly to handle two character comment delimiters

	Do this by adding a new field to the parser state: the syntax of the last
	character scanned, should that be the first char of a (potential) two char
	construct, nil otherwise.
	This should make the parser state complete.
	Also document element 9 of the parser state.  Also refactor the code a bit.

	* src/syntax.c (struct lisp_parse_state): Add a new field.
	(SYNTAX_FLAGS_COMSTARTEND_FIRST): New function.
	(internalize_parse_state): New function, extracted from scan_sexps_forward.
	(back_comment): Call internalize_parse_state.
	(forw_comment): Return the syntax of the last character scanned to the caller
	when that character might be the first of a two character construct.
	(Fforward_comment, scan_lists): New dummy variables, passed to forw_comment.
	(scan_sexps_forward): Remove a redundant state parameter.  Access all `state'
	information via the address parameter `state'.  Remove the code which converts
	from external to internal form of `state'.  Access buffer contents only from
	`from' onwards.  Reformulate code at the top of the main loop correctly to
	recognize comment openers when starting in the middle of one.  Call
	forw_comment with extra argument (for return of syntax value of possible first
	char of a two char construct).
	(Fparse_partial_sexp): Document elements 9, 10 of the parser state in the
	doc string.  Clarify the doc string in general.  Call
	internalize_parse_state.  Take account of the new elements when consing up the
	output parser state.

	* doc/lispref/syntax.texi: (Parser State): Document element 9 and the new
	element 10.  Minor wording corrections (remove reference to "trivial
	cases").
	(Low Level Parsing): Minor corrections.

	* etc/NEWS: Note new element 10, and documentation of element 9 of parser
	state.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Allow the shr test files to have trailing blank space.

	* .gitattributes: Allow the shr test files to have trailing
	blank space.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Add tests for empty <ul><li>

2016-03-20  Paul Eggert  <eggert@cs.ucla.edu>

	* src/alloc.c (purecopy): Use AUTO_STRING.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Ignore invalid base64 encoded embedded images

	* lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
	encoded embedded images (bug#22928).

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Render empty <ul><li><ul> correctly

	* lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
	correctly (bug#22964).

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Fix <p> and <div> newlines with or without <li> in shr

	* lisp/net/shr.el (shr-ensure-newline): Respect that we're in
	a <li>, if we are, and don't insert newlines there.
	(shr-ensure-paragraph): When mixing newlines and paragraph
	ensurements, don't insert too many blank lines.
	(shr-tag-div): A <div> shouldn't introduce a paragraph, but a
	new line.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Add more shr HTML rendering tests

	Add a test harness for shr HTML rendering and one test

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Remove code left over from when overlays were used for padding

	* lisp/net/shr.el (shr-previous-newline-padding-width): Remove.
	(shr-remove-trailing-whitespace): Ditto.
	(shr-insert-document): Don't call them.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Remove trailing blank lines in shr

	* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): New function.
	(shr-insert-document): Use it to remove trailing blank lines
	at the end of documents, since these never seem to be very useful.

2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Don't bug out on nil `patch-buf' arguments

	* lisp/vc/ediff.el (ediff-patch-file): Don't bug out on nil
	`patch-buf' arguments.

2016-03-20  Ernest Adrogué  <nfdisco@gmail.com>

	Add a Catalan language environment

	* international/mule-cmds.el (locale-language-names): Map locale
	  language name `ca' to language environment `Catalan'.

	* language/european.el: Add definition of language environment for
	  the Catalan language.

	* leim/quail/latin-pre.el: Add quail rule to the `catalan-prefix'
	  input method to support input of middle dot characters through
	  composition (bug#18279).

2016-03-19  Paul Eggert  <eggert@cs.ucla.edu>

	No need to block input when reading directories

	* src/dired.c: Don’t include blockinput.h.
	(open_directory, directory_files_internal_unwind)
	(directory_files_internal, file_attributes):
	Don’t block input here, as the reasons for blocking input should
	no longer apply.  See blockinput.h FIXME.  (Bug#22996).

2016-03-19  Oscar Fuentes  <ofv@wanadoo.es>

	* lisp/vc/vc-hooks.el: Fix typo

2016-03-19  Fabrice Popineau  <fabrice.popineau@gmail.com>

	Improve w32notify notifications

	* src/w32notify.c (DIRWATCH_BUFFER_SIZE): New macro.
	(struct notification): 'terminate' is now a HANDLE.
	(send_notifications): Argument is now a pointer to a
	notification.  Don't loop waiting for the notification to be
	acknowledged by the main thread; instead, just add the
	notification to the linked list of notifications waiting to be
	acknowledged.
	(watch_end): Don't close the directory handle.
	(watch_completion): Allocate a new notification structure to be
	added to the notifications set.  Call ReadDirectoryChangesW
	immediately after adding the new notification, and before sending
	a message to the main thread about them.
	(watch_worker): Don't loop calling ReadDirectoryChangesW; instead,
	call it just once -- it will be called again in watch_completion.
	Loop waiting for the main thread's indication to terminate.
	(start_watching): Create the event to be used to indicate to the
	worker thread that its should terminate.
	(remove_watch): Indicate to the worker thread that it should
	terminate.
	* src/w32term.c (queue_notifications): Loop over all the
	notifications in the linked list, processing all of them in one
	go.
	* src/w32inevt.c (handle_file_notifications): Loop over all the
	notifications in the linked list.
	* src/w32xfns.c (init_crit): Initialize the linked list of file
	notifications.
	(delete_crit): Free the linked list of file notifications,
	including any unprocessed notifications left in it.
	* src/w32term.h (struct notifications_se): New struct.

	* test/lisp/filenotify-tests.el (file-notify-test02-events)
	(file-notify-test05-dir-validity): Add read-event calls to
	facilitate event recognition by the main thread in batch mode.

2016-03-17  Sam Steingold  <sds@gnu.org>

	make `vc-log-operation' buffer local to allow multiple simultaneous editing

2016-03-17  Glenn Morris  <rgm@gnu.org>

	Simplify some rococo Gnus code that loads or tests for other libraries.

	* lisp/gnus/gnus-art.el (gnus-treat-ansi-sequences): Simplify default.
	* lisp/gnus/mml-smime.el (epg): Simply require it.
	(mml-smime-use): Simplify the default.  Doc fix.
	* lisp/gnus/mml2015.el (epg-config): Require it.
	(mml2015-use): Simplify the default.
	* lisp/gnus/smime.el (password-cache): Simply require it.
	(password-read-and-add): Remove declaration.

2016-03-16  Glenn Morris  <rgm@gnu.org>

	* test/lisp/dabbrev-tests.el: Merge fix: move here from test/automated.

2016-03-16  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
	    Alex Harsanyi  <AlexHarsanyi@gmail.com>

	Sync with soap-client repository, version 3.1.1

	* lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix error
	message.
	(soap-find-port): Delete trailing whitespace.
	(soap-find-operation): Fix documentation and rename parameter.
	(soap-find-port): Likewise.
	(soap-operation-arity): Likewise.

	* lisp/net/soap-client.el: Update copyright years.
	(soap-warning): Fix docstring quoting.
	(soap-decode-date-time): Likewise.
	(soap-validate-xs-simple-type): Remove tabs for indentation.
	* lisp/net/soap-inspect.el: Update copyright years.

	* lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
	assume xsd:base64Binary values are UTF-8 strings.
	(soap-decode-xs-basic-type): Likewise.
	(soap-invoke): Document xsd:base64Binary handling.

	* lisp/net/soap-client.el (soap-find-port, soap-find-operation)
	(soap-operation-arity): new defuns
	(soap-invoke-internal): use soap-find-port, soap-find-operation.

2016-03-15  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib

	This incorporates:
	2016-03-15 std-gnu11: improve clang support
	* m4/std-gnu11.m4: Copy from gnulib.

2016-03-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Disable MOVE more for Dovecot

	* lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also
	disable MOVE when expirying.
	(nnimap-split-incoming-mail): And when splitting mail.

2016-03-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Don't use MOVE on Dovecot

	* lisp/gnus/nnimap.el (nnimap-request-move-article): Don't use
	MOVE on Dovecot, since it's broken in many versions.
	(nnimap-quirks): Mark MOVE on Dovecot as non-working.

2016-03-13  Paul Eggert  <eggert@cs.ucla.edu>

	Improve diff hunk headers when maintaining Emacs

	* .gitattributes: Improve diff hunk header support for makefiles,
	shell scripts, Ada, C, C++, Objective C, HTML, SHTML, XML, Java,
	Perl, PHP, Python, Ruby, and TeX, all of which are used in Emacs
	somewhere (sometimes just in test cases).
	* autogen.sh: Add regexes for makefiles and shell scripts.

2016-03-12  Eli Zaretskii  <eliz@gnu.org>

	Update handling of <bdo> per Unicode 9.0

	* lisp/net/shr.el (shr-tag-bdo): Wrap in FSI..PDI as well, per
	Unicode 9.0 changes in UAX#9, paragraph 2.7.

2016-03-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	facb5e2 Update Emacs manual section related to character folding
	4efea8e ; * etc/DEBUG: Fix a typo.  (Bug#22984)
	f8df21b Update admin/notes/unicode
	950be68 Add symref-filepattern entries for c?perl-mode
	8b8a6ad Don't use XRANDR 1.3 extensions if the server doesn't support them.
	985dacf ; NEWS update for the last change in etags
	741a6f8 Sync with gnulib
	7352c6c Rework C source files to avoid ^(
	a589e9a By default, etags produces unqualified Perl tag names
	72c7438 Indent methods with keyword names correctly
	28532a9 Propertize character literals and special global variables
	        differently
	a7d6f39 ; Fix last change in NEWS
	83b2a20 Change how /etc/NEWS presents character folding
	b417c5a Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding
	        off by default""
	711ca36 Properly handle lambda as read function (bug 22961)
	1b9d616 Propertize operator symbol names with symbol syntax class
	9b16bc2 Stop recognizing :#{} as symbol in ruby-mode
	366ec77 Allow using the left shift operator without spaces on both sides
	02bf7cc Properly handle unquoting in wdired (bug 22938)
	16cf469 ; Spelling fix and tighten up comment
	f50bc04 Allow splat operator before percent literal
	991c801 Don't apply the return value of goto-char as syntax class
	6e63b3e Guard against nested percent literals
	066f3bc Recognize iuwu-mod after an escaped newline
	6f7a57c Fix symbolic mode string conversion for s and t
	50b9826 Update 'ucs-names' database
	993b2fb Improve doc string of 'shell-command'
	b71c717 Make the code in movemail_strftime more general
	cc057e4 Speed up redisplay of binary files with long series of nulls
	e51b27e Remove the highlighting support for quoting 'like this' inside
	        Lisp docstrings
	b1abce1 Restore leading space in movemail pop output
	98b8d44 Fix bidi-paragraph-direction in Rmail view buffer
	dc9d837 Don't misindent computed property generator methods
	7923112 Fix mbox files produced by movemail on MS-Windows
	c45a1ca doc string file descriptor exhaustion fix
	265141b Fix Bug#22814

2016-03-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	620951f Fix previous fix of enlarge-/shrink-window
	2e78353 * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic
	66d2717 Complete temperature units in calc-convert-temperature
	dbb02bf Make sure to use case-sensitive search
	8b01e69 Prevent infinite loop on not-well-formed xml. (Bug#16344)
	100346a Add the missing test case for the previous patch
	5aba61e Use the correct dabbrev expansion

2016-03-11  Michael Albinus  <michael.albinus@gmx.de>

	Remove compat code in Tramp

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Remove compat code.

2016-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/textmodes/tex-mode.el: Complete local envs.  Use #'.

	Use #' for function names.
	(latex-complete-envnames): Include existing environments in
	current buffer.
	(latex-insert-block): Use latex-complete-envnames.
	(tildify-foreach-ignore-environments): Declare.

2016-03-10  Alain Schneble  <a.s@realize.ch>

	Fix asynchronous TLS connections on MS-Windows

	* src/w32.c (sys_write): Don't switch the socket to blocking mode
	if the connection attempt is in progress.  Instead, return either
	EWOULDBLOCK immediately if the connection is in progress, or the
	error code produced by '_sys_wait_connect' if the connection
	failed.  Switching the socket to blocking mode was found to
	interfere with GnuTLS handshake.  (Bug#22789)

2016-03-10  Alan Mackenzie  <acm@muc.de>

	Clarify the documentation of nested comments.

	* doc/lispref/syntax.texi (Syntax Flags): State that only comments of the same
	style are recognized inside nestable comments.
	(Low-Level Parsing): Clarify that parsing will stop after the start or end of
	UNNESTED comments.

2016-03-10  Nicolas Richard  <youngfrog@members.fsf.org>

	Add new function display-buffer-reuse-mode-window

	* lisp/window.el (display-buffer-reuse-mode-window): New function.
	* doc/lispref/windows.texi (Display Action Functions): Document it.

2016-03-09  Paul Eggert  <eggert@cs.ucla.edu>

	Minor fixes for getaddrinfo_a usage

	* src/process.c (Fdelete_process): Check gai_cancel return value.
	That way, there’s no need to invoke gai_error.  Check gai_suspend
	return value.
	(Fmake_network_process): Don’t assume gai_strerror returns a UTF-8
	string.  Simplify call to connect_network_socket.
	(check_for_dns): Avoid unnecessary initialization of local.

2016-03-09  Sam Steingold  <sds@gnu.org>

	declare `rmail-mime-entity-truncated' and `rmail-mime-render-html-function'

	The former avoids a compiler warning, the latter fixes a bug whereas
	the variable is compiled as lexical instead of dynamic.

2016-03-08  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings

	* src/xfns.c (x_create_tip_frame): Omit unused local.
	(Fx_show_tip): Don’t jump over auto initialization.

2016-03-07  Martin Rudalics  <rudalics@gmx.at>

	Optionally reuse tooltip frames instead of deleting/recreating them.

	* src/frame.c (tooltip_reuse_hidden_frame): New option.
	* src/w32fns.c (x_create_tip_frame): Remove argument TEXT.  Fix
	handling of dividers.
	(x_hide_tip): New function.
	(Fx_show_tip): Try to reuse old tooltip frame when
	`tooltip-reuse-hidden-frame' is non-nil and frame parameters
	have not changed.  Insert STRING here instead of passing it to
	x_create_tip_frame.  Compute size of tooltip window with
	Fwindow_text_pixel_size.  Obey Vw32_tooltip_extra_pixels when
	padding tooltip window.
	(Fx_hide_tip): Call x_hide_tip.
	(Vw32_tooltip_extra_pixels): New variable.
	* src/xdisp.c (Fwindow_text_pixel_size): Don't return negative y
	value.  Fix doc-string.
	* src/xfns.c (x_create_tip_frame): Remove argument TEXT.  Call
	make_frame with mini_p argument false.
	(x_hide_tip): New function.
	(Fx_show_tip): Try to reuse old tooltip frame when
	`tooltip-reuse-hidden-frame' is non-nil and frame parameters
	have not changed.  Insert STRING here instead of passing it to
	x_create_tip_frame.  Compute size of tooltip window with
	Fwindow_text_pixel_size.
	(Fx_hide_tip): Call x_hide_tip.
	* lisp/cus-start.el (tooltip-reuse-hidden-frame): Add
	customization entry.

2016-03-07  Paul Eggert  <eggert@cs.ucla.edu>

	Assume getaddrinfo in C code

	* admin/CPP-DEFINES, configure.ac: Remove HAVE_GETADDRINFO, HAVE_H_ERRNO.
	All uses removed.
	* doc/lispref/processes.texi (Network, Network Processes), etc/NEWS:
	Say that port numbers can be integer strings.
	* lib-src/pop.c (h_errno) [!WINDOWSNT && !HAVE_H_ERRNO]: Remove decl.
	(socket_connection): Assume HAVE_GETADDRINFO.
	* lisp/mpc.el (mpc--proc-connect):
	* lisp/net/network-stream.el (open-network-stream):
	It’s now OK to use integer strings as port numbers.
	* src/process.c (conv_numerical_to_lisp) [!HAVE_GETADDRINFO]: Remove.
	(Fmake_network_process): Assume HAVE_GETADDRINFO.

2016-03-07  Paul Eggert  <eggert@cs.ucla.edu>

	Remove support for IRIX

	The IRIX port wasn’t really working anyway, and the code was
	getting in the way of other changes (e.g., getaddrinfo fixes).
	IRIX’s supplier dropped support for IRIX in 2013.
	* admin/CPP-DEFINES:
	* configure.ac (opsys):
	* doc/lispref/os.texi (System Environment):
	* etc/MACHINES, etc/PROBLEMS:
	* lisp/find-dired.el (find-grep-options):
	* lisp/lpr.el (lpr-lp-system):
	* lisp/ls-lisp.el (ls-lisp-emulation):
	* lisp/mail/rmail.el (rmail-spool-directory):
	* lisp/net/net-utils.el (ping-program-options):
	* lisp/progmodes/gud.el (gud-irix-p, gud-dbx-use-stopformat-p):
	* lisp/progmodes/ps-mode.el (ps-mode-print-function):
	* src/conf_post.h [IRIX6_5]:
	* src/emacs.c (Vsystem_type):
	* src/filelock.c (get_boot_time_1):
	* src/process.c (process_send_signal):
	* src/unexelf.c (unexec):
	Omit IRIX-specific code and/or documentation.
	* configure.ac (NON_GCC_TEST_OPTIONS, IRIX6_5, PREFER_VSUSP):
	Remove.  All uses removed.
	* etc/NEWS: Document the change.

2016-03-06  John Wiegley  <johnw@newartisans.com>

	Revert "Use colors in the VC mode lines"

	This reverts commit 2621c293d82c15c00d9e73a8db75d70da7d0a23b.

2016-03-06  Ken Brown  <kbrown@cornell.edu>

	Fix Cygwin-w32 build

	* src/w32fns.c (funhook, setup_w32_kbdhook, remove_w32_kbdhook):
	Define only if WINDOWSNT, and update all uses accordingly.
	* src/w32term.h (check_w32_winkey_state, setup_w32_kbdhook)
	(remove_w32_kbdhook): Declare only if WINDOWSNT.
	(w32_kbdhook_active): Define as 0 if not WINDOWSNT.

2016-03-06  Eli Zaretskii  <eliz@gnu.org>

	Unbreak the MinGW64 build

	* nt/inc/ms-w32.h [MINGW_W64]: Undefine HAVE_GAI_STRERROR.  See
	http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00130.html
	for the details.  Reported by Angelo Graziosi
	<angelo.graziosi@alice.it>.

2016-03-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Don't signal errors on E_AGAIN

	* src/gnutls.c (Fgnutls_errorp): Qgnutls_e_again is not an
	error now that TLS is async.

2016-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Allow making TLS negotiation blocking

	* lisp/net/gnutls.el (gnutls-negotiate): Make negotiation blocking.

	* src/gnutls.c (Fgnutls_boot): Provide a new keyword,
	:complete-negotiation, to specify that we want complete
	negotiation even if the socket is non-blocking.
	(gnutls_try_handshake): Complete negotiation if given that keyword.

	* src/process.h (L): Added gnutls_complete_negotiation_p.

2016-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Don't run ipv6 test on systems without ipv6

	* test/lisp/net/network-stream-tests.el
	(connect-to-tls-ipv6-nowait): Skip on systems without ipv6.

2016-03-05  Eli Zaretskii  <eliz@gnu.org>

	Implement getaddrinfo fallback for MS-Windows

	See http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg01602.html
	for more details.

	* nt/mingw-cfg.site (ac_cv_func_getaddrinfo)
	(ac_cv_func_gai_strerror): Set to "yes", as the configure script's
	test program is not smart enough to auto-detect these.
	* nt/inc/sys/socket.h (getaddrinfo, freeaddrinfo): Redirect to
	sys_getaddrinfo and sys_freeaddrinfo.  Provide prototypes for
	sys_getaddrinfo and sys_freeaddrinfo.

	* src/w32.c (init_winsock): Try loading getaddrinfo and
	freeaddrinfo from ws2_32.dll.
	(sys_getaddrinfo, sys_freeaddrinfo): New functions.

	* lib-src/pop.c [WINDOWSNT]: Include winsock2.h, not winsock.h,
	and also ws2tcpip.h.
	(getaddrinfo, freeaddrinfo) [WINDOWSNT]: Redirect to
	sys_getaddrinfo and sys_freeaddrinfo, respectively.
	(load_ws2, sys_getaddrinfo, sys_freeaddrinfo) [WINDOWSNT]: New
	functions.

2016-03-04  Glenn Morris  <rgm@gnu.org>

	* lisp/files.el: Fix recent typo.

	* lisp/subr.el (read-multiple-choice): Avoid free variable.

	* doc/lispref/files.texi (File Attributes): Fix typo.

2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the describe-key prompts clearer

	* lisp/help.el (describe-key-briefly): Make the prompt clearer
	(bug#14854).
	(describe-key): Ditto.

2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow scrolling while querying multiple choice

	* lisp/subr.el (read-multiple-choice): Allow scrolling the
	buffer while querying (bug#22827).

2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Add accessors for `file-attributes'

	* doc/lispref/files.texi (File Attributes): Mention the accessors.

	* lisp/files.el (file-attribute-type)
	(file-attribute-link-number, file-attribute-user-id)
	(file-attribute-group-id, file-attribute-access-time)
	(file-attribute-modification-time)
	(file-attribute-change-time, file-attribute-size)
	(file-attribute-modes, file-attribute-inode-number)
	(file-attribute-device-number): New functions.

	* src/dired.c (Ffile_attributes): Mention the accessors (bug#22890).

2016-03-04  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#22814

	* lisp/autorevert.el (global-auto-revert-mode): Do not set
	`auto-revert-use-notify' to nil.

	* etc/NEWS: Mention this.

	* etc/PROBLEMS: Remove problem Bug#22814.

	* src/kqueue.c: Include <sys/resource.h>.
	(Fkqueue_add_watch): Limit the number of used file descriptors.
	(Bug#22814)

	* test/lisp/filenotify-tests.el (file-notify--test-remote-enabled)
	(file-notify-test00-availability, file-notify-test01-add-watch)
	(file-notify-test02-events, file-notify-test06-many-events):
	Use #' read syntax for functions.
	(file-notify-test05-dir-validity)
	(file-notify-test06-many-events): Simplify directory creation.
	(file-notify-test09-sufficient-ressources): New test.

2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix insertion of edited servers in the dribble file

	* lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
	insert explicit newlines, because they're quoted (bug#22903).

2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Move cl-seq-tests to the right place after the merge

	Move cl-seq-tests to the right place after the merge

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	d6f6b7d * etc/AUTHORS: Update the AUTHORS file
	5cf7c39 authors.el updates
	a26f193 ; fix changelog entries
	fbc85c7 ; make change-history-commit
	06da00c Fix Bug#22859
	ab30bf5 ; * src/w32proc.c: Update the commentary to sys_select.
	1481029 Fix reordering of bidi text in an isolate inside an override
	60e0596 Document c-guess-basic-syntax in the CC Mode manual.

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	f5d1435 Fix targets in test/automated/Makefile.in

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	b6d6304 Comment on last change to define-derived-mode

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	cb1e3da Also allow setting the paragraph direction to nil
	bbe8a89 Made the new OS X visible bell more visible.

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	aae436e Uncomment the next-error-function integration in xref
	5f0d096 Remove the word "valid", to avoid ambiguity

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	5a44bfe Set auto-revert-use-notify to nil in global-auto-revert-mode.  (Bug#22814)
	0d60bfc Fix ModelSim error parsing

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	b13cab6 Add a eww command to toggle paragraph direction
	4e46128 * nextstep/WISHLIST: Merge into etc/TODO and remove.
	9e078e5 Fix char signedness issue in bidi code
	064adf6 * lib-src/pop.c (socket_connection): Fix format string.
	14060a9 Avoid inflooping in thing-at-point-looking-at
	098d47b * lisp/emacs-lisp/derived.el (define-derived-mode): Revert
	        indent change.
	b5db8e0 etc/PROBLEMS: Mention problems with using file descriptors
	ec10ef9 * lisp/apropos.el (apropos-variable): Doc fix.  (Bug#22813).
	d2dd614 Remove unneeded workaround in xftfont.c
	9b7593c ; * etc/NEWS: Reflect latest changes in saveplace.
	fde0cd1 * lisp/saveplace.el (save-place-local-mode): New minor mode
	06a872b Fix redisplay on a TTY after 'make-frame'
	95f5a43 Make double-click-1 work with unbalanced parens in CC Mode.
	        Fixes bug#5560.
	7d206fc Input method polish-slash should not use keyboard translation
	8be32cf Fix an assertion
	040e0d6 Fix 'toggle-save-place'
	5244db2 * src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	e6a3819 Update HISTORY section in readme for the NextStep interface.
	f67f1ed ; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording.
	7c81a0b Improve documentation of 'save-place-mode'
	cab3f0a Allocate glyph matrices for the initial frame
	e01c72f Fix white space in last checkin
	370eb67 Make `insert-pair' always leave the cursor where documented
	b594393 etc/NEWS: Mention the new second parameter to `package-install'

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	bd58c13 Improve documentation of focus-related hooks
	00a4720 Further improve doc string of 'disable-point-adjustment'
	c582def Further adaptions in file-notify-tests.el for w32notify
	a1585e1 Don't bug out on localised dates in gnus-icalendar

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	7bc4820 Make setf for frame-height/width work again

2016-03-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	6620944 (cl-union): Do not ignore :test argument when lists are equal.
	17dd3fb Add `isearch' to `basic-faces'
	c1ec743 Make $, : and @ "prefix characters" in ruby-mode
	e72a26e Make find-tag-default-bounds more strict
	1bc0e0a Minor fixes in filenotify.el

2016-03-02  Alain Schneble  <a.s@realize.ch>

	Fix issue of inserting images on some systems

	* lisp/net/shr.el (shr-tag-img): Construct a non-empty range
	to pass to shr-image-fetched, to indicate where to insert the
	image.  Fixes the issue introduced with commit
	80852f843e69b81618f29cfb9aa4b074946cb3c4
	(bug#22789).

2016-03-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Ensure TLS negotiation progress

	* src/gnutls.h (GNUTLS_EMACS_HANDSHAKES_LIMIT): Increase the
	number of retries so that we try for about a minute.

	* src/process.c (wait_reading_process_output): Ensure progress
	for DNS resolution and TLS negotiation.

2016-03-02  Paul Eggert  <eggert@cs.ucla.edu>

	emacs-module.h slight simplification

	* src/emacs-module.c (emacs_init_function, emacs_subr): Move here ...
	* src/emacs-module.h: ... from here, as they don’t need to be public.
	(enum emacs_arity): Remove useless enum tag.  The enum value is
	used in ptrdiff_t contexts.

	* src/emacs-module.c (CHECK_USER_PTR): Fix typo in previous change.

2016-03-02  Paul Eggert  <eggert@cs.ucla.edu>

	* src/emacs-module.c (CHECK_USER_PTR): Fix typo in previous change.

2016-03-02  Paul Eggert  <eggert@cs.ucla.edu>

	emacs-module.c simplification and tuneup

	* src/emacs-module.c (CHECK_USER_PTR): New function.
	(module_get_user_ptr, module_set_user_ptr)
	(module_get_user_finalizer, module_set_user_finalizer): Use it.
	(module_make_global_ref, module_copy_string_contents)
	(module_make_string, module_vec_set, module_vec_get): Omit
	unnecessary runtime tests.  For example, vector sizes are always
	fixnums, so we don’t need to test that they are in fixnum range.

2016-03-02  Philipp Stephani  <phst@google.com>

	Use standard checks whenever possible.

	This is possible in all functions where we catch signals anyway.

	* emacs-module.c (module_make_global_ref, module_funcall)
	(module_copy_string_contents, module_make_string): Use xsignal0
	and CHECK macros for argument checks.

2016-03-02  Paul Eggert  <eggert@cs.ucla.edu>

	Deterministic build improvements

	* configure.ac (BUILD_DETAILS): Rename from DETERMINISTIC_DUMP,
	and negate its sense.  Use it via AC_SUBST, not AC_DEFINE,
	and have its value be either empty or --no-build-details.
	All uses changed.  Change option to --disable-build-details.
	* doc/lispref/cmdargs.texi (Initial Options):
	Document --no-build-details.
	* doc/lispref/internals.texi (Building Emacs):
	* etc/NEWS:
	Document --disable-build-details.
	* doc/lispref/intro.texi (Version Info): Say that
	emacs-build-time can be nil.
	* lisp/erc/erc-compat.el (erc-emacs-build-time):
	Now nil if details are omitted.
	* lisp/erc/erc.el (erc-cmd-SV):
	* lisp/version.el (emacs-build-time):
	Now nil if no build details.
	(emacs-version):
	Output build time only if build details.
	* src/Makefile.in (BUILD_DETAILS): New macro.
	(temacs, bootstrap-emacs): Use it.
	* src/emacs.c (build_details): New var.
	(standard_args, main): Support --no-build-details.
	(Vdeterministic_dump): Remove; all uses replaced
	by !build_details.
	(syms_of_emacs): Set Vbuild_details to a boolean, not
	to a Lisp_Object.
	* src/lisp.h (build_details): New decl.
	* src/sysdep.c (init_system_name): When !build_details,
	set system-name to nil, not to "elided".

2016-03-02  Philipp Stephani  <phst@google.com>

	Remove build system name from deterministic dumps

	* configure.ac (DETERMINISTIC_DUMP): New configuration option.
	* lisp/version.el (emacs-build-time): Add a comment to make the
	build time deterministic if requested.
	(emacs-build-system): Make variable deterministic if requested.
	* src/emacs.c (main): Initialize `deterministic-dump' from the
	configuration option.
	(syms_of_emacs): New constant `deterministic-dump'.
	* src/sysdep.c (init_system_name): Use a constant
	if a deterministic dump is requested.

2016-03-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove buggy parse-time test

	* test/lisp/calendar/parse-time-tests.el (parse-time-tests):
	Remove the iso parse test, since it doesn't work.

2016-03-01  Paul Eggert  <eggert@cs.ucla.edu>

	* src/syntax.c (syntax_multibyte): Omit unnecessary parens.

2016-02-29  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/autoload.el (autoload-timestamps):
	Experiment with setting to nil.

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the revert command in timer-list-mode work

	* lisp/emacs-lisp/timer-list.el (timer-list): Make the revert
	command work.

2016-02-29  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/autoload.el (autoload-find-destination):
	Fix 6-week old merge error.

	* lisp/emacs-lisp/autoload.el (update-file-autoloads):
	Ensure timestamps.

	* lisp/emacs-lisp/package.el (package-generate-autoloads):
	Disable timestamps.

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow binding `url-mime-accept-string'

	* lisp/url/url-http.el (url-http): Allow binding
	`url-mime-accept-string' (bug#22855).

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a NEWS entry for the colorful VC indicator

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Use colors in the VC mode lines

	* lisp/vc/vc-hooks.el: Make the mode line faces default to
	using colors to more clearly tell the user what the status is.

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Support <bdo> and <bdi>

	* lisp/net/shr.el (shr-tag-bdo): New function.
	(shr-tag-bdi): Ditto.

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Respect <html dir=auto>

	* lisp/net/shr.el (shr-tag-html): Respect the "auto"
	directional HTML setting.

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Default bidi paragraph direction to nil

	* lisp/net/eww.el (eww-display-html): Default bidi rendering
	to nil, so that possibly more Arabic web pages render
	correctly (bug#22786).
	(eww-setup-buffer): Ditto.

2016-02-29  Mathias Dahl  <mathias.dahl@gmail.com>

	Preserve current column, going up/down in thumbnail view.

2016-02-29  Alan Mackenzie  <acm@muc.de>

	Handle "noise" macros and compiler directives.

	* lisp/progmodes/cc-langs.el (c-symbol-char-key): New language variable.

	* lisp/progmodes/cc-vars.el (c-noise-macro-names)
	(c-noise-macro-with-parens-names): New customizable variables.
	(c-noise-macro-name-re, c-noise-macro-with-parens-name-re): New variables.
	(c-make-noise-macro-regexps): New function.

	* lisp/progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Adapt to treat
	members of c-noise-macro-names as whitespace.
	(c-forward-noise-clause): New function.
	(c-forward-keyword-prefixed-id, c-forward-type, c-forward-declarator)
	(c-forward-decl-or-cast-1, c-backward-over-enum-header)
	(c-guess-basic-syntax CASE 5A.3, CASE 5A.5, CASE 9A):
	Handle "noise clauses" in parallel with, e.g., "hangon key clauses".

	* lisp/progmodes/cc-fonts.el (c-complex-decl-matchers): Handle "noise clauses"
	in parallel with "prefix-spec keywords".

	* lisp/progmodes/cc-mode.el (c-mode, c++-mode, objc-mode): call
	c-make-noise-macro-regexps to initialize the internal variables.

	* doc/misc/cc-mode.texi ("Noise Macros"): New section documenting the new
	facilities.

2016-02-29  Paul Eggert  <eggert@cs.ucla.edu>

	Stop calling res_init

	Emacs shouldn’t need to call res_init any more, now that nscd or
	equivalent is everywhere.  On modern systems, calling res_init
	simply slows Emacs down.  On ancient systems lacking nscd Emacs
	will still work well enough with this change; it’s just that it
	won’t respond to changes in /etc/resolv.conf.
	* configure.ac (HAVE_RES_INIT): Remove.  Worry about -lresolv only
	when configured --with-hesiod.  Hesiod is still used; see, e.g.:
	https://soylentnews.org/meta/article.pl?sid=15/07/13/0255214
	* src/Makefile.in (LIBRESOLV): Remove.  All uses removed.

2016-02-29  Glenn Morris  <rgm@gnu.org>

	* lisp/progmodes/grep.el (grep-save-buffers): Fix type, tweak doc.

	* lisp/progmodes/grep.el (grep-save-buffers): Don't autoload defcustoms.

2016-02-29  Paul Eggert  <eggert@cs.ucla.edu>

	* src/process.c (Fdelete_process): Simplify cast.

2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Use the correct background color when filling nested <divs>

	* lisp/net/shr.el (shr-face-background): Return the first
	background, because that's the one that's visible (bug#22680).

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Make <div> in <li> not insert extra newlines

	* lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
	extra newlines (bug#19587).

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow reading Gnus reports from an offline cache

	* lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group):
	Allow reading bug reports from an offline cache directory.

2016-02-28  Tino Calancha  <f92capac@gmail.com>

	Meta + shift + Fn combos are recognized by xterm>=216.

	* lisp/term/xterm.el (xterm-alternatives-map): Meta + shift +
	Fn combos are recognized by xterm>=216 (bug#22837).

2016-02-28  Simen Heggestøyl  <simenheg@gmail.com>

	Declare $ as an expression prefix in SCSS

	* lisp/textmodes/css-mode.el (scss-mode-syntax-table): Declare $ as an
	expression prefix (bug#22841).

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Revert "Declare $ as an expression prefix in SCSS"

	This reverts commit ffb33264f21e8af60b8055c47baffcf0f6c300df.

	Revering to fix author name.

2016-02-28  Simen  <simenheg@gmail.com>

	Declare $ as an expression prefix in SCSS

	* lisp/textmodes/css-mode.el (scss-mode-syntax-table): Declare $ as an
	expression prefix (bug#22841).

2016-02-28  Hugh Brown  <aardvark@saintaardvarkthecarpeted.com>

	Save buffers before running grep commands

	* lisp/progmodes/grep.el (grep-ask-about-save): New variable (bug#96).
	(grep, lgrep, rgrep): Use it (bug#96).

	* doc/emacs/building.texi (Grep Searching): Document
	`grep-save-buffers'.

	* lisp/progmodes/grep.el (grep-save-buffers): Rename from
	`grep-ask-about-save'.
	(grep--save-buffers): New function.
	(grep, lgrep, rgrep): Use it.

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow sorting flyspell corrections

	* lisp/textmodes/flyspell.el (flyspell-sort): New function (bug#2405).
	(flyspell-sort-corrections-functionx): New variable.
	(flyspell-sort-corrections-alphabetically): New function.
	(flyspell-notify-misspell): Use them.
	(flyspell-auto-correct-word): Ditto.
	(flyspell-emacs-popup): Ditto.
	(flyspell-xemacs-popup): Ditto.  Suggested by Sebastien Delafond.

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Wait for async DNS to complete before freeing resources

	* src/process.c (Fdelete_process): Wait for async DNS to
	complete before freeing the data structures it needs.

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/faces.el: Remove duplicated functions from previous patch.

2016-02-28  Eli Zaretskii  <eliz@gnu.org>

	Fix TLS connections on MS-Windows

	* src/w32.c (sys_write): If 'send' returns with WSAENOTCONN, and
	this is a non-blocking socket whose connection is in progress, set
	errno to EWOULDBLOCK, as expected by GnuTLS and other callers.
	Avoid overwriting the errno value from 'send' by 'ioctlsocket'.
	Suggested by Alain Schneble <a.s@realize.ch>.  (Bug#22789)

2016-02-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a NEWS entry for the read-color change

2016-02-27  Jan Moringen  <jan.moringen@uni-bielefeld.de>

	Show the face colours when completing in `read-color'

	* lisp/faces.el (defined-colors-with-face-attributes): New function.
	(readable-foreground-color, defined-colors-with-face-attributes)
	(readable-foreground-color): Ditto.
	(read-color): Use them (bug#5305).

2016-02-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up the code in parse-time-string-chars

	* lisp/calendar/parse-time.el (parse-time-string-chars):
	Clean up the code a bit.

2016-02-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Add some tests for parse-time.el

	* test/lisp/calendar/parse-time-tests.el: New file.

2016-02-27  Dima Kogan  <dima@secretsauce.net>

	Strip out some leading whitespace when looking at logs

	* lisp/vc/vc-git.el (vc-git-expanded-log-entry): When looking
	at expanded git logs with `vc-print-root-log' (C-x v L, then
	<enter> by default), Emacs was stripping out all leading
	whitespace from git logs.  I now strip exactly 2 leading
	spaces, which retains the indentation in the logs (bug#18110).

2016-02-27  Dima Kogan  <dima@secretsauce.net>

	Use a separate history variable for align-regexp

	* lisp/align.el (align-regexp-history): New variable (bug#16891).
	(align-regexp): Use it.

2016-02-27  Phil Sung  <philbert@gmail.com>

	Create subdirectories automatically in wdired

	* lisp/wdired.el (wdired-create-parent-directories): New
	variable (bug#6817).
	(wdired-create-parentdirs): New function.
	(wdired-do-renames): Use it.
	* doc/emacs/dired.texi (Wdired): Mention
	`wdired-create-parent-directories'

2016-02-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Return the correct error values from gnutls.c

	* src/gnutls.c (emacs_gnutls_read): Set errno to the value
	expected by process.c.
	(gnutls_try_handshake): Set gnutls_p to true earlier to avoid
	possible race condition with the process.c socket polling
	functions.

2016-02-27  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	Don't make assumptions about mkdir.  (Bug#22822)

	* test/Makefile.in (MKDIR_P): New, set by configure.
	(%.log): Use MKDIR_P.

2016-02-27  Alexander Kuleshov  <kuleshovmail@gmail.com>

	Support switching to hexl-mode from image-mode

	* lisp/image-mode.el (image-toggle-hex-display)
	(image-mode-to-text): New functions.
	(image-mode-map, image-minor-mode-map): Bind "C-c C-x" to
	image-toggle-hex-display.
	(image-mode-map): New menu item "Show as Hex".
	(image-mode): Update doc string and echo-area message.
	(image-toggle-display): Support toggle to hex.  (Bug#22453)

	* doc/emacs/files.texi (File Conveniences): Document
	'image-toggle-hex-display'.

2016-02-27  Eli Zaretskii  <eliz@gnu.org>

	Remove unused code in coding.c

	* src/coding.c (decode_eol): Remove unused code that handled the
	case of coding->dst_object being nil.  Replace it with an
	assertion.

2016-02-26  Aurelien Aptel  <aaptel@suse.com>

	* src/syntax.c: Fix result of syntax_multibyte()

	The ?: operator has a lower precedence than ||.
	Bug introduced by commit 45b683a.

2016-02-26  Paul Eggert  <eggert@cs.ucla.edu>

	--enable-gcc-warnings now uses -Wjump-misses-init

	When configuring with --enable-gcc-warnings, also enable
	-Wjump-misses-init, as it’s confusing to use a goto to skip over
	an initialization.  Fix the few places in the code that run afoul
	of this warning.
	* configure.ac (WERROR_CFLAGS): Add -Wjump-misses-init.
	* src/doc.c (Fsubstitute_command_keys):
	* src/image.c (svg_load_image):
	* src/regex.c (re_match_2_internal):
	* src/xdisp.c (redisplay_internal, redisplay_window):
	Don’t jump over initialization.

2016-02-26  Jussi Lahdenniemi  <jussi@aprikoodi.fi>

	Improve the register-hotkey functionality on MS-Windows

	* src/w32fns.c (_WIN32_WINNT): Define to 0x0600, needed for
	keyboard hook functionality.
	Include w32inevt.h, basetyps.h and unknwn.h.
	(VK_ANY, WM_WTSSESSION_CHANGE, WTS_SESSION_LOCK): New macros.
	(kbdhook): A new struct definition.
	(funhook, setup_w32_kbdhook, remove_w32_kbdhook, hook_w32_key)
	(check_w32_winkey_state, reset_w32_kbdhook_state): New functions.
	(modifier_set): Call check_w32_winkey_state if a Win key was
	pressed and the keyboard hook is active.
	(w32_wnd_proc): Don't handle Win key combinations if the keyboard
	hook is active.  Only register/unregister the hotkeys if the
	keyboard hook is not active.  When WM_CREATE is received, call
	setup_w32_kbdhook.  When WM_DESTROY is received, call
	reset_w32_kbdhook_state.
	(lookup_vk_code): When the keyboard hook is active, map
	alphanumeric characters to themselves.
	(w32_parse_and_hook_hot_key): Renamed from w32_parse_hot_key.  Map
	modified keys to VK_ANY if the keyboard hook is active.  Register
	Alt-x and Win-x combinations.
	(Fw32_shell_execute): Update doc string to reflect new
	functionality.  Bypass the code that posts the
	WM_EMACS_REGISTER_HOT_KEY message if the keyboard hook is active.
	(Fw32_unregister_hot_key): Bypass the code that posts the
	WM_EMACS_UNREGISTER_HOT_KEY message if the keyboard hook is active.
	(syms_of_w32fns) <w32-pass-lwindow-to-system>
	<w32-pass-rwindow-to-system, w32-phantom-key-code>
	<w32-lwindow-modifier, w32-rwindow-modifier>: Update doc strings
	to reflect the new functionality.
	* src/w32console.c (initialize_w32_display): Install the low-level
	keyboard hook.
	* src/w32inevt.c (key_event): Handle Win-x combinations only if
	the keyboard hook is not active.  If the hook is active, use
	check_w32_winkey_state instead.
	* src/w32term.h (setup_w32_kbdhook, remove_w32_kbdhook)
	(check_w32_winkey_state): Add prototypes.
	(w32_kbdhook_active): New macro.

	* doc/emacs/msdos.texi (Windows Keyboard): Update to reflect the
	new functionality.

2016-02-25  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	Add forward-sexp (and related) tests

	* test/lisp/emacs-lisp/lisp-tests.el: New file for testing
	forward-sexp and related functions (bug#22800).

2016-02-25  Jan Tatarik  <jan.tatarik@gmail.com>

	Don't use (localised) week days in dates

	* lisp/gnus/gnus-icalendar.el
	(gnus-icalendar-event:org-timestamp): Don't use (localised)
	week days in the dates, because that messes up things later.

2016-02-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	Update pcomplete/find

	* lisp/pcmpl-gnu.el (pcomplete/find): Update to newest version
	(bug#10487).

2016-02-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Make parse-time-string-chars more efficient

	* lisp/calendar/parse-time.el (parse-time-string-chars): The
	string has already been downcase, so don't care about case
	(bug#18522).

2016-02-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove killed buffers from the list of Gnus buffers

	* lisp/gnus/gnus.el (gnus-prune-buffers): Remove killed
	buffers from the list of Gnus buffers (bug#18522).

2016-02-25  Paul Eggert  <eggert@cs.ucla.edu>

	Integer overflow cleanups for ports and socklen

	* src/process.c (struct sockaddr_and_len, conv_sockaddr_to_lisp)
	(get_lisp_to_sockaddr_size, Fset_process_datagram_address)
	(connect_network_socket):
	Use ptrdiff_t, not int, for signed object sizes.
	This addresses only a theoretical problem, as in practice these
	object sizes are less than 2**31, but we might as well use the
	same style here as elsewhere in Emacs.
	(string_integer_p): Remove; all uses removed.
	(Fmake_network_process): Check that port number is in range.
	When converting an integer-string service, rely on strtol
	rather than rechecking the string by hand.
	* src/process.h, src/w32.c (conv_sockaddr_to_lisp):
	Adjust prototypes to match.

2016-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	Add pcomplete support for find

	* lisp/pcmpl-gnu.el (pcomplete/find): Add pcomplete support
	for find (bug#10487).

2016-02-24  Per Starbäck  <starback@stp.lingfil.uu.se>

	Replace XXX acronyms with draft standard ones

	* lisp/international/characters.el (c1-acronyms): Replace XXX
	entries with the acronyms PAD, HOP, SGCI from draft DIS 10646
	(bug#13745).

2016-02-24  Kevin Ryde  <user42@zip.com.au>

	Make checkdoc warn about variables described as "True"

	* checkdoc.el (checkdoc-this-string-valid-engine): Docstrings for
	variables "True...", and functions "Return true...", should usually be
	"non-nil" (bug#15506).

2016-02-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Add NEWS entry for "number string" change

2016-02-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow using "number strings" as services on non-GNU systems

	* src/process.c (string_integer_p): New function.
	(Fmake_network_process): Use it to allow connecting to
	services specified as "993" even when getaddrbyname isn't
	available.

2016-02-24  Michael Albinus  <michael.albinus@gmx.de>

	Fix problem in tramp.texi

	* doc/misc/tramp.texi (File name completion): Do not use
	@trampfn{} for IPv6 addresses.  Somehow, it results in errors
	during PDF creation.

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Make image commands available in image-mode

	* lisp/image-mode.el (image-mode-map): Inherit from
	`image-map' so that the usual image commands work.

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Move `o' to `O' in shr-map

	* lisp/net/shr.el (shr-map): `shr-save-contents' has moved
	from `o' to `O' to avoid collisions with `image-map'.

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Make setting the coding system non-blocking

	* src/process.c (Fset_process_filter_multibyte): Defer
	completing coding system setup in asynchronous processes.
	(Fset_process_coding_system): Ditto.

2016-02-23  Gregoire Jadi  <daimrod@gmail.com>

	Mention `proced-toggle-auto-update' in the proced-mode doc string

	* lisp/proced.el (proced-mode): Mention
	`proced-toggle-auto-update' (bug#14341).

2016-02-23  Joshua Datko  <jbdatko@gmail.com>  (tiny change)

	Add a fortune-message command

	* lisp/play/fortune.el (fortune-message): Add a command to
	display fortunes in the echo area (bug#14915).

2016-02-23  Susanne Oberhauser  <froh@suse.com>  (tiny change)

	Add hideshow bindings analogous to outline mode

	* lisp/progmodes/hideshow.el (hs-minor-mode-map): Add bindings
	analogous to outline mode bindings (bug#15324).

2016-02-23  Bastien Guerry  <bzg@altern.org>

	Allow highlighting things like @math{2^{12}}

	* lisp/textmodes/texinfo.el (texinfo-font-lock-keywords):
	Allow highlighting things like @math{2^{12}} (bug#16390).

2016-02-23  Per Bothner  <per@bothner.com>

	Make `C-{up,down,left,right}' work in term mode

	* lisp/term.el (term-raw-map): Define C-{up,down,left,right}
	to send the same escape sequence that xterm sends.  This makes
	backward-word and forward-word work in readline (bug#16746).

2016-02-23  Dima Kogan  <dima@secretsauce.net>

	Allow ff-find-other-file (etc) to work with indirect clone buffers

	* lisp/find-file.el (ff-buffer-file-name): New function to
	allow the feature to work with indirect buffers, too
	(bug#16904).
	(ff-find-the-other-file): Use it.
	(ff-other-file-name): Ditto.
	(ff-get-file-name): Ditto.

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix error in add-change-log-entry when the entry has no newline

	* lisp/vc/add-log.el (add-change-log-entry): The entry in the
	ChangeLog may end without a new line starting with blanks.

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid using mm-util functoins in gravatar.el

	* lisp/image/gravatar.el (gravatar-retrieve): Avoid using
	mm-util functions.
	(gravatar-retrieve-synchronously): Ditto.

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Move low-level library files from the lisp/gnus directory

	The files moved from lisp/gnus are:

	auth-source.el -> /
	compface.el -> /image
	ecomplete.el -> /
	flow-fill.el -> /mail
	gravatar.el -> /image
	gssapi.el -> /net
	html2text.el -> /net
	ietf-drums.el -> /mail
	mail-parse.el -> /mail
	mail-prsvr.el -> /mail
	mailcap.el -> /net
	plstore.el -> /
	pop3.el -> /net
	qp.el -> /mail
	registry.el -> /
	rfc1843.el -> /international
	rfc2045.el -> /mail
	rfc2047.el -> /mail
	rfc2231.el -> /mail
	rtree.el -> /
	sieve-manage.el -> /net
	sieve-mode.el -> /net
	sieve.el -> /net
	starttls.el -> /net
	utf7.el -> /international
	yenc.el -> /mail

2016-02-23  Tino Calancha  <f92capac@gmail.com>

	Allow undoing changes while doing query-replace

	* doc/lispref/searching.texi (Search and Replace): Mention
	undo (bug#21684).

	* lisp/replace.el (query-replace-help): Document undo.
	(perform-replace): Implement undo while replacing text.

2016-02-23  John F. Trudeau  <JFTrudeau@aetna.com>  (tiny change)

	Highlight assignments in Makefiles more correctly

	* lisp/progmodes/make-mode.el (makefile-macroassign-regex):
	Highlight assignments preceded by a TAB character correctly
	(bug#20787).

2016-02-23  Fredrik Bergroth  <fbergroth@gmail.com>  (tiny change)

	Use memmove instead of memcpy on overlapping regions

	* src/editfns.c (Ftranspose_regions): Regions may overlap, so
	use memmove instead of memcpy (bug#19213).

2016-02-23  Paul Eggert  <eggert@cs.ucla.edu>

	Port to --enable-gcc-warnings sans getaddrinfo_a

	* src/process.c (Fmake_network_process): Add ATTRIBUTE_UNUSED
	to a local unused when getaddrinfo_a is missing.
	Resize portbuf to size needed.  Do cheap test first.
	Move local to block where it’s needed.

2016-02-23  Paul Eggert  <eggert@cs.ucla.edu>

	Minor cleanups for async DNS etc.

	* src/frame.h (FRAME_WINDOW_CONFIGURATION_CHANGED):
	Omit unnecessary parens.
	* src/gnutls.c (gnutls_try_handshake, emacs_gnutls_deinit)
	(gnutls_verify_boot):
	Use bool for boolean.
	(ATTRIBUTE_FORMAT_PRINTF): Add printf attribute.
	* src/process.c (free_dns_request, Fmake_network_process):
	Allocate and free async request control block all in one go.
	(set_network_socket_coding_system, finish_after_tls_connection)
	(connect_network_socket):
	Now static.
	(conv_numerical_to_lisp): 2nd arg is now int, not unsigned.
	(Fmake_network_process): Use list1 for brevity.
	(wait_for_socket_fds): 2nd arg is now const ptr.
	* src/process.h (struct Lisp_Process.dns_request):
	Now struct gaicb *, not struct gaicb **, since there was always
	exactly one.  All uses changed.
	* src/window.c, src/window.h (run_window_configuration_change_hook):
	Now static.

2016-02-23  Carlos Pita  <carlosjosepita@gmail.com>

	Allow more shell script defun forms

	* lisp/progmodes/sh-script.el (sh-mode): Allow more shell
	script defun forms, like function name () {...} (bug#19754).

2016-02-23  Martin Rudalics  <rudalics@gmx.at>

	Fix `window-configuration-change-hook' and `window-size-change-functions'

	(1) Run `window-configuration-change-hook' if and only if at least
	one window was deleted or created or shows another buffer since
	last redisplay.

	(2) Run `window-size-change-functions' if and only if at least
	one window changed its size since last redisplay (in a few cases
	`window-size-change-functions' will also run when no window
	changed its size).

	(3) Provide two functions `window-pixel-height-before-size-change'
	and `window-pixel-width-before-size-change' that allow to easily
	detect which window changed size.

	* src/frame.h (struct frame): New boolean member
	window_configuration_changed.
	(FRAME_WINDOW_SIZES_CHANGED): Remove macro.
	(FRAME_WINDOW_CONFIGURATION_CHANGED): New macro.
	* src/frame.c (adjust_frame_size): Don't run
	`window-configuration-change-hook'.
	* src/window.h (struct window): New fields
	pixel_width_before_size_change and pixel_height_before_size_change.
	(WINDOW_INTERNAL_P): New macro.
	* src/window.c (Fwindow_pixel_width_before_size_change)
	(Fwindow_pixel_height_before_size_change): New functions.
	(Fdelete_other_windows_internal, Fwindow_resize_apply)
	(resize_frame_windows, Fsplit_window_internal)
	(Fdelete_window_internal, grow_mini_window)
	(shrink_mini_window, Fresize_mini_window_internal): Don't call
	FRAME_WINDOW_SIZES_CHANGED.
	(window_size_changed, window_set_before_size_change_sizes)
	(run_window_size_change_functions): New functions.
	(make_window): Initialize pixel_width_before_size_change and
	pixel_height_before_size_change.
	(Fdelete_window_internal): Don't call
	run_window_configuration_change_hook.
	(struct saved_window): Add pixel_height_before_size_change and
	pixel_width_before_size_change.
	(Fset_window_configuration): Try to identify window configuration
	changes correctly so run_window_configuration_change_hook and
	run_window_size_change_functions run only if configuration and size
	really changed.
	(save_window_save): Set the pixel_height_before_size_change and
	pixel_width_before_size_change fields.
	(Vwindow_size_change_functions): Move here definiton from xdisp.c.
	* src/xdisp.c (prepare_menu_bars, redisplay_internal): Call
	run_window_size_change_functions.
	(Vwindow_size_change_functions): Move definition to window.c.
	* src/xfns.c (x_set_menu_bar_lines): Don't call
	run_window_configuration_change_hook.
	* doc/lispref/windows.texi (Window Sizes): Document new
	functions `window-pixel-height-before-size-change' and
	`window-pixel-width-before-size-change'.
	(Window Configurations): Mention that this may trigger
	execution of `window-size-change-functions' although no window
	changed size.
	(Window Hooks): Update descriptions of `window-size-change-functions'
	and `window-configuration-change-hook'.

2016-02-23  Drew Adams  <drew.adams@oracle.com>

	(ls-lisp-insert-directory): Make -B work

	* lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work
	(bug#20776).

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix typo in message-setup-fill-variables

	* lisp/gnus/message.el (message-setup-fill-variables): Fix
	typo in a recent checkin that used `setq-default' instead of
	`setq-local' (bug#22781).

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	`message-dont-reply-to-names' can also be a list of regexps

	* lisp/gnus/message.el (message-dont-reply-to-names):
	`message-dont-reply-to-names' can also be a list of regexps (bug#22773).

2016-02-23  Vaidheeswaran C  <vaidheeswaran.chinnaraju@gmail.com>

	Make buttons in header lines work

	* lisp/help-mode.el (help-button-action): `help-xref-button' in
	header line doesn't work (bug#21024).

2016-02-23  Vasilij Schneidermann  <v.schneidermann@gmail.com>

	Place apples randomly in Snake

	* lisp/play/snake.el (snake-score): New variable (bug#21359).
	(snake-set-dot): Place the apples randomly.

2016-02-23  Tino Calancha  <f92capac@gmail.com>

	Allow optional parameter to be nil

	* lisp/ibuf-ext.el (ibuffer-copy-filename-as-kill): Allow the
	optional parameter to be nil (bug#21576).

2016-02-23  Tino Calancha  <f92capac@gmail.com>

	Completely ignore buffers with no name when copying file names

	* lisp/ibuf-ext.el (ibuffer-copy-filename-as-kill): Completely
	ignore buffers with no file name. (bug#21577).

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Make spelling of "Eshell" consistent

	* lisp/eshell/esh-mode.el (eshell-mode): Spell it "Eshell".
	* lisp/eshell/eshell.el (eshell-command):
	Spell it "Eshell" (bug#21678).

2016-02-23  Simen Heggestøyl  <simenheg@gmail.com>

	Allow pretty lambdas in Scheme mode

	* lisp/progmodes/scheme.el (scheme-mode-variables): Borrow
	`prettify-symbols-alist' from Lisp mode (bug#21679).

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Rename lisp--prettify-symbols-alist

	* lisp/emacs-lisp/lisp-mode.el (lisp-prettify-symbols-alist):
	Rename from `lisp--prettify-symbols-alist' since we're going
	to use it in Scheme mode, too.
	(lisp-mode-variables): Use it.

2016-02-23  Chunyang Xu  <xuchunyang56@gmail.com>  (tiny change)

	Remove spurious newline in package list

	* lisp/emacs-lisp/package.el (describe-package-1): Remove
	spurious newline (bug#21706).

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Revert "Remove spurious newline in package list"

	This reverts commit fad14c289d36a2c61e0fd34105ebb1f62c80d71d.

2016-02-23  Chunyang Xu  <xuchunyang56@gmail.com>

	Remove spurious newline in package list

	* lisp/emacs-lisp/package.el (describe-package-1): Remove
	spurious newline (bug#21706).

2016-02-22  Tino Calancha  <f92capac@gmail.com>  (tiny change)

	Keep the position in the process buffer when deleting processes

	* lisp/simple.el (process-menu-delete-process): Keep the
	position in the buffer after killing a process (bug#21759).

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Require that the buffer that we're trying to patch exist

	* lisp/vc/ediff.el (ediff-patch-buffer): Require that the
	buffer that we're trying to patch exist (bug#21852).

2016-02-22  Tino Calancha  <f92capac@gmail.com>  (tiny change)

	Require that the buffer that we're trying to patch exist

	* lisp/vc/ediff.el (ediff-patch-buffer): Require that the
	buffer that we're trying to patch exist (bug#21852).

2016-02-22  Tino Calancha  <f92capac@gmail.com>  (tiny change)

	Be more verbose when changing frame mode in ediff

	* lisp/vc/ediff-util.el (ediff-toggle-multiframe): Say what
	mode we toggled to (bug#21853).

2016-02-22  Łukasz Stelmach  <stlman@poczta.fm>

	Encode header strings before printing

	* lisp/ps-print.el (ps-generate-header-line): Encode the
	header strings to avoid problems with non-ASCII headers
	(bug#22611).

2016-02-22  Michal Nazarewicz  <mina86@mina86.com>

	Test message-strip-subject-trailing-was

	* test/lisp/gnus/message-test.el (message-strip-subject-trailing-was):
	New test (bug#22632).

2016-02-22  Michal Nazarewicz  <mina86@mina86.com>

	Make use of the `ert-with-function-mocked' macro

	* test/lisp/calendar/icalendar-tests.el (icalendar--create-uid):
	* test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-bug9781): Use
	`ert-with-function-mocked' instead of implementing the fragile
	`unwind-protect' logic openly.

2016-02-22  Michal Nazarewicz  <mina86@mina86.com>

	message-strip-subject-trailing-was: Refactor

	* lisp/gnus/message.el (message-strip-subject-trailing-was): Refactor
	the function replacing sequence of `if' calls with a mixture of `or'
	and `and' calls instead.  This makes it shorter and containing less
	internal state thus easier to follow.

2016-02-22  Michal Nazarewicz  <mina86@mina86.com>

	ert-with-function-mocked: New macro

	* lisp/emacs-lisp/ert-x.el (ert-with-function-mocked): New macro which
	allows evaluating code while particular function is replaced with
	a mock.  The original definition of said function is restored once the
	macro finishes.

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Move Gnus functions frm rfc1843 to new file gnus-rfc1843

	* lisp/gnus/gnus-rfc1843.el: New file for Gnus/rfc1843
	interface functions.

	* lisp/gnus/rfc1843.el: Move all Gnus-specifig functions to
	gnus-rfc1843.

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use mm-util functions in qp.el

	* lisp/gnus/qp.el (quoted-printable-decode-region): Don't use
	mm-util functions.
	(quoted-printable-encode-string): Ditto.
	(quoted-printable-encode-region): Ditto.

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't require mm-util

	* lisp/gnus/ietf-drums.el (mm-util): Don't require.

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus functions from auth-source.el

	* lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
	Remove usage of Gnus utility function.
	(mm-util, gnus-util): Don't require.

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow deleting all non-matching cookies

	* lisp/url/url-cookie.el (url-cookie-delete-cookies): Allow
	keeping matching cookies (bug#22720).

2016-02-22  Lars Ingebrigtsen  <larsi@gnus.org>

	Make (setf (image-property ...)) return VALUE

	* lisp/image.el (image--set-property): Return VALUE, not IMAGE.

2016-02-22  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	a9c48d5 Additional fixes for file notification
	6bd9d69 Fix documentation of 'global-disable-point-adjustment'
	8c22ac9 ; Spelling fix
	2975784 Set file modes of pinentry socket for extra safety
	2667b3e Clarify GnuPG version compatibility chapter
	5e34c36 Revert "Change the default socket location for pinentry"
	e19c1c3 Kill off xref--display-history
	5698947 Keep the xref buffer visible until the user quits it explicitly
	e34fbde Change the default socket location for pinentry
	5f89658 Mention how to enable pinentry feature
	db51224 Sync with gnulib
	aa5a794 Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
	2d8b2fd Restore point when writing semantic table to disk
	27d3430 Mention pinentry.el in epa manual
	5baa001 Fix Bug#22736
	7261355 Grammar fix in doc string
	d0f3b18 Naming fix for consistency
	74ec92d Prefer customized value for GnuPG executable
	ea0b604 Fix memory reservation on MS-Windows
	c5f72aa Update NextStep readme and add wish list.
	6de26a7 Report also result in `file-notify--test-event-handler'
	5d17ae7 Improve file-notify-test08-watched-file-in-watched-dir
	1cb1268 Fix todo-mode item date editing bugs
	1e996cf Fix "[:upper:]" for non-ASCII characters
	896f993 Allow customising the article mode cursor behavior
	24c1c1d Use pop-to-buffer-same-window in woman.el
	2a75f64 New filenotify test for bug#22736
	c9bccf7 Report critical battery errors
	d675db9 Make eww message toggling message clearer
	5e0bb40 * lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
	fa8fd65 ; Improve character-folding entries in NEWS
	3722a69 Fix bugs in window resizing code
	289d5c6 Fix decoding DOS EOL in a unibyte buffer
	2abcb06 Correct c-parse-state cache manipulation error.
	14aec91 Take advantage of new GnuPG version check function
	e80c2a7 Make GnuPG version check robuster
	15a9464 Fix x-load-color-file pointer signedness
	132dbf0 * lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.
	78ab6f1 Follow convention for greek letter constants.
	106b5bb Add Stefan-Boltzmann constant to calc units table.
	b96baa8 * lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
	5f91cf9 Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw.  (Bug#22669)
	2d40f7d Fix soffice UserInstallation-URL for Windows
	b1a3ebe Fix display of <pre> elements
	57d0e3d ; * lisp/help-fns.el: Remove outdated comment.
	7a0628d ; * admin/make-tarball.txt: Mention cleaning.

2016-02-22  Oleh Krehel  <ohwoeowho@gmail.com>

	lisp/calendar/appt.el (appt-delete-window): Check if buffer is live

	* lisp/calendar/appt.el (appt-delete-window): Avoid trying to delete a
	  non-existing buffer.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention the further asynchronousity

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix async TLS boot problem

	* src/process.c (wait_reading_process_output): Verify the boot
	of the correct process.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up forgotten text in manual

	* doc/lispref/display.texi (Defining Images): Remove example
	forgotten when making previous change.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up debugging code

	* src/process.c (Fmake_network_process): Remove debugging printf.
	(wait_for_socket_fds, wait_while_connecting)
	(wait_for_tls_negotiation): Remove newlines from messages.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix merge conflicts in network-stream-tests.el

2016-02-21  Paul Eggert  <eggert@penguin.cs.ucla.edu>

	Port recent filevercmp addition to MS-Windows

	Reported by Andy Moreton in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg01302.html
	* nt/gnulib.mk (libgnu_a_SOURCES): Add filevercmp.c.
	(EXTRA_DIST): Add filevercmp.h.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	add_to_log expects Lisp parameters

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention sentinels in conjunction with :nowait t.

	* doc/lispref/processes.texi (Network Processes): Mention the
	recommended way of using sentinels with :nowait t.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention in the doc strings that process functions may block

	(Fprocess_contact, Fprocess_datagram_address)
	(Fset_process_datagram_address, Fset_network_process_option)
	(Fprocess_send_region, Fprocess_send_string): Mention that the
	functions may block.
	(Fset_process_coding_system): Ditto.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Add blocker warnings to the *Messages* buffer

	* src/process.c (wait_for_socket_fds): Add warning to the log.
	(wait_while_connecting): Ditto.
	(wait_for_tls_negotiation): Ditto.

2016-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	Rework the image property getter/setters

	* doc/lispref/display.texi (Defining Images): Document the
	renamed `image-get/set-property' functions.

	* lisp/image.el (image--set-property): Rename from
	image-set-property.
	(image-property): Declare a setf form.
	(image-property): Rename from `image-get-property'.

2016-02-21  Paul Eggert  <eggert@cs.ucla.edu>

	Use Gnulib filevercmp for version comparison

	* admin/merge-gnulib (GNULIB_MODULES): Add filevercmp.
	* doc/lispref/strings.texi (Text Comparison):
	* etc/NEWS, src/fns.c:
	* test/src/fns-tests.el (fns-tests-string-version-lessp):
	Rename newly-introduced function to string-version-lessp, by
	analogy with strverscmp.
	* lib/filevercmp.c, lib/filevercmp.h: New files, copied from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* src/fns.c: Include <filevercmp.h>.
	(gather_number_from_string): Remove.
	(Fstring_version_lessp): Reimplement via filevercmp.

2016-02-20  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a function to delete URL cookies

	* doc/misc/url.texi (Cookies): Document
	url-cookie-delete-cookies.

	* lisp/url/url-cookie.el (url-cookie-delete-cookies): New function.

2016-02-20  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid integer overflows in string-numeric-lessp

	* src/fns.c (Fstring_numeric_lessp): If we have an integer
	overflow, compare lexicographically.

2016-02-20  Lars Ingebrigtsen  <larsi@gnus.org>

	Add the string-numeric-lessp function

	* doc/lispref/strings.texi (Text Comparison): Document
	`string-numerical-lessp'.

	* src/fns.c (Fstring_numeric_lessp): New function.
	(gather_number_from_string): Helper function for that function.

	* test/src/fns-tests.el (fns-tests-string-numeric-lessp): Add tests.

2016-02-20  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify levels of :nowait t.

	* doc/lispref/processes.texi (Network Processes): Mention
	levels of asynchronicity.

2016-02-20  Alain Schneble  <a.s@realize.ch>

	Respect DNS timeouts

	* src/process.c (check_for_dns): If the async DNS request
	failed and the associated process is still in "connect" state,
	deactivate the process and set status to "failed".

2016-02-19  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a frame around the placeholder image in shr

	* lisp/net/shr.el (shr-make-placeholder-image): Add a frame
	around the image.

2016-02-19  Lars Ingebrigtsen  <larsi@gnus.org>

	Use placeholder images in shr to avoid text moving around

	* lisp/net/shr.el (shr-rescale-image): Pass in width/height
	from the HTML.
	(shr-tag-img): Ditto.
	(shr-string-number): New function.
	(shr-make-placeholder-image): Make placeholder images.
	(shr-tag-img): Insert them if we have SVG support.

2016-02-19  Lars Ingebrigtsen  <larsi@gnus.org>

	Get explicit width/height + scale computations right

	* src/image.c (compute_image_size): :scale should also be
	taken into account when :width and :height are explicitly names.

2016-02-19  Lars Ingebrigtsen  <larsi@gnus.org>

	New functions for getting and setting image properties

	* doc/lispref/display.texi (Defining Images): Document
	image-get/set-property.

	* lisp/image.el (image-set-property): New function.
	(image-get-property): Ditto.

2016-02-19  Alan Mackenzie  <acm@muc.de>

	Await the final mouse event in C-h c and C-h k.

	* lisp/help.el (describe-key-briefly, describe-key): On receiving a mouse
	event, keep reading further events until a timeout occurs, to ensure we have
	the complete mouse event from the user.

2016-02-18  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a library for creating and manipulating SVG images

	* doc/lispref/display.texi (SVG Images): New section.

	* lisp/svg.el: New file.

2016-02-18  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix up tests for async TLS negotiation

2016-02-18  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix coding system setup

	* src/process.c (set_network_socket_coding_system): Pass in
	the host/service that's been computed already.

2016-02-18  Michael Albinus  <michael.albinus@gmx.de>

	Reference `tramp-theme' in GNU ELPA.

	* doc/misc/tramp.texi (Frequently Asked Questions):
	Reference `tramp-theme' in GNU ELPA.

2016-02-17  Lars Ingebrigtsen  <larsi@gnus.org>

	Verify the TLS connection asynchronously

	* src/gnutls.c (gnutls_verify_boot): Refactor out into its own
	function so that we can call it asynchronously.
	(Fgnutls_boot): Use it.

	* src/process.c (wait_reading_process_output): Verify the TLS
	negotiation.

2016-02-16  Simen Heggestøyl  <simenheg@gmail.com>

	Add column layout module to CSS property list

	* lisp/textmodes/css-mode.el (css-property-ids): Add properties from
	CSS Multi-column Layout Module.

2016-02-16  Michael Albinus  <michael.albinus@gmx.de>

	Minor cleanup in CONTRIBUTE and test/README

	* CONTRIBUTE: Remove detailed explanation about testing; this
	is now in test/README.

	* test/README: Don't mention automated/ subdirectory.

2016-02-15  Glenn Morris  <rgm@gnu.org>

	Provide 'term/name in lisp/term files.

	* lisp/term/AT386.el, lisp/term/bobcat.el, lisp/term/cygwin.el:
	* lisp/term/internal.el, lisp/term/iris-ansi.el, lisp/term/linux.el:
	* lisp/term/lk201.el, lisp/term/news.el, lisp/term/ns-win.el:
	* lisp/term/pc-win.el, lisp/term/rxvt.el, lisp/term/screen.el:
	* lisp/term/sun.el, lisp/term/tty-colors.el, lisp/term/tvi970.el:
	* lisp/term/vt100.el, lisp/term/vt200.el, lisp/term/w32-win.el:
	* lisp/term/w32console.el, lisp/term/wyse50.el, lisp/term/x-win.el:
	For consistency, provide 'term/name in all files that don't already.

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Deactivate the correct process

	* src/process.c (wait_reading_process_output): Deactivate the
	correct process on failure.

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Implement asynch TLS negotiation

	* src/gnutls.c (gnutls_try_handshake): Factor out into its own
	function.
	(emacs_gnutls_handshake): Use it.
	(emacs_gnutls_read): Just return instead of retrying the handshake.

	* src/process.c (finish_after_tls_connection): Factor out
	into its own function.
	(connect_network_socket): Use it.
	(wait_reading_process_output): Retry TLS handshakes.
	(wait_reading_process_output): Defer sentinel until TLS completes.

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Simplify the DNS resolution loop a bit

	* src/process.c (wait_reading_process_output): Simplify the
	DNS resolution loop a bit.

2016-02-15  Alain Schneble  <a.s@realize.ch>

	Loop over the process list instead of maintaining a separate list

	* src/process.c: Remove declaration/definition of dns_processes list.
	* src/process.c (wait_reading_process_output): Loop over all processes in
	Vprocess_alist instead of dns_processes, to check for completed DNS
	requests.

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow setting the filter masks later

	* src/process.c (Fset_process_filter): Don't set the socket
	masks here, because we may not have a socket yet.
	(set_process_filter_masks): New function.
	(connect_network_socket): Set the filter masks here.

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove debugging

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Ensure we always free DNS resources when deleting a process

	* src/process.c (free_dns_request): Factor out into own function.
	(Fdelete_process): When deleting a process, free any DNS
	structures associated with it.
	(check_for_dns): Always free all DNS resources.

2016-02-15  Alain Schneble  <a.s@realize.ch>

	Don't block in set-process-window-size

	* src/process.c (set-process-window-size): Explicitly return Qnil when
	called with network processes as set_window_size won't work anyway on
	socket fds.  As a welcome side effect, this makes the blocking
	wait_for_socket_fds call obsolete.

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Do most of the coding system setup earlier

	* src/process.c (Fmake_network_process): Set the read/write
	coding systems here, so that special bindings work.
	(Fmake_network_process): Complete the coding system setup here.

2016-02-15  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	d4b93e1 Minor fixes in global-auto-composition-mode
	02b037b Allow arithmetic operators inside C++ template constructs.
	44b16f6 Avoid crashes in semi-malformed 'condition-case'
	652e5b4 Allow arithmetic operators inside C++ template constructs.
	d9ea795 Fix regression with 'recent-keys' and keyboard macros
	903603f Fix wording in a doc-view.el comment
	cf79616 ; Spelling fixes
	f8bf1b3 CONTRIBUTE cleanups and updates
	f3aaca3 Port USE_STACK_LISP_OBJECTS fix to Clang
	1834ac7 Port to x86 GCC 4.3.1 and earlier
	8482949 Fix point movement under 'scroll-conservatively'
	c1313b5 Replace colon in file name (not legal on Windows)
	f7af26c Fix a typo in edt.texi
	8badf95 Make 'mmap_realloc' on MS-Windows more reliable
	856cd94 Grep alias `all' shall not match parent directory

2016-02-15  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	dacde7e * etc/AUTHORS: Update the AUTHORS file
	478ca5d ; fix changelog entries
	2b7d006 ; make change-history-commit
	851decb * lisp/dired-aux.el: Require cl-lib.  (Bug#22613)
	47896c8 ; Improve commentary in insdel.c
	53ca1e1 Index tilde characters in names of backup files
	d97f522 Document deprecation of hi-lock-mode's 'C-x w' bindings
	b55f06d ; * etc/NEWS: Use double spaces to end a sentence.
	28bb214 Announce that the `C-x w' bindings are deprecated
	1c98f98 Suppress GNUstep hardening
	d82f24b Fix redisplay after a large insertion
	85a2753 Revert "Fix gnus-group-get-new-news-this-group on group with
	        closed server"
	e8e3db0 ; Improve merge documentation in CONTRIBUTE
	5be9989 * lib-src/make-docfile.c: Include stdarg.h.
	c95ebbf Extend gpm-mouse-mode's doc string and doc to point out
	        limitations.

2016-02-15  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	f5d6b9b Revert "Support integer image rotation and respect EXIF rotations"
	afe7d1f Revert "Document EXIF image rotation"
	c6f377c Document OS X LANG default
	eb4a18c Set locale when run from OS X GUI
	456c0a3 make-docfile cleanup for I/O, etc.
	25ec995 Memory-management cleanup in make-docfile
	02d925e Kevin Gallagher has new email address
	4ef153b Improve doc strings of 'forward/backward-word-strictly'
	3ad05a0 Describe Makefile test targets in test/README

2016-02-15  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	10b8ed2 Document EXIF image rotation
	0f60049 Support integer image rotation and respect EXIF rotations
	7dd45b6 Quote table names for postgres listings (sql-mode)
	6bac035 * lisp/replace.el (replace-match-maybe-edit): Make arg
	        `backward' optional.
	ee909aa * lisp/simple.el (next-line-or-history-element): Reset
	        temporary-goal-column.
	0a289d3 Suppress ACL ops if configured with --disable-acl
	1a9dbf5 Mention web bugs
	fa55da2 Make mm-html-blocked-images default to "" again

2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>

	Protect against initial handshake failures

	* src/process.c (connect_network_socket): Mark the connection
	as failed if the handshake didn't succeed yet.  This should be
	reworked later.

2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>

	Call the network security manager after doing TLS negotiation

	* lisp/net/network-stream.el (network-stream-open-tls):
	Postpone NSM verification when running async.

	* src/process.c (Fset_process_filter): This function doesn't
	need to wait.
	(connect_network_socket): Set the process status to "run" only
	after TLS negotiation.
	(wait_for_socket_fds): Take a name parameter for more debugging.
	(wait_reading_process_output): Don't change status to "run"
	unless TLS negotiation has finished.
	(send_process): Wait for the process here instead of
	send_process_string.
	(connect_network_socket): Call the network security manager.

2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove some #ifdefs and update documentation

	* doc/lispref/processes.texi (Network Processes): Remove
	mention of `dns'.

	* lisp/net/network-stream.el (open-network-stream): Remove
	mention of `dns'.

	* src/process.c (Fset_process_filter)
	(Fset_process_window_size, Fprocess_contact)
	(Fprocess_datagram_address, Fset_process_datagram_address)
	(Fset_network_process_option, Fprocess_send_region)
	(Fprocess_send_string, Fset_process_coding_system)
	(Fset_process_filter_multibyte): Remove the #ifdef
	HAVE_GETADDRINFO_A checks.
	(Fprocess_send_string): Wait for TLS negotiation.
	(wait_for_tls_negotiation): New function.
	(send_process): Remove the TLS boot check.

	* src/process.c (Fmake_network_process): Ditto.

2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>

	Use :nowait t in url-gw

	* lisp/url/url-gw.el (url-open-stream): Just use :nowait t,
	since we're not differentiating.

2016-02-14  Alain Schneble  <a.s@realize.ch>

	Add blockers to process functions

	* src/process.c (set-process-filter, set-process-window-size,
	process-contact, process-datagram-address, set-process-datagram-address,
	set-network-process-option): Make functions wait (block) on network
	process until pending DNS requests have been processed and associated
	socket initialized.

	* src/process.c (process-send-region, process-send-string,
	process-send-eof): Make functions wait (block) while network process is
	in connect state.

2016-02-14  Simen Heggestøyl  <simenheg@gmail.com>

	Add fragmentation module to CSS property list

	* lisp/textmodes/css-mode.el (css-property-ids): Add properties from
	CSS Fragmentation Module Level 3.

2016-02-14  Nicolas Petton  <nicolas@petton.fr>

	* doc/lispref/sequences.texi: Add documentation for seq-map-indexed

2016-02-14  Nicolas Petton  <nicolas@petton.fr>

	New function seq-map-indexed

	* lisp/emacs-lisp/seq.el (seq-map-indexed): New function.
	* test/lisp/emacs-lisp/seq-tests.el: Add tests for seq-map-indexed.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/mm-util.el: Remove the mm-string-as-multibyte alias.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix problem with wrong encoding of non-ASCII message bodies

	* lisp/gnus/mml.el (mml-generate-mime-1): Disable
	multibyteness before encoding the data.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove codepage setup code from mm-util

	* lisp/gnus/mm-util.el (mm-codepage-setup): Remove.
	(mm-codepage-iso-8859-list): Remove.
	(mm-codepage-ibm-list, mm-setup-codepage-iso-8859)
	(mm-setup-codepage-ibm): Remove.
	(mm-charset-eval-alist): Remove the code pages from the
	default value.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code for older Emacsen

	* lisp/gnus/gnus-art.el (gnus-button-url-regexp): Remove
	XEmacs compat code.

	* lisp/gnus/gnus-sync.el (gnus-sync-json-alist-p): Remove
	unused compat function.
	(gnus-sync-json-plist-p): Ditto.

	* lisp/gnus/message.el (message-default-charset): Make obsolete.
	(message-info): Remove compat code.
	(message-setup-fill-variables): Remove kludge needed earlier
	to not overwrite `normal-auto-fill-function'.
	(message-split-line): Remove compat code.

	* lisp/gnus/mm-view.el (mm-display-inline-fontify): Remove
	compat code.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove some compat functions from gmm-utils.el

	* lisp/gnus/gmm-utils.el (gmm-tool-bar-from-list): Remove
	compat code.
	(gmm-image-search-load-path): Remove.
	(gmm-image-load-path-for-library): Remove.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove the gmm-lazy and nnmail-lazy compat widgets

	* lisp/gnus/gmm-utils.el (gmm-lazy): Remove.

	* lisp/gnus/nnmail.el (nnmail-lazy): Remove.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up nnimap-request-move-article slightly

	* lisp/gnus/nnheader.el (subr-x): Require.

	* lisp/gnus/nnimap.el (nnimap-request-move-article): Clean up
	the code slightly.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Use open-network-stream instead of open-protocol-stream

	* lisp/gnus/nnimap.el: Use open-network-stream instead of
	open-protocol-stream.

	* lisp/gnus/nntp.el: Ditto.

	* lisp/gnus/pop3.el: Ditto.

	* lisp/gnus/sieve-manage.el: Ditto.

	* lisp/net/network-stream.el (open-protocol-stream): Make obsolete.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code that relies on (featurep 'mule)

	* lisp/gnus/gnus-group.el (gnus-group-name-decode): Remove
	compat code.

	* lisp/gnus/gnus-start.el (gnus-read-descriptions-file):
	Remove compat code.

	* lisp/gnus/mm-bodies.el (mm-decode-body, mm-decode-string):
	Remove compat code.

	* lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
	Remove compat code.
	(mm-w3m-standalone-supports-m17n-p): Ditto.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat functions from starttls.el

	* lisp/gnus/starttls.el
	(starttls-set-process-query-on-exit-flag): Remove.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat functions from smime.el

	* lisp/gnus/smime.el (smime-replace-in-string): Remove.
	(smime-make-temp-file): Remove.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from smiley

	* lisp/gnus/smiley.el (smiley-style): Remove compat code.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from rfc2047

	* lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Remove
	compat code.
	(rfc2047-decode-string): Ditto.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat function from pop3

	* lisp/gnus/pop3.el (pop3-set-process-query-on-exit-flag): Remove.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code in Gnus backends

	* lisp/gnus/nndiary.el (nndiary-error): Remove.

	* lisp/gnus/nndraft.el (nndraft-request-associate-buffer): Ditto.

	* lisp/gnus/nnfolder.el (nnfolder-read-folder): Ditto.

	* lisp/gnus/nnheader.el (nnheader-find-file-noselect): Ditto.

	* lisp/gnus/nnimap.el (nnimap-log-buffer): Remove compat code.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from some mml files

	* lisp/gnus/mml-sec.el (mml-secure-passphrase-cache-expiry):
	Remove compat code.

	* lisp/gnus/mml-smime.el (mml-smime-openssl-sign-query):
	Always use `mail-extract-address-components', since this isn't
	time critical.
	(mml-smime-get-dns-cert): Ditto.

	* lisp/gnus/mml.el (mml-preview): Remove compat code.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code and compat functions from mm-util.el

	* lisp/gnus/mm-util.el (mm-mime-mule-charset-alist): Remove
	compat code.
	(mm-coding-system-priorities)
	(mm-mule-charset-to-mime-charset, mm-charset-after)
	(mm-mime-charset, mm-iso-8859-x-to-15-region): Remove compat code.
	(mm-detect-coding-region): Define unconditionally.
	(mm-detect-mime-charset-region): Ditto.
	(mm-coding-system-to-mime-charset): It's 'mime-charset now.
	(coding-system-name)
	(find-file-coding-system-for-read-from-filename)
	(find-operation-coding-system): Remove aliases.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove some compat code from mm-*.el

	* lisp/gnus/mm-bodies.el (mm-decode-body): Ditto.

	* lisp/gnus/mm-decode.el (mm-tmp-directory)
	(mm-valid-image-format-p): Remove compat code.

	* lisp/gnus/mm-url.el (mm-url-insert-file-contents): Remove
	"Connection" "Close" workaround for older Emacsen.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code and functions from message.el

	* lisp/gnus/message.el (message-send-mail-function): Remove
	compat code.
	(message-dont-reply-to-names, message-mode)
	(message-setup-fill-variables, message-fill-paragraph)
	(message-remove-blank-cited-lines, message-make-from)
	(message-forward-rmail-make-body, message-tool-bar-gnome)
	(message-tab): Remove compat code.
	(message-completion-in-region): Remove.
	(message-read-from-minibuffer): Remove compat code.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Declare rfc1843 instead of autoloading

	* lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare
	instead of autoload.

2016-02-13  Eli Zaretskii  <eliz@gnu.org>

	Avoid signaling an error in 'dired-do-find-regexp-and-replace'

	* lisp/dired-aux.el: Require cl-lib, so that 'cl-mapcan' is
	autoloaded correctly.  (Bug#22613)

2016-02-13  Eli Zaretskii  <eliz@gnu.org>

	Fix network-stream-tests.el for MS-Windows

	* test/lisp/net/network-stream-tests.el
	(connect-to-tls-ipv6-nowait): Skip for MS-Windows builds.
	(connect-to-tls-ipv4-wait): Add a 0.1 sleep-for.

2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove some Message compat functions

	* lisp/gnus/message.el (message-kill-all-overlays): Define
	unconditionally.
	(message-window-inside-pixel-edges): Remove.
	(mail-dont-reply-to): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove some Gnus compat code

	* lisp/gnus/gnus-art.el (gnus-mime-inline-part): Remove compat code.
	(gnus-mm-display-part): Ditto.

	* lisp/gnus/gnus-start.el (gnus-dribble-read-file): Remove
	compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Sort groups before inserting them into the group buffer

	* lisp/gnus/gnus-group.el (gnus-group-describe-all-groups):
	Sort groups before inserting them.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Make "unseen" tracking work again in Gnus

	* lisp/gnus/gnus-sum.el (gnus-update-marks): Make "unseen"
	tracking work again.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus compat functions defined in gnus.el

	* lisp/gnus/gnus.el (gnus-extent-detached-p): Remove.
	(gnus-extent-start-open, gnus-character-to-event)
	(gnus-assq-delete-all, gnus-add-text-properties)
	(gnus-put-text-property, gnus-key-press-event-p):

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-uu and win

	* lisp/gnus/gnus-util.el (gnus-image-type-available-p): Remove
	compat code.

	* lisp/gnus/gnus-uu.el (gnus-uu-tmp-dir): Remove compat code.

	* lisp/gnus/gnus-win.el (gnus-frames-on-display-list): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove several gnus-util compat functions

	* lisp/gnus/gnus-util.el (gnus-set-process-query-on-exit-flag): Remove.
	(gnus-read-shell-command): Remove.
	(gnus-match-substitute-replacement): Remove.
	(gnus-string-match-p): Remove.
	(gnus-string-prefix-p): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove the gnus-merge alias

	* lisp/gnus/gnus-util.el (gnus-merge): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove the gnus-union alias

	* lisp/gnus/gnus-util.el (gnus-union): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove the gnus-delete-alist alias

	* lisp/gnus/gnus-util.el (gnus-run-mode-hooks): Remove compat code.
	(gnus-delete-alist): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove the gnus-float-time alias

	* lisp/gnus/gnus-util.el (gnus-completion-styles): Remove
	compat code.
	(gnus-float-time): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-srvr, start and sum

	* lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Remove
	compat code.

	* lisp/gnus/gnus-start.el (gnus-check-reasonable-setup):
	Remove compat code.

	* lisp/gnus/gnus-sum.el (gnus-summary-display-arrow)
	(gnus-summary-make-menu-bar, gnus-summary-make-tool-bar)
	(gnus-recenter)
	(gnus-summary-limit-strange-charsets-predicate)
	(gnus-summary-show-thread): Remove compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-spec.el

	* lisp/gnus/gnus-spec.el (gnus-lrm-string-p): Remove compat code.
	(gnus-balloon-face-function): Remove compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix compat change in last check-in

	* lisp/gnus/gnus-group.el
	(gnus-group-name-charset-group-alist): `find-coding-system'
	doesn't exist in Emacs.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Always use url-queue

	* lisp/gnus/gnus-html.el (gnus-html-schedule-image-fetching):
	Always use url-queue.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat functions from gnus-html.el

	* lisp/gnus/gnus-html.el (gnus-html-encode-url-chars): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-group.el

	* lisp/gnus/gnus-group.el (gnus-group-name-charset-group-alist)
	(gnus-group-make-tool-bar, gnus-group-update-tool-bar): Remove compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Define gnus-diary-kill-entire-line unconditionally

	* lisp/gnus/gnus-diary.el (gnus-diary-kill-entire-line):
	Define unconditionally.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-cache and gnus-bookmark

	* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Ditto.

	* lisp/gnus/gnus-cache.el (gnus-cache-decoded-group-name):
	Remove compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-art.el

	* lisp/gnus/gnus-art.el (gnus-article-prepare)
	(gnus-mime-copy-part, gnus-output-to-file)
	(gnus-article-reply-with-original)
	(gnus-button-handle-apropos-variable)
	(gnus-button-handle-apropos-documentation):

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-agent.el

	* lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string):
	Remove compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Rewrite gmm-labels usage to use cl-labels

	* lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Remove compat code.
	(gmm-labels): Remove.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from canlock.el

	* lisp/gnus/canlock.el (defmacro): Remove

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from auth-source

	* lisp/gnus/auth-source.el (auth-source-read-char-choice):
	Remove compat code.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix gnus-group.el compilation warnings about unprefixed variables

	* lisp/gnus/gnus-group.el (gnus-group-update-eval-form): Avoid
	compilation warnings by passing in the dynamic variables as
	explicit lexical parameters to `eval'.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix the :tracker slot name

	* lisp/gnus/registry.el (registry-lookup-secondary): The
	`tracker' slot is called `tracker', not `:tracker'.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix compilation warnings in gnus-art.el

	* lisp/gnus/gnus-art.el (rfc1843-decode-region): Autoload.
	(gnus-article-hide): Avoid compilation warnings.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix compilation warning in gnus-score.el

	* lisp/gnus/gnus-score.el (gnus-art): Require to silence byte
	compiler.

2016-02-12  Andreas Schwab  <schwab@linux-m68k.org>

	Revert "Fix gnus-group-get-new-news-this-group on group with closed server"

	This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.

	This makes nnimap groups not be activated.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix encoding problem introduced by previous patch series

	* lisp/gnus/rfc2047.el: Ditto (bug#22648).

	* lisp/gnus/rfc2231.el: Fix problem created by the
	mm-replace-in-string conversion.

2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	Revert "Avoid defvarring prefix-less variables"

	This reverts commit 303390bda34f98b400798d5383cf0d722e35ba19.

	The defvars are needed if we're doing lexical-binding

2016-02-12  Glenn Morris  <rgm@gnu.org>

	* test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth):
	Make it pass.

	* test/lisp/url/url-auth-tests.el
	(url-auth-test-digest-auth-retrieve-cache): Fix obvious typo.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Finish up cl-defmethoding registry,el

	* lisp/gnus/registry.el (initialize-instance): Use cl-defmethod.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Revert the gnus-replace-in-string change, fix arguments, reapply

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Silence more message.el compilation warnings

	* lisp/gnus/message.el (message-generate-headers): Don't use
	variable values directly to get the header values, because
	that breaks with lexical binding (without unprefixed defvars).

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix various compilation warnings in message.el

	* lisp/gnus/message.el (message-fix-before-sending): Use
	read-multiple-choice instead of gnus-multiple-choice.
	(mm-util): Require.
	(rfc2047): Require.
	(message-remove-blank-cited-lines): Use message instead of
	gnus-message.
	(message-send): Use y-or-n-p instead of gnus-y-or-n-p.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Silence compilation warning in mm-view

	* lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence
	compilation warning.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix epg-related compilation warnings in mml-sec

	* lisp/gnus/mml-sec.el: Fix compilation warnings from the epg
	library.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	rmail-dont-reply-to-names is obsolete

	* lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Don't bind
	the obsolete `rmail-dont-reply-to-names' variable.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Partially revert the defmethod->cl-defmethod change in registry.el

	* lisp/gnus/registry.el (initialize-instance): Use defmethod,
	since cl-defmethod doesn't work with :after.
	(initialize-instance): Ditto, but with :before.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid obsolete function in plstore

	* lisp/gnus/plstore.el (plstore--insert-buffer): Use setf
	instead of the obsolete epg-context-set-armor.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Use cl-defmethod in registry.el

	* lisp/gnus/registry.el: Use cl-defmethod instead of the
	obsolete defmethod.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Make sieve-manage require sasl

	* lisp/gnus/sieve-manage.el: Fix compilation warning by
	requiring sasl.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid defvarring prefix-less variable

	* lisp/gnus/mm-uu.el (mm-uu-entry): Rename from `entry'.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use the obsolete char-valid-p function

	* lisp/gnus/mm-url.el (mm-url-decode-entities): Don't use the
	obsolete char-valid-p function.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix missed translation in a previous commit

	* lisp/gnus/mailcap.el (mailcap-mime-types): Fix missed
	translation of mailcap-delete-duplicates.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid using mm-make-temp-file

	* lisp/gnus/mail-source.el (mail-source-delete-crash-box): Ditto.

	* lisp/gnus/mm-decode.el (mm-display-external): Ditto.

	* lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Ditto.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix compilation warning in gnus-start

	* lisp/gnus/gnus-start.el (gnus-slave-save-newsrc): Avoid
	mm-make-temp-file.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid the obsoleted defmethod

	* lisp/gnus/gnus-icalendar.el: Use cl-defmethod instead of
	defmethod.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid defvarring prefix-less variables

	* lisp/gnus/gnus-group.el (gnus-group-update-eval-form): We
	don't need to `defvar' the short variables to allow `eval' to
	use them.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	nnweb doesn't need unibyte buffers

	* lisp/gnus/nnweb.el (nnweb-retrieve-headers)
	(nnweb-read-overview, nnweb-request-article)
	(nnweb-google-reference): Unibyte buffers are not needed here.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Encode before sending from nnspool

	* lisp/gnus/nnspool.el (nnspool-request-post): Encode data
	before sending it to the news server.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	nnrss buffers don't have to be unibyte

	* lisp/gnus/nnrss.el (nnrss-insert): The buffer doesn't have
	to be unibyte just to receive data, I think.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use mm-with-unibyte-current-buffer in mml2015

	* lisp/gnus/mml2015.el (mml2015-mailcrypt-encrypt): Don't use
	mm-with-unibyte-current-buffer.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use mm-with-unibyte-current in mml1991

	* lisp/gnus/mml1991.el (mml1991-epg-sign): Don't use
	mm-with-unibyte-current.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use mm-with-unibyte-current in mml1991

	* lisp/gnus/mml1991.el (mml1991-pgg-sign): Don't use
	mm-with-unibyte-current.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use mm-with-unibyte-buffer in utf7

	* lisp/gnus/utf7.el (utf7-fragment-encode): Don't use
	mm-with-unibyte-buffer.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove XEmacs compat code from Gnus helper libraries

	* lisp/gnus/plstore.el (plstore-called-interactively-p): Remove.

	* lisp/gnus/pop3.el (pop3-make-date): Remove XEmacs compat.

	* lisp/gnus/sieve-mode.el: Remove XEmacs compat.

	* lisp/gnus/spam-stat.el (spam-stat-called-interactively-p): Remove.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove XEmacs compat code from Gnus backends

	* lisp/gnus/mm-view.el (mm-inline-image-xemacs): Remove.
	(mm-inline-image): Rename from mm-inline-image-emacs.

	* lisp/gnus/mml.el: Remove XEmacs compat code.

	* lisp/gnus/nnheader.el: Remove XEmacs compat code.

	* lisp/gnus/nnimap.el (nnimap-open-connection-1): Remove
	XEmacs compat code.

	* lisp/gnus/nnir.el (nnir-run-gmane): Remove XEmacs compat code.

	* lisp/gnus/nnmail.el (nnmail-pathname-coding-system): Remove
	XEmacs compat code.

	* lisp/gnus/nnmairix.el: Remove XEmacs compat code.

	* lisp/gnus/nnrss.el: Remove XEmacs compat code.

	* lisp/gnus/nntp.el: Remove XEmacs compat code.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove XEmacs compat functions from mm-util.el

	* lisp/gnus/mm-util.el (mm-special-display-p): Remove.
	(mm-decode-coding-string, mm-encode-coding-string)
	(mm-decode-coding-region, mm-encode-coding-region): Remove.
	(mm-string-to-multibyte): Remove.
	(mm-char-or-char-int-p): Remove.
	(mm-ucs-to-char): Remove compat versions of the function.
	(mm-read-coding-system): Remove.
	(mm-coding-system-p): Remove compat code.
	(mm-enrich-utf-8-by-mule-ucs): Remove.
	(mm-enable-multibyte, mm-disable-multibyte): Remove compat versions.
	(mm-delete-duplicates): Remove.
	(mm-multibyte-p): Remove compat versions.
	(mm-xemacs-find-mime-charset-1): Remove.
	(mm-xemacs-find-mime-charset): Remove.
	(mm-make-temp-file): Made obsolete.
	(mm-find-buffer-file-coding-system): Remove XEmacs compat.

2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Message and mm-decode XEmacs compat code

	* lisp/gnus/message.el: Remove XEmacs compat code.

	* lisp/gnus/mm-decode.el (mm-create-image-xemacs): Remove.

	* lisp/gnus/mm-util.el: Remove some XEmacs compat code.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove som XEmacs compat code from message.el

	* lisp/gnus/message.el: Remove some XEmacs compat code.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove XEmacs compat code from ietf-drums.el

	* lisp/gnus/ietf-drums.el (ietf-drums-syntax-table): Drop
	XEmacs compat.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove XEmacs compat code from gravatar.el

	* lisp/gnus/gravatar.el: Remove XEmacs compat code from
	gravatar.el.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove more XEmacs compat code from Gnus

	* lisp/gnus/gnus-util.el (gnus-bound-and-true-p): Remove.
	(gnus-timer--function): Remove.

	* lisp/gnus/gnus-uu.el (gnus-uu-save-article): Remove XEmacs
	19.2 compat.

	* lisp/gnus/gnus-win.el: Remove XEmacs compat code.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove more XEmacs compat functions from gnus-util.el

	* lisp/gnus/gnus-util.el (gnus-put-display-table): Remove.
	(gnus-get-display-table): Remove.
	(gnus-format-message): Remove.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove more XEmacs compat functions from Gnus

	* lisp/gnus/gnus-util.el (gnus-next-char-property-change): Remove.
	(gnus-previous-char-property-change): Remove.
	(gnus-graphic-display-p): Remove.
	(gnus-select-frame-set-input-focus): Remove.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove more XEmacs compat code from gnus-util

	* lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
	all its usages).
	(gnus-invisible-p): Remove.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove gnus-make-local-hook

	* lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
	all its usages).

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	gnus-replace-in-string -> replace-regexp-in-string

	* lisp/gnus/gnus-util.el (gnus-replace-in-string): Declare
	obsolete.  Transform all usages of it into
	replace-regexp-in-string.

	* lisp/gnus/mailcap.el (mailcap-replace-in-string): Remove.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus XEmacs compat

	* lisp/gnus/gnus-start.el (gnus-dribble-enter): Remove comment
	about code that doesn't work in XEmacs.

	* lisp/gnus/gnus-sum.el: Remove XEmacs compat.

	* lisp/gnus/gnus-topic.el: Remove XEmacs compat.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat functions in gnus-spec.el

	* lisp/gnus/gnus-spec.el (gnus-string-width-function): Remove.
	(gnus-substring-function): Remove.
	(gnus-use-correct-string-widths): Remove.
	(gnus-make-format-preserve-properties): Remove.
	(gnus-xmas-format): Remove.

	* lisp/gnus/gnus-srvr.el (gnus-server-mode): Remove XEmacs compat.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus XEmacs compat functions

	* lisp/gnus/gnus-registry.el: Remove XEmacs compat.

	* lisp/gnus/gnus-salt.el: Remove XEmacs compat.

	* lisp/gnus/gnus-score.el (gnus-decay-score): Remove XEmacs compat.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus XEmacs compatibility

	* lisp/gnus/gnus-demon.el (gnus-demon-idle-since): Remove
	XEmacs compat.

	* lisp/gnus/gnus-dired.el: Remove XEmacs compat.

	* lisp/gnus/gnus-draft.el: Remove XEmacs compat.

	* lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Remove
	XEmacs compat.

	* lisp/gnus/gnus-group.el: Remove XEmacs compat.

	* lisp/gnus/gnus-html.el: Remove XEmacs compat.

	* lisp/gnus/gnus-ml.el: Remove XEmacs compat.

	* lisp/gnus/gnus-picon.el (gnus-picon-style): Remove XEmacs comment.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't use image-map if it isn't defined

	* lisp/net/shr.el (shr-image-map): Only use image-map as a
	parent if it's defined (bug#22614).

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Check for MagickAutoOrientImage

	* configure.ac: Check for MagickAutoOrientImage.

	* src/image.c (imagemagick_load_image): Don't use
	MagickAutoOrientImage unless it's available.

2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	Document EXIF image rotation

	* doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.

2016-02-10  Dima Kogan  <dima@secretsauce.net>

	Support integer image rotation and respect EXIF rotations

	* src/image.c (imagemagick_load_image): Allow integer rotations in
	addition to floating point rotations (bug#22591).
	* src/image.c (imagemagick_load_image): Images that have an
	orientation given in EXIF and have no explicit :rotation tag are now
	pre-rotated.  All information such as width/height is reported for the
	rotated image.

2016-02-10  Wolfgang Jenkner  <wjenkner@inode.at>

	* lisp/net/shr.el (image-map): Defvar it.  (Bug#22614)

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/gnus-cite.el: Remove XEmacs compat code.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from gnus-bookmark.el

	* lisp/gnus/gnus-bookmark.el (gnus-bookmark-mouse-available-p): Remove.
	(gnus-bookmark-remove-properties): Remove.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove XEmacs compat code from gnus-a*.el

	* lisp/gnus/gnus-agent.el: Remove compat code.

	* lisp/gnus/gnus-art.el: Remove compat code.

	* lisp/gnus/gnus-async.el: Remove compat code.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove gmm compat functions

	* lisp/gnus/gmm-utils.el (gmm-image-search-load-path): Remove.
	(gmm-write-region): Remove.
	(gmm-called-interactively-p): Remove.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/ecomplete.el: Remove XEmacs compat code.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove compat code from compface.el

	* lisp/gnus/compface.el: Remove XEmacs compat code throughout.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove the now empty gnus-ems.el and references to it

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus compat names for mouse bindings

	* lisp/gnus/gnus-ems.el (gnus-widget-button-keymap): Remove.
	(gnus-down-mouse-2): Remove.
	(gnus-down-mouse-3): Remove.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Drop Gnus compat functions

	* lisp/gnus/gnus-ems.el (gnus-mule-max-width-function): Remove.

	* lisp/gnus/gnus-util.el (gnus-kill-all-overlays): Move here.

	* lisp/gnus/gnus.el (gnus-mode-line-modified): Remove.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Get rid of gnus-ems-redefine

	* lisp/gnus/gnus-ems.el (gnus-mouse-face-prop): Remove.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/gnus-spec.el: Move definition here from gnus-ems.el.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus compat code

	* lisp/gnus/gnus-ems.el (gnus-ems-redefine): Remove
	transitional code from ten years ago.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow interactively scaling past :max-width etc

	* lisp/image.el (image--current-scaling)
	(image--image-without-parameters): New functions.
	(image--change-size): Use them to allow changing the size of a
	image even if it has :width/:max-width (etc.) already set.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/mm-decode.el (shr-image-map): Compilation fix.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow accessing the image commands via shr

	* lisp/gnus/mm-decode.el (mm-convert-shr-links): Allow
	accessing the image commands.

	* lisp/net/shr.el (shr-image-map): New map used for images.
	(shr-urlify): Don't overwrite image maps when applying URL maps.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Use a sparse image keymap

	* lisp/image.el (image-map): Use a sparse keymap.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Put a keymap on images created with insert-image and friends

	* lisp/image.el (image-save): New command.
	(image-rotate): Ditto.
	(image-map): New keymap.
	(insert-image): Put the image-map on all images.
	(insert-sliced-image): Ditto.
	* doc/lispref/display.texi (Showing Images): Document the
	image map.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix some folding issues in read-multiple-choice

	* lisp/subr.el (read-multiple-choice): Fix folding when you
	have many items.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix typo in last checkin

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove Gnus compat functions

	* lisp/gnus/gnus-ems.el (gnus-mark-active-p)
	(gnus-region-active-p, gnus-select-lowest-window)
	(gnus-summary-display-table, gnus-max-width-function): Remove
	compat functions.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Move non-compat Gnus functions to gnus-util.el

	* lisp/gnus/gnus-util.el (gnus-remove-image, gnus-put-image)
	(gnus-create-image, gnus-image-type-available-p): Move here
	from gnus-ems.el, since these aren't compat functions.

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	Omit valloc decl if redundant

	* src/gmalloc.c (valloc): Omit decl if malloc.h is included,
	to pacify --enable-gcc-warnings.

2016-02-09  Wolfgang Jenkner  <wjenkner@inode.at>

	Restore the calloc family.

	* src/gmalloc.c (calloc, gcalloc, hybrid_calloc): Restore definitions.
	They were lost in a4817d8 but calloc is still (marginally) used in
	code statically liked with emacs, so hybrid_calloc is needed.
	Also, in the non-hybrid case, we can't get rid of calloc anyway as
	other libraries liked with emacs may need it.
	* src/conf_post.h: Restore redefinition of calloc to hybrid_calloc.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove some Gnus compat functions

	* lisp/gnus/gnus-ems.el (gnus-string-mark-left-to-right)
	(gnus-window-inside-pixel-edges, gnus-set-process-plist)
	(gnus-process-plist, gnus-process-get, gnus-process-put): Remove.

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	-

	-

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	4feb962 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
	cc419fb Don't inloop gnus-uu-mark-thread on the last thread
	51c77a2 Display non-ASCII group names better in prompts
	f93d669 Default to gpg2 instead of gpg

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	9ffe7dd * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
	16140f7 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
	3db6adb * lisp/isearch.el (search-default-mode)
	4ea1ea7 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
	c77ffc8 Use monitor's resolution for positioning tooltips
	49e5749 Fix file-notify-test on MS-Windows
	be1d874 Fix issues found by auditing w32notify code
	87ae218 Extend etags Ruby support for accessors
	aa35257 Update publicsuffix.txt.
	6816bff Ensure that Gnus dribble handling allows removing entries
	691feae Be consistent when using encoded strings in nnimap data
	3ed423b Display the decoded Gnus group name
	5428b5b Use completion-ignore-case instead of defining command

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	1eaf68f * test/automated/file-notify-tests.el (file-notify-test06-many-events):
	d333716 ; * etc/NEWS: Expand news entry for scss-mode
	c32c16f ; Better document changes in ls-lisp default behavior
	dc6eed2 Fix doc string of tls-program

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	2c117fc * etc/NEWS: Document new mpc.el features
	71a0496 * lisp/custom.el (defface): Revert indentation change.  (Bug#22524)
	9dfece1 Correctly fontify C++ initializations which "look like" functions.
	4485222 Improve newsticker-treeview-selection-face
	4236944 Minor fix in tagging Ruby accessors by etags
	35fc77d Spelling fixes
	3dda110 Remove 'def X' from the example

2016-02-09  Eli Zaretskii  <eliz@gnu.org>

	Fix network-stream-tests on MS-Windows

	* test/lisp/net/network-stream-tests.el (make-local-unix-server):
	Skip if local sockets are not supported.

2016-02-09  Michael Albinus  <michael.albinus@gmx.de>

	* admin/notes/bug-triage: Fix bug priorities.  Explain colors in debbugs-gnu.

2016-02-09  Eli Zaretskii  <eliz@gnu.org>

	Disable 'timer-list'

	* lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled
	command.

2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid aligned_alloc static/extern collision

	* src/alloc.c (aligned_alloc): Define to private name when a
	static function, to avoid collision with lisp.h extern decl.
	Reported by John Yates in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00439.html

2016-02-08  David Edmondson  <dme@dme.org>

	src/process.c Correctly convert AF_INET6 addresses

	* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
	converted to a list of 16 bit quantities by
	conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
	same scheme rather than expecting a (longer) list of 8 bit
	quantities.

2016-02-08  Michal Nazarewicz  <mina86@mina86.com>

	Make `message-beginning-of-line' aware of folded headers

	* lisp/gnus/message.pl (message-beginning-of-header): New function which
	moves point to the beginning of a mail header.  The function is aware of
	folded headers and with non-nil argument looks for the true beginning of
	a header while with nil argument moves to the indented text of header's
	value.
	(message-beginning-of-line): Function is now aware of folded headers and
	either moves point to the indention of a header or, in visual-line-mode,
	searches for the beginning of the header.

2016-02-08  Michal Nazarewicz  <mina86@mina86.com>

	Optimise ‘point in message header’ check

	* lisp/gnus/message.el (message-point-in-header-p): Replace two unbound
	regular expression matches with a single bound string match thus
	reducing amount of work the function is doing.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the `R' command get the correct relative <img>s

	* lisp/net/eww.el (eww-readable): Preserve the base URL so
	that image expansions are fetched from the right place (bug#22605).

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a mode to list and cancel timers

	* doc/lispref/os.texi (Timers): Menton `timer-list'.

	* lisp/emacs-lisp/timer-list.el: New file.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Add new commands to allow changing the size of images

	* lisp/image.el (image-increase-size, image-decrease-size):
	New commands.
	(image-change-size): New function.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow the image scale to be a floating point number

	* src/image.c (compute_image_size): The scale can be a
	floating point number.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Add an IPv6 test

	* test/lisp/net/network-stream-tests.el
	(connect-to-tls-ipv6-nowait): Add an ipv6 test, too.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Use gnutls-serv instead of openssh

	* test/lisp/net/network-stream-tests.el (make-tls-server): Use
	gnutls-serv instead of openssh.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Skip TLS tests if we don't have openssl

	* test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
	TLS tests if we don't have openssl and GnuTLS.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Add an IPv6 test

	* test/lisp/net/network-stream-tests.el
	(connect-to-tls-ipv6-nowait): Add an ipv6 test, too.

2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	Use gnutls-serv instead of openssh

	* test/lisp/net/network-stream-tests.el (make-tls-server): Use
	gnutls-serv instead of openssh.

2016-02-08  Daniel Colascione  <dancol@dancol.org>

	Performance improvements for vc-hg

	Teach vc-hg how to read some Mercurial internal data structures,
	allowing us to avoid the need to run hg status -A, which is very slow
	for large repositories.  Fall back to running hg if anything looks
	funny.  vc-hg now puts the _working directory_ revision in the
	modeline instead of the file revision, which greatly improves
	performance and which allows us to again skip running hg in the case
	that we have an active bookmark.

	* lisp/vc/vc-hg.el (vc-hg-state): Try calling `vc-hg-statefast'
	(vc-hg-symbolic-revision-styles)
	(vc-hg-use-file-version-for-mode-line-version)
	(vc-hg-parse-hg-data-structures): New user preferences
	(vc-hg--active-bookmark-internal, vc-hg--run-log)
	(vc-hg--symbolic-revision, vc-hg-mode-line-string)
	(vc-hg--read-u8, vc-hg--read-u32-be)
	(vc-hg--raw-dirstate-search, vc-hg--cached-dirstate-search)
	(vc-hg--parts-to-string, vc-hg--pcre-to-elisp-re)
	(vc-hg--glob-to-pcre, vc-hg--hgignore-add-pcre)
	(vc-hg--hgignore-add-glob, vc-hg--hgignore-add-path)
	(vc-hg--slurp-hgignore-1, vc-hg--slurp-hgignore)
	(vc-hg--ignore-patterns-valid-p)
	(vc-hg--ignore-patterns-ignored-p, vc-hg--time-to-fixnum)
	(vc-hg--file-ignored-p, vc-hg--read-repo-requirements)
	(vc-hg--requirements-understood-p, vc-hg--dirstate-scan-cache)
	(vc-hg-state-fast): New functions.
	(vc-hg--hgignore-patterns, vc-hg--hgignore-filenames)
	(vc-hg--cached-ignore-patterns, vc-hg--dirstate-scan-cache)
	(vc-hg--dirstate-scan-cache): New internal variables.
	* lisp/vc/vc-hooks.el (vc-refresh-state): Invoke vc find-file-hook
	before updating modeline.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Skip TLS tests if we don't have openssl

	* test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
	TLS tests if we don't have openssl and GnuTLS.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Automatically scale images up on high-density screens

	* doc/lispref/display.texi (ImageMagick Images): Mention :scale.
	(Defining Images): Mention image-scaling-factor.

	* lisp/image.el (image-compute-scaling-factor): New function
	(bug#22172).
	(create-image): Use it.
	(image-scaling-factor): New variable.

	* src/image.c (compute_image_size): Take :scale into account.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Ensure progress when fetching from the queue

	* lisp/url/url-queue.el (url-queue-check-progress): Ensure
	that we have progress when fetching queued requests (bug#22576).

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Make mail-extract-address-components return the user name more

	* lisp/mail/mail-extr.el (mail-extract-address-components):
	Return the name even if it's the same as the mailbox name (if
	`mail-extr-ignore-single-names' isn't set) (bug#22594).

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Message no longer warns about unknown top level domains

2016-02-07  Jarno Malmari  <jarno@malmari.fi>

	Add tests for url-auth

	* test/lisp/url/url-auth-tests.el: New file.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a TLS connection test

	* test/lisp/net/network-stream-tests.el (connect-to-tls): Add
	a TLS connection test.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Add more network tests

	* test/lisp/net/network-stream-tests.el (echo-server-nowait):
	New test.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Add network tests

	* test/lisp/net/network-stream-tests.el: New suite of network tests.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a TLS connection test

	* test/lisp/net/network-stream-tests.el (connect-to-tls): Add
	a TLS connection test.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Add more network tests

	* test/lisp/net/network-stream-tests.el (echo-server-nowait):
	New test.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Add network tests

	* test/lisp/net/network-stream-tests.el: New suite of network tests.

2016-02-07  Foo  <rasmus@gmx.us>

	Allow various Gnus and Message address variables to be functions

	* doc/misc/gnus.texi (To From Newsgroups):
	gnus-ignored-from-addresses can be a function.

	* doc/misc/message.texi (Wide Reply):
	message-dont-reply-to-names can be a function.

	* lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities):
	message-alternative-emails can be a function.

	* lisp/gnus/gnus-notifications.el (gnus-notifications):
	message-alternative-emails can be a function (bug#22315).

	* lisp/gnus/gnus-sum.el
	(gnus-summary-from-or-to-or-newsgroups):
	gnus-ignored-from-addresses can be a function (bug#22315).

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix typo in Gnus regexp

	* lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Fix
	typo in last change to this regexp (bug#22592).

2016-02-07  Paul Eggert  <eggert@cs.ucla.edu>

	Port to FreeBSD x86

	Reported by Herbert J. Skuhra in:
	http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00336.html
	* src/lisp.h (NONPOINTER_BITS) [__FreeBSD__]: Zero in this case too,
	since malloc always returns a multiple of 8 in FreeBSD.

2016-02-07  Alan Mackenzie  <acm@muc.de>

	On leaving CC Mode, clean up by removing character properties.

	* lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Remove from the buffer
	all instances of the text properties/extents category, syntax-table,
	c-is-sws, c-in-sws, c-type, and c-awk-NL-prop.

2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	message-valid-fqdn-regexp no longer exists

	* lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Don't use
	the no-longer-existing message-valid-fqdn-regexp variable.

2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove message-valid-fqdn-regexp, since it changes too much now

	* lisp/gnus/message.el (message-valid-fqdn-regexp): Remove.
	(message-bogus-recipient-p): Don't use it any more.
	(message-make-fqdn): Ditto.  Suggested by Lars-Johan Liman.

2016-02-06  Paul van der Walt  <paul@denknerd.org>

	Match "Re :" as a "Re:" prefix

	* lisp/gnus/message.el (message-subject-re-regexp): Also match
	"Re :" as a "Re:" prefix (commonly used in France).

2016-02-06  Adam Sjøgren  <asjo@koldfront.dk>

	lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.

	* lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.

2016-02-06  David Edmondson  <dme@dme.org>

	src/process.c Correctly convert AF_INET6 addresses

	* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
	converted to a list of 16 bit quantities by
	conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
	same scheme rather than expecting a (longer) list of 8 bit
	quantities.

2016-02-05  Martin Jesper Low Madsen  <martin@martinjlowm.dk>

	Search for host/port combinations in auth-source on OS X

	* lisp/gnus/auth-source.el (auth-source-macos-keychain-search):
	Search for all host/port (or protocol) combinations for a match in
	the OS X keychain.

2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove nonsensical setting of gnus-newsgroup-unseen

	* lisp/gnus/gnus-sum.el (gnus-update-marks): Remove nonsensical
	setting of gnus-newsgroup-unseen.

2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Use underline on all terminals that support it

	* lisp/subr.el (read-multiple-choice): Use
	display-supports-face-attributes-p instead of
	display-graphic-p to determine whether we can use underlining.

2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the nsm query say what it did after the user interaction

	* lisp/net/nsm.el (nsm-query): Issue a message about
	aborting/accepting messages (suggested by N. Jackson)
	(bug#22531).

2016-02-05  Paul Eggert  <eggert@cs.ucla.edu>

	Omit XLI (init) == 0 optimization in make-vector

	* src/alloc.c (Fmake_vector): Simplify by omitting the (XLI (init)
	== 0) case, as this optimization is probably not worth the hassle.
	Just for the record, the test for that case could have been
	(XLI (init) % ((EMACS_UINT) -1 / UCHAR_MAX) == 0) (!),
	assuming the typical platform with no padding bits and where
	conversion to int omits the most significant bits.

2016-02-05  Paul Eggert  <eggert@cs.ucla.edu>

	* autogen.sh: Port to dash (Bug#22556).

2016-02-05  Michael Albinus  <michael.albinus@gmx.de>

	Minor cleanup for Tramp "doas".

	* doc/misc/tramp.texi (Inline methods): Add "doas" method.

	* etc/NEWS: Add Tramp connection method "doas".

	* lisp/net/tramp-sh.el (tramp-methods) <doas>:
	Add `tramp-remote-shell-args'.

2016-02-05  Xi Lu  <lx@shellcodes.org>

	* lisp/net/tramp-sh.el (tramp-methods) <doas>: Add.  (Bug#22542)

	(tramp-default-user-alist): Add rule for "doas".
	(top): Completion function for "doas" is
	`tramp-completion-function-alist-su'.

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Restore the window configuration

	* lisp/net/nsm.el (nsm-query-user): Restore the window
	configuration (bug#22532).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Use an X popup in read-multiple-choice if running from a mouse command

	* lisp/subr.el (read-multiple-choice): Use an X popup if
	called from a mouse action (bug#19368).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Display cursor in echo area when prompting

	* lisp/subr.el (read-multiple-choice): Display the cursor in
	the echo area when prompting (bug#19368).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Make NSM prompting clearer

	* lisp/net/nsm.el (nsm-query-user): Use read-multiple-choice
	to prompt in a nicer way (bug#19368).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Underline read-multiple-choice-face

	* lisp/faces.el (read-multiple-choice-face): Also underline
	the choice.

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Make url.el use async DNS

	* lisp/url/url-gw.el (url-open-stream): Use non-blocking DNS.

	* src/process.c (syms_of_process): Add a `dns' subfeature for
	make-network-process.

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Only do async DNS if requested with :nowait 'dns

	* doc/lispref/processes.texi (Network Processes): Mention the
	dns value of :nowait.

	* src/process.c (Fmake_network_process): Only do async DNS if
	:nowait is `dns'.

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Add sanity check for checking async DNS

	* src/process.c (check_for_dns): Disregard processes that have
	already been killed.

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Make the read-multiple-choice prompt a bit prettier

	* doc/lispref/commands.texi (Reading One Event): Mention
	read-multiple-choice-face.

	* lisp/subr.el (read-multiple-choice): Make the prompting a bit
	prettier.

2016-02-04  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer memcpy and memset to doing it by hand

	* src/alloc.c (Fmake_vector):
	* src/ccl.c (setup_ccl_program):
	Use memset to clear array.
	* src/alloc.c (Fvector, Fmake_byte_code):
	* src/charset.c (Fdefine_charset_internal):
	Use memcpy to copy array.

2016-02-04  Nicolas Petton  <nicolas@petton.fr>

	Do not ignore redirections of 301, 302 and 307 status codes

	The current version of HTTP/1.1 (RFC 7231) no longer requires
	confirmation on 301, 302 or 307 status codes, therefore we do not have
	to ignore redirects for other requests than GET and HEAD.

	* lisp/url/url-http.el (url-http-parse-headers): Do not ignore 301, 302
	and 307 redirects for other requests than GET and HEAD.

2016-02-04  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.

2016-02-04  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify USE_ALIGNED_ALLOC

	* src/alloc.c (USE_ALIGNED_ALLOC): Simplify, now that we’ve merged
	in the emacs-25 changes.  Omit no-longer-needed decl for aligned_alloc.

2016-02-04  Eric Abrahamsen  <eric@ericabrahamsen.net>

	Honor docstring of gnus-group-get-new-news

	* lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg
	is t, but non-numeric, unconditionally consider all groups to need
	updating.

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	New function read-multiple-choice

	* doc/lispref/commands.texi (Reading One Event): Document
	read-multiple-choice.

	* lisp/faces.el (read-multiple-choice-face): New face.

	* lisp/subr.el (read-multiple-choice): New function.

2016-02-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	ee73997 Make erc work better when encountering unknown prefix chars
	b99141d Make erc completion case-insensitive again
	66c4620 Make complection in erc use consistent casing
	8c562b2 Make /QUIT in erc more robust
	d93d2c5 Make tracking faces in Emacs work more reliably
	af6ab7e Make shr not bug out on images on non-graphical displays
	3311f40 Fix bookmark display widths
	d90ab1e Fix typo in eww-make-unique-file-name
	7f81825 Make it possible to TAB to input fields
	a43a1dc Insert complete alt texts when images are disabled
	56ed4e1 Allow eww text fields to grow
	66b315c Make erc work when subword-mode is switched on
	255b68f Fix IMAP doc example
	91557f5 Quoting fixes in doc strings and diagnostics
	2c0dc9f Fix warning message in hack-local-variables
	504696d Etags: yet another improvement in Ruby tags
	8784ebf Fix x-popup-menu on TTYs without a mouse
	8b87ecb * lisp/emacs-lisp/map.el: Improvements to the docstring of the
	        pcase macro
	6191003 Use pop-to-buffer-same-window in eww
	fe321fd * autogen.sh: Revert all recent changes.
	74ebd4a * make-dist: Updates related to nt/.
	737193a * make-dist: Add modules/.
	3696bf2 * make-dist: Update for super-special file that can't live in etc/.
	a4278e2 Fix failure to compile ns-win.el in parallel builds
	860da4d Fix names of tags generated for Ruby accessors
	f6213ce Fix file-name recognition in 'etags'
	e42e662 Change Ruby file names and extensions recognized by 'etags'
	58bfb6a More improvements for Ruby support in 'etags'
	c04e911 Add --git-config option to autogen.sh
	5713466 Fix editing undo changes in eww fields
	51362d6 Allow the user more control of popping up the eww window
	ee0fbd8 Make eww-browse-url with new-window parameter work again
	9c3142d Clean up eww code slightly
	cb035f3 Don't insert nil faces in shr
	4c3fae3 ; * lisp/progmodes/prolog.el: Remove some obsolete commentary.
	93f2153 Improve the custom type of some user options.
	9f60d7e Mark some risky calendar variables.
	1d07dcd Highlight two additional SCSS keywords
	ee8b466 Recommend enabling integrity-checking in git
	e639e10 Some corrections in Elisp manual
	d766ca8 Chatter when autogen.sh changes Git configuration
	3b734e1 * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
	43cb9f8 Omit unnecessary history from Lisp intro
	2fbd1da * etc/HISTORY: Add some more history, plus git tags.
	c90e1b4 Improve elisp “Security Considerations” doc
	cedd7ca autogen.sh now arranges for git to check hashes
	86ce76b ; Fix ChangeLog.2 commit ID.
	7b1d2b1 Fix (c & 040) typo in emergency escapes
	a8273da Fix display of overlay strings with 'display' and 'box' property
	fc48106 Fix imap-starttls-open
	cdecbed Fix return value of imap-starttls-open
	20c7e34 ; * etc/NEWS: Fix renamed command name
	98bdbdb Correct reference to DARWIN_OS preprocessor symbol
	b250d29 Spelling fix
	b920a0e Spelling fixes
	93b144b Pacify GCC on C library without glibc API

2016-02-03  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	ea26c8a * lisp/net/browse-url.el (browse-url-default-browser): Lower
	        priority of non-free Chrome.
	0fac75f Improve the custom type of some user options.
	2df0e04 Highlight CSS variables with variable name face
	3cf5e81 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not
	        user-serviceable.
	2a5233c Mark some user options that can get evalled as risky.
	39b166f Disable DebPrint in sys_read on MS-Windows
	9fd0189 ;Fix ChangeLog entry
	4bb7233 Fix typos in Introduction to Emacs Lisp manual

2016-02-03  Mark Oteiza  <mvoteiza@udel.edu>

	Add a new command to switch between erc buffers

	* doc/misc/eww.texi: Document eww-switch-to-buffer and its keybinding
	* etc/NEWS: Mention new command
	* lisp/net/eww.el (eww-mode-map): Bind eww-switch-to-buffer to "s"
	(eww-mode-map): Add menu item
	(eww-switch-to-buffer): New command

2016-02-03  David Edmondson  <dme@dme.org>

	Make erc work better when encountering unknown prefix chars

	* lisp/erc/erc.el (erc-channel-receive-names): Output a warning
	instead of erroring out on unknown prefix chars (bug#22380).

2016-02-03  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)

	Allow sending empty hidden values in eww

	* lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
	values (bug#22388).

2016-02-03  Andrew Hyatt  <ahyatt@gmail.com>

	Remove packages obsoleted before Emacs 24.

	In accordance with the policy discussed in the emacs-devel list,
	packages that have been obsoleted for a full major release cycle are up
	for deletion.

	This removes almost all packages that are now eligible for deletion,
	with the exception of "cl-compat", which seems it is likely to still be
	used, and "optional", which offers some functionality that doesn't have
	a replacement yet.

2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>

	Mention context when resume from emergency escape

	That way, if the user has been doing something else for a while,
	they are reminded of the situation when restarting Emacs,
	and are more likely to understand the two questions.
	* doc/emacs/trouble.texi (Emergency Escape): Document this.
	* src/keyboard.c (handle_interrupt): Implement this.

2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>

	Port aligned_alloc decl to Cygwin.

	Problem reported by Ken Brown (Bug#22522#38).
	* configure.ac (aligned_alloc): Check for decl too.
	* src/lisp.h (aligned_alloc): Declare if not already declared.

2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>

	autogen.sh now configures git only on request

	* autogen.sh (do_autoconf, do_git): New vars.
	Support new arguments --help, all, autoconf, git.
	By default, just do autoconf-related configuration, not git.
	Prefer 'echo' to 'cat <<EOF ...', as this tends to avoid temp files.
	If GNU cp is available, use it to backup .git/config before
	changing it.  When configuring git, chatter about what is being
	done, and configure git to check hashes.  Avoid some duplicate
	file name specification when creating git hooks.

	* GNUmakefile (ALL_IF_GIT): New macro.
	(configure): Use it.
	* INSTALL.REPO: Suggest './autogen.sh all'.

2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Doc fixes and refactorings based on comments from Eli Zaretskii

	* doc/lispref/processes.texi (Network Processes): Clarify the
	meaning of :tls-parameters.

	* lisp/net/gnutls.el (open-gnutls-stream): Clarify :nowait.

	* lisp/net/gnutls.el (gnutls-boot-parameters): Factor out into
	own function.
	(gnutls-negotiate): Use it.
	(open-gnutls-stream): Ditto.

	* src/eval.c (vformat_string): Refactor out the printing bits
	from verror.
	(verror): Use it.

	* src/gnutls.c (boot_error): Mark failed processes with the
	real error message.

	* src/lisp.h: Declare vformat_string.

2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>

	Build with C11 if available

	* admin/merge-gnulib (GNULIB_MODULES): Add std-gnu11.
	* m4/std-gnu11.m4: New file, from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>

	Update gnulib copy

	* doc/misc/texinfo.tex: Copy from gnulib.

2016-02-02  Glenn Morris  <rgm@gnu.org>

	* lisp/vc/add-log.el (change-log-directory-files, find-change-log):
	Doc tweaks.

2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>

	Port better to platforms lacking aligned_alloc

	Problem reported by Ken Brown (Bug#22522).
	* src/lisp.h (hybrid_aligned_alloc)
	[HYBRID_MALLOC && !HAVE_ALIGNED_ALLOC]: New decl.

2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>

	Port malloc.h hygiene fix to LTO

	* src/alloc.c (__malloc_initialize_hook):
	Make it externally visible (Bug#22522).

2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Build fix for --enable-check-lisp-object-type

	* process.c (check_for_dns): Type fix reported by YAMAMOTO
	Mitsuharu.

2016-02-01  Glenn Morris  <rgm@gnu.org>

	Make find-change-log prefer a VCS root, if no ChangeLog exists.

	* lisp/vc/add-log.el (change-log-directory-files): New option.
	(find-change-log): Respect change-log-directory-files.
	* doc/emacs/maintaining.texi (Change Log Commands):
	Mention change-log-directory-files.

2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>

	Boot parameter check fix

	* process.c (send_process): Fix test for boot parameters noted
	by Andy Moreton.

2016-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	Double static heap size.

	* src/sheap.h (STATIC_HEAP_SIZE): Double it, since it was too
	small on FreeBSD (Bug#22086).

2016-02-01  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#20821

	* lisp/net/tramp.el (tramp-file-name-handler):
	* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
	Use `tramp-drop-volume-letter'.  (Bug#20821)

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Style fix

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Return the correct server port number

	* process.c (connect_network_socket): Return the correct
	server port number.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix autoconf test for getaddrinfo_a

	* configure.ac: Make the test for getaddrinfo_a work.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Better async error reporting

	* process.c (connect_network_socket): Mark failed processes
	with a better error message.
	(check_for_dns): Ditto.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Clarify :tls-parameters.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Always boot TLS if given parameters

	* src/process.c (connect_network_socket): If we have the TLS
	parameters, then boot the socket.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Add documentation for :tls-parameters

	* doc/lispref/processes.texi (Network Processes): Mention
	:tls-parameters.

	* src/process.c (Fmake_network_process): Document the
	:tls-parameters parameter.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Build fix for glibc systems.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Make network connections work again on non-glibc systems

	* lisp/net/gnutls.el (open-gnutls-stream): Pass the TLS
	keywords in directly so that they can be used when doing
	synchronous DNS on non-synchronous connections.

	* lisp/net/network-stream.el (open-network-stream): Allow
	passing in the TLS parameters directly.

	* src/process.c (conv_numerical_to_lisp): New function to convert
	numerical addresses to Lisp.
	(Fmake_network_process): Rework the non-HAVE_ADDRINFO code
	paths so that they work again.
	(syms_of_process): Build fix for non-glibc systems.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Windows build fix

	* process.c (Fmake_network_process): Build fix for systems
	without local sockets.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Use XCAR/XCDR instead of Fcar etc

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix GC problem in async TLS connection

	* process.h: All Lisp_Object slots have to come first,
	otherwise they won't be protected from gc.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Further TLS async work

	* gnutls.c (boot_error): New function to either signal an
	error or return an error code.
	(Fgnutls_boot): Don't signal errors when running asynchronously.

	* process.h (pset_status): Move here from process.c to be
	able to use from gnutls.c.

	* process.c (connect_network_socket): Do the TLS boot here
	when running asynchronously.
	(wait_reading_process_output): Rework the dns_processes
	handling for more safety.

2016-01-31  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up dead code

	* lisp/net/gnutls.el (gnutls-async-sentinel): Remove.

2016-01-31  Dave Barker  <kzar@kzar.co.uk>

	Add ability to give rcirc servers an alias name

	* lisp/net/rcirc.el (rcirc-server-alist): Add :server-alias
	customization option.
	(rcirc, rcirc-connect): Take server alias into account.

2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>

	Port new hybrid malloc to FreeBSD

	Problem reported by Wolfgang Jenkner in: http://bugs.gnu.org/22086#118
	* src/gmalloc.c (__malloc_initialize_hook, __after_morecore_hook)
	(__morecore) [HYBRID_MALLOC]: Define in this case too.

2016-01-31  Wolfgang Jenkner  <wjenkner@inode.at>

	* configure.ac: Stop using mmap for buffers for FreeBSD.

2016-01-31  Michael Albinus  <michael.albinus@gmx.de>

	Merge changes from Tramp repository

	* doc/misc/Makefile.in (${buildinfodir}/tramp.info tramp.html):
	No EXTRA_OPTS needed.

	* doc/misc/tramp.texi: Merge changes from Emacsemacs-25
	branch, especially for @trampfn{}.
	(Top): Move @ifnottex down.
	(History): XEmacs support has been removed.
	(GVFS based methods, Remote processes): Do not use emacsgvfs flag.
	(Auto-save and Backup): Use both syntax versions.
	(File name Syntax): Remark on IPv6 adresses is valid for
	unified syntax only.

	* doc/misc/trampver.texi: Do not set emacsgvfs flag.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

2016-01-30  Glenn Morris  <rgm@gnu.org>

	* lisp/vc/add-log.el (find-change-log): Use locate-dominating-file.

2016-01-30  Matthew Carter  <m@ahungry.com>

	Quote table names for postgres listings (sql-mode)

	* lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
	  unquoted table names to the completion list.

2016-01-30  Glenn Morris  <rgm@gnu.org>

	Change Smerge "Mine" and "Other" for "Upper" and "Lower.  (Bug#20878)

	* lisp/vc/smerge-mode.el (smerge-diff-switches)
	(smerge-context-menu, smerge-match-conflict, smerge-swap): Doc fixes.
	(smerge-upper, smerge-upper-face, smerge-keep-upper)
	(smerge-diff-base-upper): Rename from smerge-mine, smerge-mine-face,
	smerge-keep-mine, smerge-diff-base-mine.  Update all uses.
	(smerge-mine-face, smerge-other-face): Remove obsolete face aliases.
	(smerge-lower, smerge-lower-face, smerge-lower-re, smerge-keep-lower)
	(smerge-diff-base-lower): Rename from smerge-other, smerge-other-face,
	smerge-other-re, smerge-keep-other, smerge-diff-base-lower.
	Update all uses.
	(smerge-basic-map): Add "l" and "u" bindings.
	(smerge-mode-menu): Update menu bindings for renaming.
	(smerge-font-lock-keywords): Update face names.
	(smerge-match-names): Update names.
	(smerge-diff-upper-lower): Rename from smerge-diff-mine-other.
	(smerge-match-conflict, smerge-ediff): Rename local variables.
	(smerge-makeup-conflict): Relabel markers.
	(smerge-parsep-re): Use renamed variables.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Port recent my_edata change to MS-Windows

	* src/lastfile.c (my_edata): Also define if WINDOWSNT.

2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Rework the mechanisms for async GnuTLS connections

	* lisp/net/gnutls.el (open-gnutls-stream): Compute the
	gnutls-boot parameters and pass them to the process object.
	(gnutls-negotiate): New parameter :return-keywords that won't
	connect to anything, just compute the keywords.

	* lisp/url/url-http.el (url-http): Revert async TLS sentinel
	hack, which is no longer necessary.

	* src/gnutls.c (Fgnutls_asynchronous_parameters): Rename from
	gnutls-mark-process.

	* src/process.c (connect_network_socket): If we're connecting to
	an asynchronous TLS socket, complete the GnuTLS boot sequence here.

	* src/process.h: New parameter gnutls_async_parameters.

2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix segfault from double free

	* process.c (check_for_dns): Protect against double free
	issues.

2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove debugging

2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Implement asynchronous GnuTLS connections

	* doc/misc/emacs-gnutls.texi (Help For Developers): Mention
	the nowait parameter.

	* lisp/net/gnutls.el (open-gnutls-stream): Allow asynchronous
	connections with the new nowait parameter.

	* lisp/net/network-stream.el (network-stream-open-tls): Pass
	on :nowait to open-gnutls-stream.

	* lisp/url/url-http.el (url-http): Don't overwrite the
	sentinel created by open-gnutls-stream.

	* src/gnutls.c (Fgnutls_mark_process): New function.

	* src/process.c (send_process): Don't write to GnuTLS sockets that
	haven't been initialised yed.

	* src/process.h: New slot gnutls_wait_p.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Tell Automake the new lib/Makefile.am is OK

	* lib/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Make it easy to override preferred-branch test

	* Makefile.in (preferred-branch-is-current):
	Rename from emacs-25-branch-is-current.  All uses changed.
	(PREFERRED_BRANCH): New macro.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Shrink static heap a bit

	* src/sheap.h: Include lisp.h, for Lisp_Object.
	(STATIC_HEAP_SIZE): Now an enum constant, not a macro.
	Make it 2 MiB * sizeof (Lisp_Object), which is a bit more
	conservative than the old value.
	(Bug#22086)

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Fix extern symbols defined and not used

	* src/alloc.c: Always include <signal.h>.
	(malloc_warning) [!SIGDANGER && (SYSTEM_MALLOC || HYBRID_MALLOC)]:
	Do not define; unused.
	* src/emacs.c, src/lisp.h (might_dump) [!DOUG_LEA_MALLOC]: Now static.
	* src/gmalloc.c (gdefault_morecore): Rename from __default_morecore,
	to avoid collision with glibc.  Now static.  All uses changed.
	* src/lastfile.c (my_edata): Define only if
	((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC && !defined
	WINDOWSNT) \ || defined CYGWIN || defined DARWIN_OS).
	(Bug#22086)

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Build lib/e-*.o only on platforms that need it

	* configure.ac (hybrid malloc): Simplify configuration.
	(SHEAP_OBJ): Remove; no longer needed.
	(HYBRID_MALLOC): New var. Subst it.
	(HYBRID_MALLOC_LIB): New Automake conditional.
	* lib/Makefile.am (noinst_LIBRARIES): Add libegnu.a only if
	HYBRID_MALLOC_LIB.
	(libegnu_a_CPPFLAGS): Omit AM_CPPFLAGS; not needed.
	(MOSTLYCLEANFILES): Add libegnu.a.
	* src/Makefile.in (SHEAP_OBJ): Remove.
	(HYBRID_MALLOC): New macro.
	(base_obj): Use it to conditionally add sheap.o.
	(LIBEGNU_ARCHIVE): New macro.
	($(LIBEGNU_ARCHIVE)): New rule, replacing $(lib)/libegnu.a.
	All uses of the latter replaced by the former.
	* src/alloc.c (USE_ALIGNED_ALLOC): Simplify configuration.
	Correct misspelling ALIGNED_ALLOC to HAVE_ALIGNED_ALLOC.
	* src/gmalloc.c: Update comment.
	* src/lisp.h (aligned_alloc)
	[!DOUG_LEA_MALLOC && !HYBRID_MALLOC && !SYSTEM_MALLOC]:
	New decl.
	(Bug#22086)

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Include <malloc.h> when advisable

	This should help insulate us better from future glibc changes.
	It is good hygiene to include .h files for APIs that Emacs uses.
	Fix type clashes between Emacs and GNU <malloc.h> (Bug#22086).
	* configure.ac: Check for malloc.h.
	* src/alloc.c: Include <malloc.h> depending on HAVE_MALLOC_H,
	not on DOUG_LEA_MALLOC.
	* src/emacs.c, src/gmalloc.c (malloc_enable_thread):
	Remove decl (now in lisp.h).
	* src/gmalloc.c: Include stddef.h earlier, for ptrdiff_t.
	[emacs]: Include lisp.h.
	[HAVE_MALLOC_H]: Include <malloc.h>.
	(__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
	(__after_morecore_hook, __malloc_initialize_hook, __morecore)
	(__default_morecore):
	[!HAVE_MALLOC_H]: New decls near non-inclusion of <malloc.h>.
	(calloc): Make it clear that the macro should not be used.
	Remove unused decl.
	(malloc_info): New macro, to avoid clash with glibc <malloc.h>.
	(__morecore, __default_morecore, __after_morecore_hook)
	(__malloc_extra_blocks, __malloc_initialize_hook, __free_hook)
	(__malloc_hook, __realloc_hook, __memalign_hook, memory_warnings):
	Remove later decls.
	(gmalloc_hook, gfree_hook, grealloc_hook):
	Rename from __malloc_hook, __free_hook, __realloc_hook to
	avoid type collision with glibc <malloc.h>.  All uses changed.
	(gmalloc_hook):
	(__malloc_extra_blocks) [DOUG_LEA_MALLOC||HYBRID_MALLOC||SYSTEM_MALLOC]:
	Now static.
	(gmalloc_hook, __malloc_extra_blocks): Define even if [!HYBRID_MALLOC].
	(__malloc_initialize_hook, __after_morecore_hook):
	Declare with types compatible with glibc.
	(__memalign_hook, hybrid_calloc) [HYBRID_MALLOC]:
	Remove.  All uses removed.
	* src/lisp.h (__malloc_extra_blocks, malloc_enable_thread): New decls.
	* src/ralloc.c, src/vm-limit.c:
	Simplify includes and include <malloc.h> if available.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	* src/alloc.c: Include "sheap.h".

	(alloc_unexec_pre, alloc_unexec_post) [HYBRID_MALLOC]:
	Set and clear bss_sbrk_did_unexec, on all platforms not just Cygwin.
	* src/lisp.h (alloc_unexec_pre, alloc_unexec_post) [!DOUG_LEA_MALLOC]:
	Declare unconditionally.
	* src/unexcw.c, src/unexelf.c (bss_sbrk_did_unexec): Remove decl.
	(unexec): Don’t set or clear bss_sbrk_did_unexec;
	the caller now does this.
	(Bug#22086)

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings when HYBRID_MALLOC

	* src/buffer.c (init_buffer):
	* src/emacs.c (main):
	* src/xsmfns.c (smc_save_yourself_CB, x_session_initialize):
	Use emacs_get_current_dir_name, not get_current_dir_name.
	* src/conf_post.h (aligned_alloc) [HYBRID_MALLOC && emacs]: New macro.
	(HYBRID_GET_CURRENT_DIR_NAME, get_current_dir_name): Remove.
	* src/emacs.c: Include "sheap.h".
	(report_sheap_usage): Remove decl.
	(Fdump_emacs) [HYBRID_MALLOC]: Report usage directly.
	Don't assume ptrdiff_t can be printed as int.
	* src/gmalloc.c [HYBRID_MALLOC]:
	Include "sheap.h" rather than declaring its contents by hand.
	(get_current_dir_name, gget_current_dir_name)
	(hybrid_get_current_dir_name): Remove.
	(emacs_abort): Remove duplicate decl.
	(aligned_alloc): Undef, like malloc etc.
	(ALLOCATED_BEFORE_DUMPING): Now a static function, not a macro.
	Make it a bit more efficient.
	(malloc_find_object_address): Remove unused decl.
	(enum mcheck_status, mcheck, mprobe, mtrace, muntrace, struct mstats)
	(mstats, memory_warnings): Declare only if GC_MCHECK.
	* src/lisp.h (emacs_get_current_dir_name):
	New decl, replacing get_current_dir_name.
	* src/sheap.c: Include sheap.h first.
	(STATIC_HEAP_SIZE): Remove; now in sheap.h.
	(debug_sheap): Now static.
	(bss_sbrk_buffer_end): Remove; no longer used.
	(bss_sbrk_ptr): Now static and private.
	(bss_sbrk_did_unexec): Now bool.
	(BLOCKSIZE): Remove, to avoid GCC warning about its not being used.
	(bss_sbrk): Don't treat request_size 0 as special, since the code
	works without this being a special case.
	Avoid overflow if request size exceeds INT_MAX.
	(report_sheap_usage): Remove; now done in emacs.c.
	* src/sheap.h: New file.
	* src/sysdep.c (get_current_dir_name): Remove macro.
	Include "sheap.h".
	(emacs_get_current_dir_name): Rename function from
	get_current_dir_name.  Handle HYBRID_MALLOC here;
	this is simpler.
	(Bug#22086)

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Report static heap usage on non-Cygwin, too

	* src/emacs.c (Fdump_emacs) [HYBRID_MALLOC]: Report sheap usage here ...
	* src/unexcw.c (unexec): ... instead of here, since sheap can be used
	on platforms other than Cygwin (Bug#22086).

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify GCC on extern decls

	* src/unexelf.c (bss_sbrk_did_unexec): Move decl to top level
	to pacify recent GCC (Bug#22086).

2016-01-30  Wolfgang Jenkner  <wjenkner@inode.at>

	Add musl patch to support HYBRID_MALLOC on elf systems

	* src/gmalloc.c: Adjust for HYBRID_MALLOC in the non CYGWIN case.
	(__default_morecore): Here, in particular.
	* configure.ac: Define HYBRID_MALLOC when unexelf.o is used.
	New variable SHEAP_OBJ.
	* src/Makefile.in: Use it.
	(Bug#22086)

2016-01-30  Rich Felker  <dalias@libc.org>  (tiny change)

	unexelf.c hook to support HYBRID_MALLOC on ELF

	* src/unexelf.c (unexec) [HYBRID_MALLOC]:
	Define bss_sbrk_did_unexec (Bug#22086).

2016-01-30  Wolfgang Jenkner  <wjenkner@inode.at>

	Link temacs with gnulib compiled with -Demacs

	This is done to support HYBRID_MALLOC, since some static variables
	(e.g., last_environ in putenv.c) hold pointers to memory malloced
	before dumping (Bug#22086).
	* lib/Makefile.am: Add incantation to install libegnu.a.
	* src/Makefile.in ($(lib)/libgnu.a): Replace with libegnu.a
	(temacs$(EXEEXT)): Use it.

2016-01-30  Wolfgang Jenkner  <wjenkner@inode.at>

	Internal linkage for gmalloc etc. if HYBRID_MALLOC

	This avoids clashes with symbols if the after-dump malloc is
	derived from Doug Lea's implementation (Bug#22086).

	* src/gmalloc.c (emacs_abort, __morecore, __default_morecore):
	Move declarations up.  For HYBRID_MALLOC, turn all `extern'
	declarations below to `static' ones.
	(aligned_alloc): Declare for !MSDOS as well.
	(heapsize, _fraghead): Move resp. copy declaration downwards.
	For HYBRID_MALLOC, conditionalize out the other definitions,
	since the previous `static' declarations double as tentative
	definitions, anyway.
	(_malloc, _free, _realloc, __free_hook, _aligned_blocks)
	(__realloc_hook, __memalign_hook): Conditionalize out.
	(cfree, memalign, valloc): Ditto.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	-

	-

	-

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-25

	3f481ad Rename xref-query-replace to xref-query-replace-in-results
	62f4ed4 Update cl-defgeneric and cl-defmethod docstrings
	2111e0e Comment out next-error-function integration in xref
	4e11ad3 Correct a use of "which" in intro.texi
	a1865bc Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.
	76045f7 Don't operate on menu bar of nonexistent frame
	c32f3bc Unbreak the GNUstep build.

2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	-

	-

2016-01-30  Andreas Schwab  <schwab@linux-m68k.org>

	Re-enable checks in member, memql, delete to complain about non-lists

		* fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.

2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up compilation warnings

2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>

	Make async resolution more efficient

	* process.c (wait_reading_process_output): Use a list of
	process objects instead of looping through an array to check
	for name resolution.  This should be much faster.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	More async memory leaks

	* src/process.c (check_for_dns): Free even more allocated async stuff.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Compilation for for systems with getaddrinfo_a

	* process.c (Fmake_network_process): Make stuff work again on
	systems with getaddrinfo_a.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Save correct server data

	* process.c (connect_network_socket): Save the correct contact
	info for servers.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Compilation for for non-GNU systems

	* process.c (Fmake_network_process): Make compilation work
	again on hosts that don't have getaddrinfo_a.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Avoid memory leaks in async DNS

	* process.c (check_for_dns): Free async DNS resources after
	they've been used.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	* process.c (check_for_dns): Free the result data.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix server connections

	* process.c (Fmake_network_process): Make creating server
	listening ports work again.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Further make_network_process clean up

	* process.c (Fmake_network_process): Remove setting of unused
	family variable.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up GETADDRINFO usage in make-network-process

	* process.c (Fmake_network_process): Clean up the GETADDRINFO
	handling.

2016-01-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Implement asynchronous name resolution

	* process.c (Fmake_network_process): Do asynchronous DNS
	lookups if we have getaddrinfo_a and the user requests :nowait.
	(check_for_dns): New function.
	(wait_reading_process_output): Check for pending name
	resolution in the idle loop.

	* process.h: Add structure for async DNS.

2016-01-28  Glenn Morris  <rgm@gnu.org>

	Remove some useless-use-of eval.

	* lisp/gnus/gnus.el (gnus-load-hook): Don't use eval.
	* lisp/gnus/nnrss.el (xml): Simply require it.
	(xml-rpc-method-call): Use declare-function.

2016-01-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix memory leak

	* process.c (connect_network_socket): Free previous sockaddr
	before allocating a new one.

2016-01-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Return IP addresses in the correct order

	* src/process.c (Fmake_network_process): Return the IP addresses
	in the same order as getaddrinfo does.
	(set_network_socket_coding_system): Clean up the code slightly.

2016-01-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Add checks for getaddrinfo_a

	* configure.ac: Detect getaddrinfo_a.

2016-01-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Refactor make_network_process

	* src/process.c (set_network_socket_coding_system)
	(connect_network_socket): Refactor out of
	make_network_process to allow calling connect_network_socket
	asynchronously.
	(Fmake_network_process): Do nothing but parsing the parameters
	and name resolution, leaving the connection to
	connect_network_socket.

2016-01-28  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/bytecomp.el (byte-compile-nogroup-warn):
	Warn if defcustom has no type.  (Bug#16276)

2016-01-27  Glenn Morris  <rgm@gnu.org>

	* test/lisp/vc/vc-hg.el: Move from test/automated/.

2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	(rng-c-fix-escaped-newlines): Use subst-char-in-string

	* lisp/nxml/rng-cmpct.el (rng-c-fix-escaped-newlines):
	Use subst-char-in-string.

2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/textmodes/sgml-mode.el (sgml-forward-sexp): New function

	(sgml-cursor-sensor, sgml-pretty-print, sgml-parse-tag-backward)
	(sgml-calculate-indent): Use it.

2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/org: Fix some compiler warnings

	* lisp/org/ob-core.el (org-babel-check-confirm-evaluate)
	(org-babel-map-src-blocks): Don't emit warnings if added vars are not used.
	(*this*): Declare as dyn-bound.
	(org-babel-expand-src-block, org-babel-load-in-session)
	(org-babel-switch-to-session-with-code, org-babel-get-rownames):
	Mark unused args.
	(org-babel-combine-header-arg-lists): Remove unused var `args'.
	(org-babel-find-named-block): Remove unused var `msg'.

	* lisp/org/org-src.el (org-inhibit-startup, org-src-fontify-natively):
	Declare as dyn-bound.
	(org-edit-src-code): Remove unused var `lfmt'.
	(org-edit-fixed-width-region): Remove unused var `preserve-indentation'.

2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/font-lock.el: Use #' to quote function symbols

2016-01-23  Michael Albinus  <michael.albinus@gmx.de>

	Improve user name completion in Tramp

	* lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
	Call also "getent passwd" or "getent group", if possible.
	(tramp-parse-putty): Cache the result.

2016-01-22  Michael Albinus  <michael.albinus@gmx.de>

	* etc/NEWS: Move kqueue entries to Emacs 25.1 sections.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	Remove handling of non-string time-stamp formats, obsolete for 20 years.

	* lisp/time-stamp.el (time-stamp-format): Doc fix.
	(time-stamp-old-format-warn, time-stamp-fconcat): Remove.
	(time-stamp-string): Ignore non-string formats.

2016-01-20  Eli Zaretskii  <eliz@gnu.org>

	Anoter fix for problematic merge from emacs-25

	* src/w32fns.c (globals_of_w32fns): Move initialization of
	resetstkoflw to a non-Cygwin part.

2016-01-20  Michael Albinus  <michael.albinus@gmx.de>

	* test/Makefile.in (mostlyclean): Use ${LOGFILES}.

2016-01-20  Eli Zaretskii  <eliz@gnu.org>

	Fix MS-Windows build broken by a botched merge from emacs-25

	* src/w32.c (w32_crypto_hprov): New static variable.
	(globals_of_w32): Initialize w32_crypto_hprov.
	(w32_init_crypt_random, w32_init_random): New functions.
	Include wincrypt.h.
	* src/w32.h (w32_init_random): Add prototype.

2016-01-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Correct a whole bunch of bugs coming with renamed cell relocation.

	* lisp/ses.el (ses-localvars): rename variable
	`ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
	and adjust the comment about it.
	(ses-plist-delq): new defun.
	(ses--ses-buffer-list): new defvar.
	(ses--unbind-cell-name): new defun.
	(ses-relocate-symbol): Do not relocate symbol when it is a named cell.
	(ses-relocate-formula): Undo change of
	2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
	preventing relocation for named cell --- now doing this is delegated
	to function `ses-relocate-symbol'.
	(ses-relocate-range): In docstring, undo change of
	2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
	lower case as it is not a variable.
	(ses-relocate-all): Cell name relocation : 1) check that cell is a
	renamed cell by testing `ses-cell' property to :ses-named, rather than
	comparing name to corresponding standard name. Set rowcol of renamed
	cell into the hashmap --- `ses-cell' property must not be used for
	that as the same name can be used for different locations in different
	SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
	`local-variable-p' to check if cell name is already in use in this
	sheet or needs initialisation.
	(ses-relocate-all): Cell value relocation : 1) like for name
	relocation use the `ses-cell' property rather than comparing actual
	name to corresponding standard name. 2) Correct bug introduced in
	2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
	made the other way round than the intention --- ie value relocation
	was disabled for standard cell, not for renamed cell as was the
	intention.
	(ses-relocate-all): Add loop for unbinding deleted renamed cells
	names.
	(ses-killbuffer-hook): new defun.
	(ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
	kill buffer hook, plus pushing current buffer if new in list.
	(ses-delete-row, ses-delete-column): Collect deleted renamed cells
	into `ses--in-killing-named-cell-list'.
	(ses-rename-cell): Remove update of variable
	`ses--renamed-cell-symb-list', this variable is renamed to
	`ses--in-killing-named-cell-list', and its setting is done in
	functions `ses-delete-row' and , `ses-delete-column' now.
	(ses-rename-cell): Change correction of
	2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
	computation of the range over which `cursor-intangible' property was
	to be updated. This correction was ok for non spilling cells, but not
	for cells spilling over following blank cells. Simply use
	`next-single-property-change' rather than computing the end column
	from column widths.

2016-01-18  John Wiegley  <johnw@newartisans.com>

	-

2016-01-18  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	3ae7934 ; * etc/NEWS: Mark entries that don't need further treatment.
	6165c36 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
	2ffdf15 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
	71ecd62 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
	f0b82b3 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
	86e4513 Fix incompatbilities with MS-Windows 2000 and older
	4e96521 Mention in PROBLEMS an issue with MS-Windows NT4
	15c23aa Ensure 8-byte aligned memory allocation on MS-Windows 9X
	39afa42 Fix tests for active region in hideif.el
	05df666 Fix interactive specs in some hideif.el commands

2016-01-18  John Wiegley  <johnw@newartisans.com>

	-

2016-01-18  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid stdio in SIGINT handler

	* admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/ignore-value.h: New file, from gnulib.
	* src/keyboard.c: Include it.
	(write_stdout, read_stdin): New functions.
	(handle_interrupt): Use them instead of printf and getchar,
	and avoid fflush when handling signals.

2016-01-18  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>

	Refactor mml-smime.el, mml1991.el, mml2015.el

	(Maybe this is the last merge from Gnus git to Emacs git)

	Cf. discussion on ding mailing list, messages in
	<http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
	Common code from the three files mml-smime.el, mml1991.el, and
	mml2015.el is moved to mml-sec.el.  Auxiliary functions are added
	to gnus-util.el.

	The code is supported by test cases with necessary test keys.

	Documentation in message.texi is updated.

	* doc/misc/message.texi (Security, Using S/MIME):
	Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
	(Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
	(Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.

	* lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
	New functions.

	* lisp/gnus/mml-sec.el: Require gnus-util and epg.
	(epa--select-keys): Autoload.
	(mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
	(mml-secure-openpgp-signers): New user option;
	make mml1991-signers and mml2015-signers obsolete aliases to it.
	(mml-secure-smime-signers): New user option;
	make mml-smime-signers an obsolete alias to it.
	(mml-secure-openpgp-encrypt-to-self): New user option;
	make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
	aliases to it.
	(mml-secure-smime-encrypt-to-self): New user option;
	make mml-smime-encrypt-to-self an obsolete alias to it.
	(mml-secure-openpgp-sign-with-sender): New user option;
	make mml2015-sign-with-sender an obsolete alias to it.
	(mml-secure-smime-sign-with-sender): New user option;
	make mml-smime-sign-with-sender an obsolete alias to it.
	(mml-secure-openpgp-always-trust): New user option;
	make mml2015-always-trust an obsolete alias to it.
	(mml-secure-fail-when-key-problem, mml-secure-key-preferences):
	New user options.
	(mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
	(mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
	(mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
	(mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
	(mml-secure-passphrase-callback, mml-secure-check-user-id)
	(mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
	(mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
	(mml-secure-fingerprint, mml-secure-filter-keys)
	(mml-secure-normalize-cust-name, mml-secure-select-keys)
	(mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
	(mml-secure-self-recipients, mml-secure-recipients)
	(mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.

	* lisp/gnus/mml-smime.el: Require epg;
	refactor declaration and autoloading of epg functions.
	(mml-smime-use): Doc fix.
	(mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
	Obsolete.
	(mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
	Use format instead of gnus-format-message.
	(mml-smime-epg-secret-key-id-list): Remove variable.
	(mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
	(mml-smime-epg-find-usable-secret-key): Remove functions.
	(mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.

	* lisp/gnus/mml1991.el (mml1991-cache-passphrase)
	(mml1991-passphrase-cache-expiry): Obsolete.
	(mml1991-epg-secret-key-id-list): Remove variable.
	(mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
	(mml1991-epg-find-usable-secret-key): Remove functions.
	(mml1991-epg-sign, mml1991-epg-encrypt): Refactor.

	* lisp/gnus/mml2015.el (mml2015-cache-passphrase)
	(mml2015-passphrase-cache-expiry): Obsolete.
	(mml2015-epg-secret-key-id-list): Remove variable.
	(mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
	(mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
	(mml2015-epg-find-usable-secret-key): Remove functions.
	(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
	(mml2015-epg-encrypt): Refactor.

2016-01-18  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib

	This mostly just updates copyright dates of gnulib files.
	It also updates to the latest version of texinfo.tex.

2016-01-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Move variables to inner loop, preparing for Mac port merge

	* src/keyboard.c (command_loop_1): Move variables `cmd',
	`keybuf', and `i' to inner loop.

2016-01-17  Bill Wohler  <wohler@newt.com>

	* mh-e.el (mh-version): Add +git to version.

2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/syntax.el (syntax-ppss-table): New var

	(syntax-ppss):
	* lisp/font-lock.el (font-lock-fontify-syntactically-region): Use it.

2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	lisp/nxml: Use syntax-tables for comments

	* lisp/nxml/nxml-mode.el (nxml-set-face): Prepend.
	(nxml-mode): Set syntax-ppss-table.
	Use sgml-syntax-propertize-function for syntax-propertize-function.
	Let font-lock highlight strings and comments.
	(nxml-degrade): Don't touch "nxml-inside" property any more.
	(nxml-after-change, nxml-after-change1): Remove functions.
	(comment): Don't set fontify rule any more.
	(nxml-fontify-attribute): Don't highlight the value any more.
	(nxml-namespace-attribute-value-delimiter, nxml-namespace-attribute-value)
	(nxml-comment-delimiter, nxml-comment-content): Remove faces.

	* lisp/nxml/nxml-rap.el (nxml-scan-end): Remove.
	(nxml-get-inside, nxml-inside-start, nxml-inside-end): Use syntax-ppss.
	(nxml-clear-inside, nxml-set-inside): Remove.
	(nxml-scan-after-change): Remove function.
	(nxml-scan-prolog, nxml-tokenize-forward): Simplify.
	(nxml-ensure-scan-up-to-date): Use syntax-propertize.
	(nxml-move-outside-backwards):
	* lisp/nxml/nxml-outln.el (nxml-section-tag-backward): Adjust to new
	nxml-inside-start behavior.

	* lisp/nxml/nxml-util.el (nxml-debug-set-inside)
	(nxml-debug-clear-inside): Remove macros.

	* lisp/nxml/xmltok.el (xmltok-forward-special): Remove function.
	(xmltok-scan-after-comment-open): Simplify.

2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment

2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/nxml: Use standard completion; it also works for company-mode

	* lisp/nxml/nxml-mode.el (nxml-complete): Obsolete.
	(nxml-completion-at-point-function): Remove.
	(nxml-mode): Don't set completion-at-point-functions.
	* lisp/nxml/rng-nxml.el (rng-nxml-mode-init): Set it here instead.
	(rng-completion-at-point): Rename from rng-complete and mark it
	non-interactive.  It is now to be used as completion-at-point-function.
	(rng-complete-tag, rng-complete-end-tag, rng-complete-attribute-name)
	(rng-complete-attribute-value): Don't perform completion, but return
	completion data instead.
	(rng-complete-qname-function, rng-generate-qname-list): Add a few
	arguments, previously passed via dynamic coping.
	(rng-strings-to-completion-table): Rename from
	rng-strings-to-completion-alist.  Don't return an alist.  Don't both
	sorting and uniquifying.

	* lisp/nxml/rng-util.el (rng-complete-before-point): Delete function.
	(rng-completion-exact-p, rng-quote-string): Delete functions.

	* lisp/nxml/rng-valid.el (rng-recover-start-tag-open)
	(rng-missing-attributes-message, rng-missing-element-message)
	(rng-mark-missing-end-tags): Use explicit ".." in formats rather than
	calling rng-quote-string everywhere.

2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	Use sgml-electric-tag-pair-mode also in nxml-mode

	* lisp/nxml/rng-nxml.el: Require sgml-mode.
	(rng-nxml-easy-menu): Add entry for sgml-electric-tag-pair-mode.
	(rng-complete-qname-function): Use complete-with-action.

	* lisp/textmodes/sgml-mode.el (sgml-electric-tag-pair-before-change-function):
	Let-bind forward-sexp-function, since nxml-mode binds it to
	something incompatible.

	* lisp/nxml/nxml-mode.el: Use setq-local and defvar-local.

2016-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xmltok.el: Mark the "sole --" rather than the comment opener

	* lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Put the error
	marker on the "sole --" rather than on the comment opener.

2016-01-15  Sam Steingold  <sds@gnu.org>

	replace `tramp-compat-split-string' (removed) with `split-string'

	(python-shell-tramp-refresh-process-environment)
	(python-shell-calculate-pythonpath): use `split-string'
	instead of defunct `tramp-compat-split-string'

2016-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Update nXML to use Emacs's Unicode support, and lexical-binding

	* etc/nxml/*.el: Remove obsolete char-name files.
	* lisp/nxml/xsd-regexp.el (xsdre-range-list-difference): Remove unused
	var `next'.
	* lisp/nxml/rng-nxml.el (rng-set-state-after): Don't assume point-min==1.
	* lisp/nxml/rng-match.el (rng-update-match-state): Simplify.
	* lisp/nxml/nxml-outln.el (nxml-outline-state-transform-exceptions)
	(nxml-target-section-pos, nxml-depth-in-target-section)
	(nxml-outline-state-transform-alist)
	(nxml-outline-display-section-tag-function): Move decl before first use.
	* lisp/nxml/nxml-mode.el (nxml-char-name-ignore-case)
	(nxml-char-name-alist, nxml-char-name-table)
	(nxml-autoload-char-name-set-list, nxml-named-char-history): Remove vars.
	(nxml-enable-char-name-set, nxml-disable-char-name-set)
	(nxml-char-name-set-enabled-p, nxml-autoload-char-name-set)
	(nxml-define-char-name-set, nxml-get-char-name): Remove functions.
	(nxml-insert-named-char): Use read-char-by-name instead.
	(nxml-char-ref-display-extra): Use get-char-code-property.
	* lisp/nxml/nxml-maint.el (nxml-create-unicode-char-name-sets):
	Remove function.
	* lisp/nxml/nxml-glyph.el, lisp/nxml/nxml-uchnm.el: Remove files.

2016-01-15  Michael Albinus  <michael.albinus@gmx.de>

	Add "sg" method to Tramp

	* doc/misc/tramp.texi (Inline methods): Add "sg" method.
	(Customizing Completion): Add function `tramp-parse-etc-group'.

	* lisp/net/tramp-sh.el (tramp-methods) <sg>: Add.  (Bug#22329)
	(tramp-completion-function-alist-sg): New defconst.
	(top): Completion function for "sg" is
	`tramp-completion-function-alist-sg'.

	* lisp/net/tramp.el (tramp-completion-function-alist): Adapt docstring.
	(tramp-parse-etc-group, tramp-parse-etc-group-group): New defuns.

2016-01-14  Michael Albinus  <michael.albinus@gmx.de>

	Remove XEmacs compatibility in Tramp

	* doc/misc/tramp.texi: Replace flags by their hard coded name.
	Remove unused flags and the enclosed alternative text for XEmacs.

	* doc/misc/trampver.texi: Use "Tramp" CamelCase.  Rename "emacs"
	and "xemacs" flags to "unified" and "separate".  Remove flags
	"emacsgw", "emacsname", "emacsdir", "ftppackagename",
	"emacsothername", "emacsotherdir" and "emacsotherfilename".
	(trampver):
	* lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".

	* lisp/net/tramp.el (bkup-backup-directory-info)
	(directory-sep-char, ls-lisp-use-insert-directory-program)
	(outline-regexp, tramp-backup-directory-alist)
	(tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
	(tramp-file-name-regexp-unified)
	(tramp-file-name-regexp-separate)
	(tramp-completion-file-name-regexp-unified)
	(tramp-completion-file-name-regexp-separate, tramp-chunksize)
	(tramp-get-method-parameter, tramp-find-method, tramp-find-user)
	(tramp-debug-message, tramp-progress-reporter-update)
	(with-tramp-progress-reporter)
	(tramp-rfn-eshadow-setup-minibuffer)
	(rfn-eshadow-setup-minibuffer-hook, tramp-unload-hook)
	(tramp-rfn-eshadow-update-overlay)
	(rfn-eshadow-update-overlay-hook, tramp-default-file-modes)
	(tramp-file-name-for-operation)
	(tramp-completion-file-name-handler)
	(tramp-autoload-file-name-handler, tramp-completion-mode-p)
	(tramp-handle-directory-files)
	(tramp-handle-directory-files-and-attributes)
	(tramp-handle-dired-uncache, tramp-handle-find-backup-file-name)
	(tramp-handle-insert-file-contents, tramp-handle-load)
	(tramp-handle-shell-command)
	(tramp-handle-verify-visited-file-modtime)
	(tramp-handle-file-notify-valid-p, tramp-accept-process-output)
	(tramp-check-for-regexp, tramp-wait-for-regexp)
	(tramp-send-string, tramp-mode-string-to-int)
	(tramp-get-local-gid, tramp-check-cached-permissions)
	(tramp-get-remote-tmpdir, tramp-make-tramp-temp-file)
	(auto-save-file-name-transforms)
	(tramp-handle-make-auto-save-file-name, tramp-read-passwd)
	(tramp-clear-passwd, tramp-time-diff):
	* lisp/net/tramp-adb.el (directory-listing-before-filename-regexp)
	(directory-sep-char, tramp-adb-file-name-handler-alist)
	(tramp-adb-parse-device-names)
	(tramp-adb-handle-expand-file-name)
	(tramp-adb-handle-file-truename, tramp-adb--gnu-switches-to-ash)
	(tramp-adb-handle-file-local-copy)
	(tramp-adb-handle-write-region, tramp-adb-handle-set-file-modes)
	(tramp-adb-handle-rename-file, tramp-adb-handle-process-file)
	(tramp-adb-handle-shell-command)
	(tramp-adb-handle-start-file-process, tramp-adb-get-device)
	(tramp-adb-maybe-open-connection):
	* lisp/net/tramp-cache.el (tramp-persistency-file-name)
	(tramp-cache-print):
	* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections)
	(tramp-bug, tramp-reporter-dump-variable)
	(tramp-load-report-modules, tramp-append-tramp-buffers):
	* lisp/net/tramp-compat.el (tramp-compat-funcall)
	(tramp-advice-file-expand-wildcards)
	(tramp-compat-temporary-file-directory)
	(tramp-compat-make-temp-file, tramp-compat-copy-file)
	(tramp-compat-delete-directory, )
	(tramp-compat-process-running-p):
	* lisp/net/tramp-ftp.el (tramp-methods) <ftp>:
	(tramp-default-method-alist, tramp-foreign-file-name-handler-alist):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
	(tramp-gvfs-do-copy-or-rename-file, tramp-gvfs-handle-copy-file)
	(tramp-gvfs-handle-file-local-copy)
	(tramp-gvfs-handle-file-name-all-completions)
	(tramp-gvfs-handle-file-notify-add-watch)
	(tramp-gvfs-monitor-file-process-filter)
	(tramp-gvfs-handle-file-readable-p)
	(tramp-gvfs-handle-rename-file, tramp-gvfs-handle-write-region)
	(tramp-gvfs-file-name, tramp-gvfs-handler-askquestion)
	(tramp-gvfs-maybe-open-connection)
	(tramp-gvfs-parse-device-names):
	* lisp/net/tramp-gw.el (tramp-gw-aux-proc-sentinel)
	(tramp-gw-open-connection, tramp-gw-open-network-stream):
	* lisp/net/tramp-sh.el (directory-sep-char)
	(tramp-sh-file-name-handler-alist)
	(tramp-sh-handle-file-truename)
	(tramp-sh-handle-set-visited-file-modtime)
	(tramp-sh-handle-verify-visited-file-modtime)
	(tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
	(tramp-sh-handle-file-acl)
	(tramp-sh-handle-file-name-all-completions)
	(tramp-sh-handle-copy-file, tramp-sh-handle-rename-file)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band)
	(dired-compress-file-suffixes, dired-remove-file)
	(tramp-sh-handle-dired-compress-file)
	(tramp-sh-handle-insert-directory)
	(tramp-sh-handle-expand-file-name)
	(tramp-sh-handle-start-file-process)
	(tramp-sh-handle-process-file, tramp-sh-handle-file-local-copy)
	(tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
	(tramp-sh-handle-file-notify-add-watch)
	(tramp-sh-gvfs-monitor-dir-process-filter)
	(tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
	(tramp-find-executable)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-find-inline-encoding, tramp-compute-multi-hops)
	(tramp-maybe-open-connection, tramp-convert-file-attributes)
	(tramp-get-remote-path, tramp-get-remote-touch):
	* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
	(tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
	(tramp-smb-handle-delete-directory)
	(tramp-smb-handle-directory-files, tramp-smb-handle-file-acl)
	(tramp-smb-handle-make-directory-internal)
	(tramp-smb-handle-process-file, tramp-smb-handle-rename-file)
	(tramp-smb-handle-set-file-acl, tramp-smb-handle-set-file-modes)
	(tramp-smb-handle-write-region, tramp-smb-get-file-entries)
	(tramp-smb-get-cifs-capabilities)
	(tramp-smb-maybe-open-connection):
	* lisp/net/trampver.el (tramp-repository-get-version):
	Remove XEmacs compat code.

	* lisp/net/tramp-cmds.el (mml-mode, mml-insert-empty-tag)
	(reporter-dump-variable): Declare functions.

	* lisp/net/tramp.el (tramp-bkup-backup-directory-info)
	(tramp-advice-minibuffer-electric-separator)
	(tramp-advice-minibuffer-electric-tilde)
	(tramp-handle-unhandled-file-name-directory):
	* lisp/net/tramp-compat.el (tramp-compat-with-temp-message)
	(tramp-compat-font-lock-add-keywords)
	(tramp-compat-load, tramp-compat-number-sequence)
	(tramp-compat-split-string, tramp-compat-delete-dups):
	* lisp/net/tramp-sh.el (tramp-sh-handle-insert-file-contents-literally):
	Remove.

	* lisp/net/tramp-sh.el (tramp-methods) <psftp>: This does not work
	recursively.

2016-01-14  K. Handa  <handa@gnu.org>

	fix previous change of src/ftfont.c (ftfont_shape_by_flt)

	* src/ftfont.c (ftfont_shape_by_flt): Fix previous change.  Access the
	second glyph only when there are enough glyphs.

2016-01-13  Glenn Morris  <rgm@gnu.org>

	* src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,

	or its hook, to move point.  (Bug#22348)

2016-01-12  Michael Albinus  <michael.albinus@gmx.de>

	Merge missing commit from emacs-25 branch

	* test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE, SELECTOR):
	New variables.
	(check-expensive, check-doit): New targets.

	* Makefile.in (check-expensive): New target.

	* test/lisp/autorevert-tests.el
	(auto-revert-test01-auto-revert-several-files):
	* test/lisp/filenotify-tests.el (file-notify--deftest-remote)
	(file-notify-test06-many-events):
	* test/lisp/net/tramp-tests.el (tramp-test26-process-file)
	(tramp-test27-start-file-process, tramp-test28-shell-command)
	(tramp-test29-vc-registered)
	(tramp-test31-special-characters-with-stat)
	(tramp-test31-special-characters-with-perl)
	(tramp-test31-special-characters-with-ls)
	(tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
	(tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
	(tramp-test35-unload): Tag the tests as :expensive-test.

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	1f6898d test/automated/vc-hg.el: Support out-of-tree build
	3adb56e Minor change in tramp-tests.el
	2b535ba ; * etc/NEWS: Update the js.el entry.
	76b518c * etc/HELLO: Add Armenian and Mongolian greetings.
	b51f1ef Java Mode: Fontify identifiers in the presence of annotations.
	36b9539 Avoid an infloop when we run out of memory
	2006752 Avoid unnecessary failures of auto-saving after fatal error
	eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer
	552694a Revert attempt to use 'noexcept' in typedef
	6ad0d39 Update documentation of 'indirect-function'
	c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.
	303141a Update documentation for obsoleting 'syntax-begin-function'
	4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries.
	e667bbb Document new features if Eshell
	9c4e4e0 ; * etc/NEWS: Update EUDC entries.
	1089dc9 Handle too long commands in Tramp
	684eb58 * .gitattributes: *.cur and *.pif are binary files too.
	d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
	bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
	09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
	cca0f93 ; Account for spaces before the filename
	c71e1e8 Use short date for 'hg annotate', and output the author
	f50027b Spelling fix
	c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated.
	cc140bc Document user-level functions in project.el
	f8208b6 Document the user-level features of the Xref package
	b131fb8 * loading.texi: Add `define-type' entry for load-history
	db3c2a8 Improve doc strings and prompts in xref.el
	f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode.
	90fd798 Fix coding system for Tramp on OS X.
	e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
	9dfcbf0 Update 'load-history' docs
	207e191 Fix (error ...) error
	457738f Correctly analyze brace arguments in templated C++ function declarations.
	d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
	2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
	1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
	8be046f Respect fontification region calculated by major mode.  Fixes bug #22316.
	4b37cba Improve documentation of Delete Selection mode
	a034dd3 Fix two project-find-file issues
	30abf29 Clarify doc string of 'dired-current-directory'
	e990bb2 Use the face of preceding text for displaying the ellipsis
	5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el
	eeb710a ; * lisp/startup.el: Sentences end with two spaces.
	428b3de * admin/admin.el (set-version): Also handle the NEWS file.
	648de81 ; Add NEWS entry for project.el
	671862f apropos-library: Skip obvious duplicates; don't error on generics
	51668a5 ; Grammar fix
	ed41d11 Add project-find-file and project-or-external-find-file
	056da45 ; Improve commentary in 'setup_for_ellipsis'
	269d008 ; Improve docstring for `inhibit-startup-echo-area-message'

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	ce4a052 Add defvar-local to lisp-imenu-generic-expression
	a0121bc Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
	76fe2d5 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
	1ae088f * lisp/emacs-lisp/autoload.el (autoload-find-destination):
	b6b47af Properly encode/decode base64Binary data in SOAP
	c632466 Obey coding-system-for-write when writing stdout/stderr in batch
	2f32cb5 * doc/misc/efaq.texi (Packages that do not come with Emacs):
	        Update the URI of MELPA and marmalade-repo.
	        Reported by CHENG Goa <chenggao@royau.me> in
	        https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
	d2937aa * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
	5330c25 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
	7380990 Remove function wrongly on AWK Mode value of context
	fontification hook.
	d400753 * src/buffer.c: Stick with ASCII in doc string.
	221240c Reword transient-mark-mode doc string
	977d3ea Update doc string of 'selective-display'
	229c3fa Make C++ buffers writeable when writing their initial text
	        properties.
	f5c762c Additional changes for "make check-expensive"
	1729cf3 ; * admin/MAINTAINERS: Remove myself.
	33219d3 Apply text properties for <, > in new after-change function
	        (C++ Java Modes).

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	9fb185a shr-tag-video bug fix
	6300655 Minor fixes in tramp-tests.el
	50575b1 Ensure redisplay when 'truncate-lines' is set
	0d9e80d Fix a doc string of 'transient-mark-mode'
	0000ae5 MS-Windows followup to latest gnulib update
	4bc5e02 Spelling fix
	f1093f7 Do secure signed Bcc handling

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
	46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
	71ea138 * lisp/align.el (align): Simplify a lambda
	5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
	1f680db Fix compilation next-error in buffers with selective-display
	d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
	1da116f Add SHA1 warnings for high network security settings
	e48bacd ; * etc/NEWS: Typo fix.

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	43662a2 ; Clarify that xref is still experimental
	0a6e6ca ; * admin/release-process: Remove some obsolete records.
	c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
	8637f3d (semantic-symref-derive-find-filepatterns): Return a list
	0a7ad07 ; Re-arrange xref-related entries in NEWS.
	fe903ef Fix xref-find-references on MS-Windows
	55a28d8 ; Fixed visual bell artifact problem on NextStep.
	d064034 Document new features of tildify-mode
	964bea7 Document new features of Whitespace mode
	cd68f47 Improve documentation of new Hide-IfDef features
	723b8bf Fix regression in font-locking cl-assert and cl-check-type

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	ef33bc7 Spelling and grammar fixes
	9c3dbab Fix copyright years by hand
	0e96320 Update copyright year to 2016

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
	526d80c Port chart.el methods to cl-generic.
	410bb69 Add nt/INSTALL.W64 build instructions
	8f5b524 Add new input method 'programmer-dvorak'
	6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
	bb83bb1 Fix EWW rendering of long RTL lines
	b1a8509 fix  bug#21054
	ce5ad12 Clean up cairo printing code

2016-01-11  John Wiegley  <johnw@newartisans.com>

	Merge from origin/emacs-25

	6ee327d Add handle_user_signal_hook
	47580e0 Avoid writing to purespace
	0588be7 Remove unused variable
	89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
	3b95e9c Use posix_openpt instead of openpty on Darwin
	86312ff Document support for ':documentation' in Lisp mode
	c930e75b Document new features of TeX mode
	7c83d84 Clarify docs of hscroll in RTL text
	4c8f8db Fix rendering of HTML pages that use character composition
	a8d37ca Avoid some compiler warnings in w32.c
	ce106f3de Undo ill-advised change
	be0bba4 Unbreak completion in python-mode buffers

2016-01-08  Andrew Hyatt  <ahyatt@gmail.com>

	Adding example replies to bug-triage.

	* admin/notes/bug-triage: Added example replies. Also, as requested,
	  making the process notes into more of a checklist.

2016-01-08  Andrew Hyatt  <ahyatt@gmail.com>

	Rename the notes/admin/triage file to bug-triage.

	* CONTRIBUTE: Change reference to the triage file name.
	* admin/notes/triage: Rename file to admin/notes/bug-triage.

2016-01-08  K. Handa  <handa@gnu.org>

	Fix outdated comments.

2016-01-06  Glenn Morris  <rgm@gnu.org>

	Allow creation of loaddefs files without timestamps.

	* lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable.
	(autoload-generate-file-autoloads, update-directory-autoloads):
	If autoload-timestamps is nil, write "t" instead of file timestamp.
	(autoload-find-destination, update-directory-autoloads):
	If timestamp is "t", use the modtime of the output file instead.

2016-01-06  Glenn Morris  <rgm@gnu.org>

	Doc tweaks.

	* lisp/calendar/cal-hebrew.el (diary-hebrew-list-entries):
	* lisp/calendar/cal-iso.el (calendar-iso-to-absolute)
	(calendar-iso-from-absolute):
	* lisp/calendar/cal-tex.el (cal-tex-comment):
	* lisp/calendar/solar.el (calendar-time-display-form): Doc tweaks.

2016-01-06  Glenn Morris  <rgm@gnu.org>

	Build tweaks related to tags files.

	* lib-src/Makefile.in (tagsfiles): New variable.
	(TAGS): Also depend on the source files.  Use our own etags program.
	* lisp/Makefile.in (ETAGS): Add EXEEXT.
	(lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
	Remove.
	(tagsfiles): New, replacing lisptagsfiles1 etc.
	Remove irrelevant source files here rather than in the TAGS rule.
	(${ETAGS}): New rule.
	(TAGS): Also depend on the etags executable.
	* lwlib/Makefile.in (EXEEXT): New, set by configure.
	(ETAGS): Add EXEEXT.
	(${ETAGS}): New rule.
	(ctagsfiles): Use "wildcard".
	(TAGS): Also depend on the etags executable.
	* nt/Makefile.in (ETAGS, tagsfiles): New variables.
	(${ETAGS}): New rule.
	(TAGS): Fix dependencies.
	* oldXMenu/Makefile.in (EXEEXT): New, set by configure.
	(ETAGS): New variable, replacing $TAGS.  Use our own etags program.
	Remove "-t" argument.
	(${ETAGS}): New rule.
	(tagsfiles): New variable.
	(TAGS): New rule, with proper dependencies.
	* src/Makefile.in (ETAGS): Add EXEEXT.  Add a build rule.
	(ctagsfiles1, ctagsfiles2): Use "wildcard".
	(ctagsfiles3): Remove.
	(TAGS): Depend on etags.
	(../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
	directories decide if updates are needed.

2016-01-06  Glenn Morris  <rgm@gnu.org>

	* lisp/Makefile.in (CAL_SRC): Skip calendar.el.

2016-01-06  Glenn Morris  <rgm@gnu.org>

	* test/lisp/emacs-lisp/package-tests.el

	(package-test-macro-compilation): Fixup branch merge.

2016-01-05  Eli Zaretskii  <eliz@gnu.org>

	Fix fallout from merging emacs-25 branch in test/

	* .gitignore: Update for the new place of biditest.txt.
	* test/automated/: Directory removed.  All files moved to their
	proper places.
	* test/etags/: Directory removed.  All files moved to their proper
	places.
	* test/automated/url-parse-tests.el: File removed; it was an exact
	copy of the same file in test/lisp/url/.
	* test/automated/url-expand-tests.el: Moved to test/lisp/url/.

2016-01-04  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

2016-01-04  Daniel Colascione  <dancol@dancol.org>

	Let users disable unsafe signal handling code

	* src/keyboard.c (syms_of_keyboard): New user variables
	`attempt-stack-overflow-recovery' and
	`attempt-orderly-shutdown-on-fatal-signal'.
	* src/sysdep.c (stack_overflow): Check
	`attempt-stack-overflow-recovery'.
	* src/emacs.c (terminate_due_to_signal): Check
	`attempt-orderly-shutdown-on-fatal-signal'.

2016-01-03  Michael Albinus  <michael.albinus@gmx.de>

	* configure.ac: Add error message for gfile on Nextstep.

2016-01-02  John Wiegley  <johnw@newartisans.com>

	Merge branch 'emacs-25-merge'

2016-01-02  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Align textually on fix done for emacs-25 branch for bug#21054

	* lisp/ses.el (ses-check-curcell): Suppress ``temporary fix'' comment,
	and useless `(if t ...)' in order to align textually on fix done for
	emacs-25 branch for bug#21054.

2016-01-01  K. Handa  <handa@gnu.org>

	support rendering of wider range of combinging characters by ftfont backend

	* lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
	supports rendering of combining characters, call
	font-shape-gstring.

	* src/font.c (Ffont_get): Handle `combining-capability' property.
	(syms_of_font): New symbol ":combining-capability'.

	* src/font.h (struct font_driver): New member combining_capability.

	* src/ftfont.c: Include "category.h".
	(ftfont_driver): Initialize combining_capability to
	ftfont_combining_capability.
	(ftfont_shape_by_flt): If OTF is null, try to find a suitable
	FLT in advance.
	(ftfont_combining_capability): New function.

2016-01-01  Andrew Hyatt  <ahyatt@gmail.com>

	Add notes on bug triage procedure

	* CONTRIBUTE: In section on the issue tracker, point to new triage file.
	* admin/notes/triage: New file explaining triage procedure.

2015-12-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Correct ses-rename-cell cursor-intangible text prop updating.

	There were two problems:

	- First ses-rename-cell has to work when called non interactively
	  (with non-nil CELL argument), so in this case the start pos of
	  put-text-property cannot be plainly (point), you need a
	  ses-goto-print call before

	- Second, the range itself was computed erronously, only the first
	  char was affected instead of the full cell width. This was not
	  noticeable prior to changes (Deprecate `intangible' and
	  `point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z

	* lisp/ses.el (ses-rename-cell): Correct computation of position range
	to which the 'cursor-intangible text property has to be set to cell
	new name.

2015-12-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Don't fake empty cells value by "" when printing with a lambda.

	When using a lambda expression printer function the user should be
	free to format differently a really empty cell, ie. containing nil,
	from a cell containing an empty string "".

	* ses.el (ses-call-printer): Replace `(or value "")' by just `value'
	in the case of a lambda expression printer function.

	* ses.texi (Printer functions): Add example and description about
	lambda expression printer function handling all the possible values,
	including unexpected ones.

2015-12-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Quick temporary hack to fix curcell refreshing.

	The problem was caused by change: 2015-04-13 Deprecate `intangible'
	and `point-entered' properties. The problem is that this change has
	removed the (setq ses--curcell t) setting in the ses-command-hook
	function.

	* ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
	a condition to call function `ses-set-curcell'. Comment this as a quick
	temporary hack to make it work, as I don't know yet whether a definite
	correction would be to make the ses-set-curcell at every ses-check-curcell,
	or to revert to the previous approach, ie marking ses--curcell as out-of-date
	at every potentially cursor motion command.

2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Restrictive URL checking tweaks

	* lisp/net/eww.el (eww): Check whether the domain is
	restrictive instead of the string
	(http://македонија.icom.museum is restrictive even if each
	part is from a different script).

2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	New function `puny-highly-restrictive-domain-p'

	* lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
	(puny-highly-restrictive-domain-p): New function.

2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	eww build fix (require puny)

2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Transform non-restrictive domains to punycode for display

	* lisp/net/eww.el (eww): Check whether the domain is Highly
	Restrictive in the Unicode IDNA sense.

2015-12-29  John Wiegley  <johnw@newartisans.com>

	Merge emacs-25 into master (using imerge)

2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Further Unicode restrictive fixups

	* puny.el (puny-highly-restrictive-p): Include the extra
	identifier characters from table 3.

2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a new function to say whether a string is restrictive

	* puny.el (puny-highly-restrictive-p): New function.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention the new puny.el library

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	IDNA-related fixes for the URL library

	* lisp/url/url-http.el (url-http-create-request): IDNA-encode
	the Host: header.

	* lisp/url/url-util.el (url-encode-url): Don't hex-encode
	domain names, but leave them as UTF-8, so that they can be
	IDNA-encoded later when contacting the host.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	IDNA-encode all domain names in `open-network-stream'

	* network-stream.el (open-network-stream)
	(network-stream-open-plain, network-stream-open-starttls):
	IDNA-encode all domain names, if needed.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix puny-encoding all-non-ASCII domains

	* puny.el (puny-encode-string): Fix the all-non-ASCII encoding case.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	shr link traversal fixup

	* shr.el (shr-next-link): Don't bug out on adjacent links.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Reconnect erc even on server errors

	* lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
	reconnect even if a server error has occurred (bug#18527).

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix punycode short circuit logic

	* puny.el (puny-encode-domain): Fix short-circuit logic.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	IDNA speed up

	* puny.el (puny-encode-domain): Make the common non-IDNA case faster

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Add IDNA domain encode/decode functions

	* puny.el (puny-decode-domain): New function.
	(puny-encode-domain): Ditto.
	(puny-decode-digit): Fix digit decoding error.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Rename idna.el to puny.el

	* puny.el: Renamed from idna.el to avoid name collisions with
	the external idna.el library.

2015-12-27  Katsumi Yamaoka  <yamaoka@jpl.org>

	lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility

	* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe):
	Don't use split-string with 4th arg for old Emacsen compatibility.

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	* idna.el (idna-decode-string-internal): Implement decoding.

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Further IDNA tweaks

	(idna-encode-string): Make idna-encode-string safe for
	non-ASCII use.

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Clean up the code slightly

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Added basic idna encoding support

	* lisp/net/idna.el: New file.

2015-12-27  Vivek Dasmohapatra  <vivek@etla.org>

	Disconnection fixes for erc

	* lisp/erc/erc-backend.el (erc-server-reconnect-p): Don't
	reconnect if the user has disconnected explicitly (bug#4589).

2015-12-27  Thomas Riccardi  <riccardi.thomas@gmail.com>  (tiny change)

	Further erc asynch fixes

	* lisp/erc/erc-backend.el (erc-process-sentinel-2): Make
	erc-server-connect to return even if the connection is not
	ready.  Then erc-open and erc-server-reconnect do the
	same. (bug#5650).

2015-12-27  Vivek Dasmohapatra  <vivek@etla.org>

	Make erc connect asynchronously

	* lisp/erc/erc-backend.el (erc-server-reconnect): Use it to
	reconnect asynchronously.

	* lisp/erc/erc-backend.el (erc-open-network-stream): New function (bug#5650).

2015-12-27  David Edmondson  <dme@dme.org>

	Proxy error in erc with multiple clients

	* lisp/erc/erc.el (erc-channel-receive-names): Fix errors
	generated when multiple IRC clients talk to a single IRC proxy
	(bug#19034).

2015-12-27  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>

	Fix mml-sec build warnings

	* lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
	(bug#18718).

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	(eww-setup-buffer): Restore left-to-right defaults

	* eww.el (eww-setup-buffer): Restore left-to-right defaults.

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.

2015-12-27  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>

	Identify unsafe combinations of Bcc and encryption

	* lisp/gnus/gnus-util.el (gnus-subsetp): New function
	* lisp/gnus/mml-sec.el (mml-secure-safe-bcc-list): New variable
	* lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): New function

2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>

	* shr.el (shr-descend): Allow using lambdas in external functions.

2015-12-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* admin/gitmerge.el: Tweaks that seemed necessary

	* admin/gitmerge.el (gitmerge-skip-regexp): Remove "sync".
	(gitmerge-maybe-resume): Provide explicit empty commit message.

2015-12-25  Łukasz Stelmach  <stlman@poczta.fm>  (tiny change)

	Use a different port for TLS erc

	* lisp/erc/erc.el (erc-default-port-tls): New variable
	(bug#19497).
	* lisp/erc/erc.el (erc-tls): Use it.

2015-12-25  Alain Schneble  <a.s@realize.ch>

	Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)

	* test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
	* test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
	* lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
	information in URL-struct.
	* lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
	path and query into nil path and query, respectively.
	* lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
	empty path into an absolute ("/") path.
	* lisp/url/url-expand.el (url-expand-file-name): Properly resolve
	fragment-only URIs. Do not just return them unchanged.
	* lisp/url/url-expand.el (url-default-expander): An empty path in the relative
	reference URI should not drop the last segment.

2015-12-25  Alain Schneble  <a.s@realize.ch>

	Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)

	* test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
	* test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
	* lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
	information in URL-struct.
	* lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
	path and query into nil path and query, respectively.
	* lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
	empty path into an absolute ("/") path.
	* lisp/url/url-expand.el (url-expand-file-name): Properly resolve
	fragment-only URIs. Do not just return them unchanged.
	* lisp/url/url-expand.el (url-default-expander): An empty path in the relative
	reference URI should not drop the last segment.

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Let url use default file modes when copying files

	* lisp/url/url-handlers.el (url-copy-file): Use default file
	modes when copying files (bug#11400).

2015-12-25  Devon Sean McCullough  <Emacs-Hacker2012@jovi.net>

	Doc fix for url-http

	* lisp/url/url-http.el (url-http): Document better return values
	  (bug#13187) (tiny change)

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	* eww.el (eww-display-html): Support <button> tags (bug#20485).

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Made ffap-url-p a defun instead of a defsubst

	* lisp/ffap.el (ffap-url-p): Change from defsusbt to defun,
	since there doesn't seem to be much of a reason for it to be a
	defsubst (bug#18203).

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a command to view files in the browser to dired

	* lisp/dired.el (dired-mode-map): Add the `W' command
	(bug#18810).

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow http://user:pass@foo/ URLs again

	* lisp/url/url-auth.el (url-basic-auth): Allow explicit
	user/passwords in URLs (bug#19046).

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	* eww.el (eww-mode-map): Fix command name of eww-toggle-colors.

2015-12-25  Samer Masterson  <samer@samertm.com>

	Autoload url-insert-buffer-contents

	* lisp/url/url-handlers.el: Add autoload cookie so that
	`package-list-packages' doesn't bug out (bug#21927) (tiny change)

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow toggling colors in eww

	* doc/misc/eww.texi (Basics): Mention "C".

	* lisp/net/eww.el (eww-toggle-colors): New command and keystroke.

	* lisp/net/shr.el (shr-use-colors): New variable.
	(shr-colorize-region): Use it.

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Follow meta refresh tags in eww

	* eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	More eww file name coding fixes

	* eww.el (eww-decode-url-file-name): Use the base coding
	system to check for encodability.

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Always save eww history

	* eww.el (eww-setup-buffer): Always save history, even when
	called from outside the eww buffer (bug#19638).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Default web pages to right-to-left

	* eww.el (eww-mode): Most web pages are left-to-right, so make
	that the default (bug#19801).

	* shr.el (shr-tag-html): Respect "dir" attributes
	(left-to-right, right-to-left).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Make toggling checkboxes work again

	* eww.el (eww-update-field): Make toggling checkboxes work
	again (bug#21881).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't store cookies with empty names

	* lisp/url/url-cookie.el (url-cookie-store): Refuse to store
	cookies with empty names (bug#21936).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Stop rendering HTML before specdlr exhaustion

	Fixes: 22117

	* shr.el (shr-descend): Stop rendering before we run out of
	specpdl room (bug#22117).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Use cl-reduce, not reduce.

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow several <tbody> tags in shr

	* shr.el (shr-table-body): New function to find the real body
	of a table.
	(shr-tag-table): Use it to render several <tbody> tags in a
	table (bug#22170).

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Make prettier unique file names in eww

	(eww-make-unique-file-name): Make unique file names by making
	files like foo(2).jpg instead of foo(1)(2).jpg.

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Decode hex-encoded URLs before using them as file names

	* eww.el (eww-decode-url-file-name): New function.
	(eww-download-callback): Use it to decode file names before
	saving them.

2015-12-24  Ashish SHUKLA  <ashish.is@lostca.se>

	Add FreeBSD cert bundle

	* doc/misc/emacs-gnutls.texi (Help For Users): Document
	FreeBSD bundle.

	* lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow overriding shr functions from eww

	* eww.el (eww-display-html): Allow overriding elements in
	`shr-external-rendering-functions'.

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Ignore invalid SVG images

	* shr.el (shr-tag-svg): Ignore SVG images that have no width
	or height, because these can't be displayed by ImageMagick,
	anyway.

2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	shr table rendering fix

	* shr.el (shr-tag-table): Allow rendering body-less tables
	that have headers.

2015-12-22  Sam Steingold  <sds@gnu.org>

	clipboard should still work even if interprogram-* is disabled

	(clipboard-yank): When `interprogram-cut-function' is nil,
	bind it to `gui-selection-value' - the default value.
	(clipboard-kill-region, clipboard-kill-ring-save): When
	`interprogram-paste-function' is nil, bind it to `gui-select-text' -
	the default value.

2015-12-18  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix bootstrap issue with dired-loaddefs

	* lisp/dired.el: Autoloads for secondary files loaded optionally.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	dired generate autoloads to non-versioned file.

	* lisp/dired.el: Remove autoloads.
	* lisp/Makefile.in: Add dired to autogenel.
	* lisp/dired-aux.el,lisp/dired-x.el: Update file local.
	* test/lisp/dired-tests.el: Add new test.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	eieio generate autoloads to non-versioned file.

	* lisp/Makefile.in: eieio-loaddefs add to autogenel.
	* lisp/emacs-lisp/eieio.el,lisp/emacs-lisp/eieio-core.el:
	  Remove autoloads.
	* lisp/emacs-lisp/eieio-compat.el,lisp/emacs-lisp/eieio-custom.el,
	  lisp/emacs-lisp/eieio-opt.el: Update file local.
	* test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: New test.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	htmlfontify generate autoload to non-versioned file.

	* lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
	* lisp/hfy-cmap.el: Update file local.
	* lisp/htmlfontify.el: Remove autoloads, add require.
	* test/lisp/htmlfontify-tests.el: Test autoload functionality.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	ibuffer generate autoloads to non-versioned file.

	* lisp/Makefile.in: Add ibuffer-loaddefs to autogenel.
	* lisp/ibuf-ext.el: Update file local.
	* lisp/ibuffer.el: Remove autoloads and add a require.
	* test/lisp/ibuffer-tests.el: Test that autoload is working.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	rmail generate autoloads to non-versioned file.

	* lisp/Makefile.in: Add rmail-loaddefs.el to autogenel.
	* lisp/mail/rmail.el: Remove autoloads, add require.
	* lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el,
	  lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el,
	  lisp/mail/rmailsort.el,lisp/mail/rmailsum.el,
	  lisp/mail/undigest.el: Update file-local.
	* test/lisp/mail/rmail-tests.el:

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	Add autoload-force target.

	* lisp/Makefile.in (autoload-force): New target.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	ps-print generate autoloads to non versioned file.

	* lisp/Makefile.in: Add ps-print-loaddefs.el to autogen list.
	* lisp/ps-print.el: Remove autoloads.
	* lisp/ps-mule.el: Update file-local.
	* test/lisp/ps-print-tests.el: Test autoload functionality.

2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>

	reftex generate autoloads to non versioned file.

	* lisp/Makefile.in: Add reftex-loaddefs to autogen files
	* lisp/textmodes/reftex.el: Remove autoloads.
	* lisp/textmodes/reftex-auc.el,lisp/textmodes/reftex-cite.el,
	  lisp/textmodes/reftex-dcr.el,lisp/textmodes/reftex-global.el,
	  lisp/textmodes/reftex-index.el,lisp/textmodes/reftex-parse.el,
	  lisp/textmodes/reftex-ref.el,lisp/textmodes/reftex-sel.el,
	  lisp/textmodes/reftex-toc.el: Update autoload file-local.
	* test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
	  function.

2015-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/calculator.el (calculator-define-key): Undo last change

	Make map argument mandatory instead (bug#22106).
	(calculator-add-operators): Pass the argument that's not optional any more.

2015-12-03  Glenn Morris  <rgm@gnu.org>

	* Makefile.in: Avoid duplication.

	(have-tests): New rule.
	(check, check-maybe): Use it.

2015-12-02  Phillip Lord  <phillip.lord@russet.org.uk>

	make check unconditional, check-maybe top-level.

	 * Makefile.in: Add check-maybe target.
	 * test/Makefile.in: Restore unconditional behaviour to make check.

2015-12-01  Phillip Lord  <phillip.lord@russet.org.uk>

	Tests now support out-of-source-build.

	 * tests/Makefile.in,test/make-test-deps.emacs-lisp: Remove assumptions
	   about current working directory.

2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/let-alist.el: Now an Elpa :core package

2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>

	Improve documentation and clean up.

	 * test/Makefile.in: Improve documentation, use EMACS variable
	   correctly, and clean up makefile rules.

2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>

	Update file headers for name change.

	 * (test/src/decompress-tests.el, test/src/alloc-tests.el): Update headers.

2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>

	Test files renamed to new scheme.

	 * (finalizer-tests.el): Now renamed alloc-tests.el
	 * (zlib-tests.el): Now renamed decompress-tests.el.

2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>

	Tests now depend on source files

	 * test/Makefile.in: Include dependences from tests to source files.
	 * test/make-test-deps.emacs-lisp: New file
	 * .gitignore: Ignore generated make include file

2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/which-func.el: Improve disabling the mode

	Use lexical-binding.
	(which-func-modes, which-func-non-auto-modes, which-func-maxout)
	(which-func, which-func-format): Remove redundant :group arg.
	(which-func-try-to-enable): New function.
	(which-func-ff-hook, which-function-mode): Use it.
	(mode-line-misc-info): Add ourselves here instead of in bindings.el.
	* lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.

2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/calculator.el (calculator-define-key): Silence warning

	...about unknown calculator-mode-map.

2015-11-29  Eli Barzilay  <eli@barzilay.org>

	* lisp/calculator.el: more improvements and bugfixes.

	- Mark `calculator-paste-decimals' as obsolete.  (It wasn't having an
	  effect anyway.)

	- Simplify `calculator-number-to-string' by throwing most of the work
	  onto `number-to-string', leaving just some tweaks for decimal inputs.
	  This leads to some minor changes, for example, pasting "1x1" in hex
	  mode would warn that "x" is ignored and result in "11" (and it wasn't
	  done in decimal mode), whereas now it just ignores everything from the
	  "x" and on and result in a "1" just like in decimal input mode.  Also,
	  overflows are left for `number-to-string' to deal with.

	- `calculator-paste' is very simple as a result.

	- Extend the simplified `calculator-paste': with a prefix argument it
	  pastes a string as if the characters were entered.  This can be used
	  to reduce expressions, but note that it's a simple literal operation,
	  so precedence can be messed, a number can be paster while entering a
	  number, spaces and newlines matter, etc.

	- Fix a minor bug where "e+" in hex mode wouldn't use "+" as an
	  operator.

	- Fix a bug in `calculator-put-value': avoid grouping in the display
	  that is used to construct `calculator-curnum'.  This would trigger
	  when pasting or getting a value from a register in some radix mode
	  with a large enough value.  Another fix: make the output radix equal
	  the input one, otherwise numbers could be converted twice.

2015-11-29  Eli Barzilay  <eli@barzilay.org>

	* lisp/calculator.el: Re-do key bindings.

	Use a helper function that arranges a parent keymap that binds alternate
	case keys so if some letter key is unbound and it's un/shifted version
	is, it will get used.  This makes the global-map trickery unnecessary.

	Also switch to passing strings that name keys through `kbd'.

2015-11-29  Eli Barzilay  <eli@barzilay.org>

	* lisp/calculator.el: improve radix modes

	Fix prompt for some input radix with decimal output (eg, "BD" instead of
	the incorrect "B="); also, some minor docstring tweaks for these.

2015-11-29  Eli Barzilay  <eli@barzilay.org>

	* lisp/calculator.el: better reading of register names

	Use `register-read-with-preview' with a dynamically bound
	`register-alist' and a proper preview function to read register names.

2015-11-29  Eli Barzilay  <eli@barzilay.org>

	* lisp/calculator.el: General improvements

	Use things like `when', `unless', and `push'.

	Improve `calculator-last-input' so it doesn't barf when hitting `F1' in
	non-electric mode.

2015-11-28  Michael Albinus  <michael.albinus@gmx.de>

	Fix a problem with gfilenotify in filenotify-tests.el

	* test/lisp/filenotify-tests.el
	(file-notify--test-expected-events): Remove.
	(file-notify--test-cleanup): Do not set that variable.
	(file-notify--test-with-events): EVENTS can also be a list of lists.
	(file-notify-test02-events, file-notify-test04-file-validity):
	Adapt expected result.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	* .gitignore: Adjust to changes in 'test' directory structure.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Fix test/manual/etags/Makefile

	* test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
	changes in 'test' directory structure.

2015-11-27  Phillip Lord  <phillip.lord@russet.org.uk>

	Exclude resource dirs from search for tests.

	* test/Makefile.in: Test file locations are now found with find
	  rather than using finds native functions.

2015-11-27  Phillip Lord  <phillip.lord@russet.org.uk>

	Add test targets without directory names.

	 * (test/Makefile.in): Extend test_template to add two targets for each
	   file.

2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Require url-handlers

2015-11-27  Phillip Lord  <phillip.lord@russet.org.uk>

	Move elisp-mode-tests to new function names.

	 * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
	 find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.

2015-11-27  Juanma Barranquero  <lekktu@gmail.com>

	* lisp/emacs-lisp/package.el: Declare `url-insert-buffer-contents'

2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>

	Merge branch 'feature/standard-test-location'

2015-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio.el: Add some default implementations

	(standard-class): Mark it obsolete.
	(slot-missing): Give it a default implementation.
	(destructor): Simplify and mark it obsolete.
	(object-print): Give it a default implementation.
	(eieio-change-class): Rename from change-class.
	(change-class): Redefine as obsolete alias.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Mention kqueue in NEWS

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Merge from scratch/kqueue

	bec57a4 Some final fixes in file notification before merging with master
	0247489 Rework file notifications, kqueue has problems with directory monitors
	5154781 Continie with pending events
	6b490c0 Improve loops in file-notify-test06-many-events
	c8e266f Handle more complex rename operation in kqueue
	5044bdf New test with a larger number of events.
	65ba5a9 Further fixes for kqueue.
	13f3508 Code cleanup of kqueue.c
	99aa855 Doc changes for kqueue
	8deebe1 Finish implementation in kqueue.c
	90d6c69 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
	e95b309 More work on kqueue
	41d9bd0 Implement directory events
	c571fc1 Build fixes for kqueue support.
	e0a68f2 Continue kqueue implementation
	7543d1c Work on kqueue
	e3354e2 Add kqueue support
	c6457ce Minor fix to comment indentation and typo in last commit
	b92307f linum-mode plays more nicely with other margin-setting extensions
	58e6235 * lisp/image-mode.el: Support encrypted file
	9375652 * lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote
	47f83b6 ; ChangeLog.2 fixes
	7cc233e * lisp/emacs-lisp/package.el: Fix a decoding issue
	5f9153f * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async
	353f5e7 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
	70f1fda ; Auto-commit of ChangeLog files.
	ae0653b * CONTRIBUTE: Remove information about feature freeze.
	9459456 Merge branch 'release-process-lowercase'
	9a4aa0f Document the release process
	f8cc14b * admin/release-process: Rename from admin/FOR-RELEASE.
	dcd5877 gitmerge: Fix git log command
	2ac79ae gitmerge: Try to detect cherry-picks
	5f7a2a9 Increment Emacs version on master branch
	ed2e7e2 Mention CONTRIBUTE in README
	9e00a02 Update verilog-mode.el to 2015-11-09-b121d60-vpo.
	138ad3d ; Fix warnings
	7126e9a ; Update xref-etags-mode for the latest change
	246d660 Use generic dispatch for xref backends
	31f6e93 Support rectangular regions for more commands
	f103a27 Handle multiple matches on the same line; add highlighting
	fe973fc Replace xref-match-bounds with xref-match-length
	92a5010 Merge from gnulib
	04ac097 Spruce up ftfont.c memory allocation
	4c4b520 Port recent XCB changes to 64-bit ‘long int’
	4f0ce9c * src/undo.c (run_undoable_change): Now static.
	695a6f9 Remove support for ':timeout' from w32 tray notifications
	a731c2f * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
	2b4c0c0 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
	66b9f7b * src/undo.c: Small fixes for previous change
	2fac30e Add a few more variables to redisplay--variables
	04f69f1 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
	e221d32 Fix point positioning after transposing with negative arg
	35f5afb Fix last change in shr.el
	508e77b Fix last change
	d60ed3f Another fix for MinGW64 and Cygwin builds due to notifications
	805a39b Remove intern calls and XXX comments from Fx_export_frames
	9463abf shr: don't invoke unbound function (Bug#21895)
	6e5186e * test/automated/keymaps-test.el: Fix test to make it repeatable
	0c92826 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
	39dbd1c : Tests for undo-auto functionality.
	20aa42e ; Merge branch 'fix/no-undo-boundary-on-secondary-buffer-change'
	44dfa86 The heuristic that Emacs uses to add an `undo-boundary' has been reworked, as it interacts poorly with functions on `post-command-hook' or `after-change-functions'.
	d2f73db Bind [?\S-\ ] to previous line command in Dired-like modes.
	c1bc6e5 Fix the MinGW64 and Cygwin-w32 builds
	1e363a8 Enable sorting of JSON object keys when encoding
	9dd7da9 * test/automated/keymap-tests.el: New test file
	aa17de9 Speed up x_real_pos_and_offsets using XCB
	a838c83 Enable use of XCB for checking window manager state
	c7f2b6a Detect XCB and save a connection handle
	e1c27db Reduce some data dependencies between X calls
	25e32bd Use color cache for creating bitmap
	851be0f Add "^" to the interactive specs of `dired-next/previous-line'
	055ca3a Sync with soap-client repository, version 3.0.2
	e0f64e7 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
	952395d * lisp/obarray.el: Fix shadowed variables
	436d330 Avoid error in submitting a form with EWW
	e887f6e ; * doc/lispref/os.texi: Fix indentation of sample code.
	51d840a Rename seq-p and map-p to seqp and mapp
	23036ba Rename obarray-p to obarrayp
	20aea42 Rename obarray-foreach to obarray-map
	a3b2101 New file with obarray functions.
	9d43941 Implement tray notifications for MS-Windows

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Some final fixes in file notification before merging with master

	* lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
	(file-notify-callback): Improve check for `stopped' event.  Call
	`file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
	(file-notify-add-watch): In case FILE is not a directory, call the
	file monitor for the kqueue backend.  Otherwise, call the
	directory monitor for the upper directory.

	* src/inotify.c (inotifyevent_to_event): Extract file name from
	watch_object if the event doesn't provide it.
	(Finotify_add_watch): Add file name to watch_object.

	* test/automated/file-notify-tests.el (file-notify--test-timeout):
	Use different timeouts for different libraries.
	(file-notify--test-with-events): Suppress lock files.  Flush
	outstanding events before running the body.
	(file-notify-test02-events, file-notify-test04-file-validity): Do
	not skip cygwin tests.  Add additional test for file creation.
	Adapt expected result for different backends.
	(file-notify-test03-autorevert): Some of the tests don't work for
	w32notify.
	(file-notify-test06-many-events): Rename into both directions.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Rework file notifications, kqueue has problems with directory monitors

	* lisp/filenotify.el (file-notify-add-watch): Call the native
	add-watch function on the file, not on the dir.

	* src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
	about already deleted entries.

	* test/automated/auto-revert-tests.el
	(auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
	since this deletes the target file first.

	* test/automated/file-notify-tests.el (file-notify--test-event-test):
	Make stronger checks.
	(file-notify-test01-add-watch, file-notify-test02-events)
	(file-notify-test04-file-validity, file-notify-test05-dir-validity):
	Rewrite in order to call file monitors but directory monitors.
	(file-notify-test06-many-events): Ler rename work in both directions.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Continie with pending events

	* src/kqueue.c (pending_events): Remove global variable.
	(kqueue_compare_dir_list): Create `write' event for not used
	pending events.
	(globals_of_kqueue): Remove initialization of pending_events.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Improve loops in file-notify-test06-many-events

	* test/automated/file-notify-tests.el (file-notify-test06-many-events):
	Use `read-event' pauses for the `write-file' loops; otherwise
	events are lost in inotify and gfilenotify cases.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Handle more complex rename operation in kqueue

	* src/kqueue.c (pending_events): New variable.
	(kqueue_compare_dir_list): Handle more complex rename operation.
	(globals_of_kqueue): Initialize pending_events.

	* test/automated/file-notify-tests.el (file-notify-test06-many-events):
	Adapt expected events in the `rename-file' case.
	(file-notify-test06-many-events-remote): Declare.

2015-11-25  Wolfgang Jenkner  <wjenkner@inode.at>

	New test with a larger number of events.

	* test/automated/file-notify-tests.el (file-notify--test-with-events):
	Make timeout heuristically depend on the number of events.

	(file-notify-test06-many-events): Use it for new test.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Further fixes for kqueue.

	* lisp/filenotify.el (file-notify-callback): Raise also event if
	directory name matches.
	(file-notify-add-watch): Add `create' to the flags for `kqueue'.

	* src/kqueue.c (kqueue_generate_event): Use watch_object as
	argument instead of ident.  Remove callback argument.  Adapt
	callees.  Check actions whether they are monitored flags.

	* test/automated/file-notify-tests.el (file-notify--test-library):
	New defun.
	(file-notify-test00-availability, file-notify-test02-events)
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity): Use it.
	(file-notify-test02-events, file-notify-test04-file-validity): Add
	`read-event' calls between different file actions, in order to
	give the backends a chance to rais an event.  Needed especially
	for kqueue.  In case of deleting a directory, there are two
	`deleted' events.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Code cleanup of kqueue.c

	* src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
	(kqueue_compare_dir_list): Do not loop when calling
	directory_files_internal.  Remove checks for "." and "..", this is
	done in kqueue_directory_listing now.
	(Fkqueue_add_watch): Check for proper emacs_open flags.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Doc changes for kqueue

	* doc/lispref/os.texi (File Notifications): Add kqueue as backend.
	Fix some glitches in the example.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Finish implementation in kqueue.c

	* src/kqueue.c (kqueue_directory_listing, kqueue_callback):
	Simplify access to list.
	(kqueue_compare_dir_list): Simplify access to list.  Raise
	`delete' event if directory does not exist any longer.  Otherwise,
	wait until directory contents has changed.  Fix error in check.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/filenotify.el (file-notify-add-watch): Fix thinko.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	More work on kqueue

	* lisp/filenotify.el (file-notify-callback): Handle also the
	`rename' event from kqueue.
	(file-notify-add-watch): Do not register an entry twice.

	* src/kqueue.c (kqueue_directory_listing): New function.
	(kqueue_generate_event): New argument FILE1.  Adapt callees.
	(kqueue_compare_dir_list): Rewrite in order to make it more robust.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Implement directory events

	* lisp/filenotify.el (file-notify-handle-event)
	(file-notify-callback): Remove traces.

	* src/kqueue.c: Include <sys/time.h>.
	(kqueue_generate_event, kqueue_compare_dir_list): New functions.
	(kqueue_callback): Use them.  Call kevent() with a zero timeout.
	(Fkqueue_add_watch): Adapt docstring.  Support directory events.
	Compute initial directory listing.  Close file descriptor in case
	of errors.
	(syms_of_kqueue): Declare Qcreate.

2015-11-25  Wolfgang Jenkner  <wjenkner@inode.at>

	Build fixes for kqueue support.

	* src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
	flag.

	* configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
	kqueue on *BSD.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Continue kqueue implementation

	* lisp/filenotify.el (file-notify-handle-event)
	(file-notify-callback): Enable trace messages.

	* src/kqueue.c: Include also <sys/types.h>.
	(kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
	(Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
	(syms_of_kqueue): Add them.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Work on kqueue

	* lisp/filenotify.el (file-notify--library)
	(file-notify-descriptors, file-notify-callback)
	(file-notify-add-watch, file-notify-rm-watch)
	(file-notify-valid-p): Add kqueue support.

	* src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Add kqueue support

	* configure.ac (--with-file-notification): Add kqueue.
	(top): Remove special test for "${HAVE_NS}" and
	${with_file_notification}, this is handled inside gfilenotify
	tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
	instead of library specific variables.

	* src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.

	* src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.

	* src/kqueue.c: New file.

	* src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.

2015-11-25  Michael Albinus  <michael.albinus@gmx.de>

	Some final fixes in file notification before merging with master

	* lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
	(file-notify-callback): Improve check for `stopped' event.  Call
	`file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
	(file-notify-add-watch): In case FILE is not a directory, call the
	file monitor for the kqueue backend.  Otherwise, call the
	directory monitor for the upper directory.

	* src/inotify.c (inotifyevent_to_event): Extract file name from
	watch_object if the event doesn't provide it.
	(Finotify_add_watch): Add file name to watch_object.

	* test/automated/file-notify-tests.el (file-notify--test-timeout):
	Use different timeouts for different libraries.
	(file-notify--test-with-events): Suppress lock files.  Flush
	outstanding events before running the body.
	(file-notify-test02-events, file-notify-test04-file-validity): Do
	not skip cygwin tests.  Add additional test for file creation.
	Adapt expected result for different backends.
	(file-notify-test03-autorevert): Some of the tests don't work for
	w32notify.
	(file-notify-test06-many-events): Rename into both directions.

2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>

	Update elisp-mode-tests for changed file location.

	 * test/lisp/progmodes/elisp-mode-tests.el:

2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>

	Exclude manual tests from Makefile

	 * test/Makefile.in:

2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>

	Move package test files to new directory.

	 * test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
	 * test/data/package: Moved to test/lisp/emacs-lisp/package-resources

2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>

	Restore delete Makefiles and fix .gitignore.

	 * .gitignore: Update Makefiles to changed locations
	 * test/lisp/progmodes/flymake-resources/Makefile,
	   test/manual/etags/Makefile,
	   test/manual/etags/make-src/Makefile,
	   test/manual/indent/Makefile: Restored and moved to new location.

2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>

	Test infrastructure: updates after directory move

	 * (test/Makefile.in): Support directories several levels deep.
	 * (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
	 * (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.

2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>

	Rename all test files to reflect source layout.

	 * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
	   test directory moves.
	 * test/file-organisation.org: New file.
	 * test/automated/Makefile.in
	   test/automated/data/decompress/foo.gz
	   test/automated/data/epg/pubkey.asc
	   test/automated/data/epg/seckey.asc
	   test/automated/data/files-bug18141.el.gz
	   test/automated/data/flymake/test.c
	   test/automated/data/flymake/test.pl
	   test/automated/data/package/archive-contents
	   test/automated/data/package/key.pub
	   test/automated/data/package/key.sec
	   test/automated/data/package/multi-file-0.2.3.tar
	   test/automated/data/package/multi-file-readme.txt
	   test/automated/data/package/newer-versions/archive-contents
	   test/automated/data/package/newer-versions/new-pkg-1.0.el
	   test/automated/data/package/newer-versions/simple-single-1.4.el
	   test/automated/data/package/package-test-server.py
	   test/automated/data/package/signed/archive-contents
	   test/automated/data/package/signed/archive-contents.sig
	   test/automated/data/package/signed/signed-bad-1.0.el
	   test/automated/data/package/signed/signed-bad-1.0.el.sig
	   test/automated/data/package/signed/signed-good-1.0.el
	   test/automated/data/package/signed/signed-good-1.0.el.sig
	   test/automated/data/package/simple-depend-1.0.el
	   test/automated/data/package/simple-single-1.3.el
	   test/automated/data/package/simple-single-readme.txt
	   test/automated/data/package/simple-two-depend-1.1.el
	   test/automated/abbrev-tests.el
	   test/automated/auto-revert-tests.el
	   test/automated/calc-tests.el
	   test/automated/icalendar-tests.el
	   test/automated/character-fold-tests.el
	   test/automated/comint-testsuite.el
	   test/automated/descr-text-test.el
	   test/automated/electric-tests.el
	   test/automated/cl-generic-tests.el
	   test/automated/cl-lib-tests.el
	   test/automated/eieio-test-methodinvoke.el
	   test/automated/eieio-test-persist.el
	   test/automated/eieio-tests.el
	   test/automated/ert-tests.el
	   test/automated/ert-x-tests.el
	   test/automated/generator-tests.el
	   test/automated/let-alist.el
	   test/automated/map-tests.el
	   test/automated/advice-tests.el
	   test/automated/package-test.el
	   test/automated/pcase-tests.el
	   test/automated/regexp-tests.el
	   test/automated/seq-tests.el
	   test/automated/subr-x-tests.el
	   test/automated/tabulated-list-test.el
	   test/automated/thunk-tests.el
	   test/automated/timer-tests.el
	   test/automated/epg-tests.el
	   test/automated/eshell.el
	   test/automated/faces-tests.el
	   test/automated/file-notify-tests.el
	   test/automated/auth-source-tests.el
	   test/automated/gnus-tests.el
	   test/automated/message-mode-tests.el
	   test/automated/help-fns.el
	   test/automated/imenu-test.el
	   test/automated/info-xref.el
	   test/automated/mule-util.el
	   test/automated/isearch-tests.el
	   test/automated/json-tests.el
	   test/automated/bytecomp-tests.el
	   test/automated/coding-tests.el
	   test/automated/core-elisp-tests.el
	   test/automated/decoder-tests.el
	   test/automated/files.el
	   test/automated/font-parse-tests.el
	   test/automated/lexbind-tests.el
	   test/automated/occur-tests.el
	   test/automated/process-tests.el
	   test/automated/syntax-tests.el
	   test/automated/textprop-tests.el
	   test/automated/undo-tests.el
	   test/automated/man-tests.el
	   test/automated/completion-tests.el
	   test/automated/dbus-tests.el
	   test/automated/newsticker-tests.el
	   test/automated/sasl-scram-rfc-tests.el
	   test/automated/tramp-tests.el
	   test/automated/obarray-tests.el
	   test/automated/compile-tests.el
	   test/automated/elisp-mode-tests.el
	   test/automated/f90.el
	   test/automated/flymake-tests.el
	   test/automated/python-tests.el
	   test/automated/ruby-mode-tests.el
	   test/automated/subword-tests.el
	   test/automated/replace-tests.el
	   test/automated/simple-test.el
	   test/automated/sort-tests.el
	   test/automated/subr-tests.el
	   test/automated/reftex-tests.el
	   test/automated/sgml-mode-tests.el
	   test/automated/tildify-tests.el
	   test/automated/thingatpt.el
	   test/automated/url-future-tests.el
	   test/automated/url-util-tests.el
	   test/automated/add-log-tests.el
	   test/automated/vc-bzr.el
	   test/automated/vc-tests.el
	   test/automated/xml-parse-tests.el
	   test/BidiCharacterTest.txt
	   test/biditest.el
	   test/cedet/cedet-utests.el
	   test/cedet/ede-tests.el
	   test/cedet/semantic-ia-utest.el
	   test/cedet/semantic-tests.el
	   test/cedet/semantic-utest-c.el
	   test/cedet/semantic-utest.el
	   test/cedet/srecode-tests.el
	   test/cedet/tests/test.c
	   test/cedet/tests/test.el
	   test/cedet/tests/test.make
	   test/cedet/tests/testdoublens.cpp
	   test/cedet/tests/testdoublens.hpp
	   test/cedet/tests/testfriends.cpp
	   test/cedet/tests/testjavacomp.java
	   test/cedet/tests/testnsp.cpp
	   test/cedet/tests/testpolymorph.cpp
	   test/cedet/tests/testspp.c
	   test/cedet/tests/testsppcomplete.c
	   test/cedet/tests/testsppreplace.c
	   test/cedet/tests/testsppreplaced.c
	   test/cedet/tests/testsubclass.cpp
	   test/cedet/tests/testsubclass.hh
	   test/cedet/tests/testtypedefs.cpp
	   test/cedet/tests/testvarnames.c
	   test/etags/CTAGS.good
	   test/etags/ETAGS.good_1
	   test/etags/ETAGS.good_2
	   test/etags/ETAGS.good_3
	   test/etags/ETAGS.good_4
	   test/etags/ETAGS.good_5
	   test/etags/ETAGS.good_6
	   test/etags/a-src/empty.zz
	   test/etags/a-src/empty.zz.gz
	   test/etags/ada-src/2ataspri.adb
	   test/etags/ada-src/2ataspri.ads
	   test/etags/ada-src/etags-test-for.ada
	   test/etags/ada-src/waroquiers.ada
	   test/etags/c-src/a/b/b.c
	   test/etags/c-src/abbrev.c
	   test/etags/c-src/c.c
	   test/etags/c-src/dostorture.c
	   test/etags/c-src/emacs/src/gmalloc.c
	   test/etags/c-src/emacs/src/keyboard.c
	   test/etags/c-src/emacs/src/lisp.h
	   test/etags/c-src/emacs/src/regex.h
	   test/etags/c-src/etags.c
	   test/etags/c-src/exit.c
	   test/etags/c-src/exit.strange_suffix
	   test/etags/c-src/fail.c
	   test/etags/c-src/getopt.h
	   test/etags/c-src/h.h
	   test/etags/c-src/machsyscalls.c
	   test/etags/c-src/machsyscalls.h
	   test/etags/c-src/sysdep.h
	   test/etags/c-src/tab.c
	   test/etags/c-src/torture.c
	   test/etags/cp-src/MDiagArray2.h
	   test/etags/cp-src/Range.h
	   test/etags/cp-src/burton.cpp
	   test/etags/cp-src/c.C
	   test/etags/cp-src/clheir.cpp.gz
	   test/etags/cp-src/clheir.hpp
	   test/etags/cp-src/conway.cpp
	   test/etags/cp-src/conway.hpp
	   test/etags/cp-src/fail.C
	   test/etags/cp-src/functions.cpp
	   test/etags/cp-src/screen.cpp
	   test/etags/cp-src/screen.hpp
	   test/etags/cp-src/x.cc
	   test/etags/el-src/TAGTEST.EL
	   test/etags/el-src/emacs/lisp/progmodes/etags.el
	   test/etags/erl-src/gs_dialog.erl
	   test/etags/f-src/entry.for
	   test/etags/f-src/entry.strange.gz
	   test/etags/f-src/entry.strange_suffix
	   test/etags/forth-src/test-forth.fth
	   test/etags/html-src/algrthms.html
	   test/etags/html-src/index.shtml
	   test/etags/html-src/software.html
	   test/etags/html-src/softwarelibero.html
	   test/etags/lua-src/allegro.lua
	   test/etags/objc-src/PackInsp.h
	   test/etags/objc-src/PackInsp.m
	   test/etags/objc-src/Subprocess.h
	   test/etags/objc-src/Subprocess.m
	   test/etags/objcpp-src/SimpleCalc.H
	   test/etags/objcpp-src/SimpleCalc.M
	   test/etags/pas-src/common.pas
	   test/etags/perl-src/htlmify-cystic
	   test/etags/perl-src/kai-test.pl
	   test/etags/perl-src/yagrip.pl
	   test/etags/php-src/lce_functions.php
	   test/etags/php-src/ptest.php
	   test/etags/php-src/sendmail.php
	   test/etags/prol-src/natded.prolog
	   test/etags/prol-src/ordsets.prolog
	   test/etags/ps-src/rfc1245.ps
	   test/etags/pyt-src/server.py
	   test/etags/tex-src/gzip.texi
	   test/etags/tex-src/nonewline.tex
	   test/etags/tex-src/testenv.tex
	   test/etags/tex-src/texinfo.tex
	   test/etags/y-src/atest.y
	   test/etags/y-src/cccp.c
	   test/etags/y-src/cccp.y
	   test/etags/y-src/parse.c
	   test/etags/y-src/parse.y
	   test/indent/css-mode.css
	   test/indent/js-indent-init-dynamic.js
	   test/indent/js-indent-init-t.js
	   test/indent/js-jsx.js
	   test/indent/js.js
	   test/indent/latex-mode.tex
	   test/indent/modula2.mod
	   test/indent/nxml.xml
	   test/indent/octave.m
	   test/indent/pascal.pas
	   test/indent/perl.perl
	   test/indent/prolog.prolog
	   test/indent/ps-mode.ps
	   test/indent/ruby.rb
	   test/indent/scheme.scm
	   test/indent/scss-mode.scss
	   test/indent/sgml-mode-attribute.html
	   test/indent/shell.rc
	   test/indent/shell.sh
	   test/redisplay-testsuite.el
	   test/rmailmm.el
	   test/automated/buffer-tests.el
	   test/automated/cmds-tests.el
	   test/automated/data-tests.el
	   test/automated/finalizer-tests.el
	   test/automated/fns-tests.el
	   test/automated/inotify-test.el
	   test/automated/keymap-tests.el
	   test/automated/print-tests.el
	   test/automated/libxml-tests.el
	   test/automated/zlib-tests.el: Files Moved.

2015-11-21  Wilson Snyder  <wsnyder@wsnyder.org>

	verilog-mode.el: Commentary and fix pre-Emacs 21 behavior.

	* verilog-mode.el (verilog-save-font-no-change-functions):
	Commentary and fix pre-Emacs 21 behavior.

2015-11-20  Michael Albinus  <michael.albinus@gmx.de>

	Rework file notifications, kqueue has problems with directory monitors

	* lisp/filenotify.el (file-notify-add-watch): Call the native
	add-watch function on the file, not on the dir.

	* src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
	about already deleted entries.

	* test/automated/auto-revert-tests.el
	(auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
	since this deletes the target file first.

	* test/automated/file-notify-tests.el (file-notify--test-event-test):
	Make stronger checks.
	(file-notify-test01-add-watch, file-notify-test02-events)
	(file-notify-test04-file-validity, file-notify-test05-dir-validity):
	Rewrite in order to call file monitors but directory monitors.
	(file-notify-test06-many-events): Ler rename work in both directions.

2015-11-19  Przemysław Wojnowski  <esperanto@cumego.com>

	Use obarray functions from obarray.

	* lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
	  abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
	  clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
	  delegate to obarray.el functions.
	* lisp/loadup.el: load obarray before abbrev
	* test/automated/abbrev-tests.el: new tests

2015-11-19  Michael Albinus  <michael.albinus@gmx.de>

	Continie with pending events

	* src/kqueue.c (pending_events): Remove global variable.
	(kqueue_compare_dir_list): Create `write' event for not used
	pending events.
	(globals_of_kqueue): Remove initialization of pending_events.

2015-11-19  Michael Albinus  <michael.albinus@gmx.de>

	Improve loops in file-notify-test06-many-events

	* test/automated/file-notify-tests.el (file-notify-test06-many-events):
	Use `read-event' pauses for the `write-file' loops; otherwise
	events are lost in inotify and gfilenotify cases.

2015-11-19  Michael Albinus  <michael.albinus@gmx.de>

	Handle more complex rename operation in kqueue

	* src/kqueue.c (pending_events): New variable.
	(kqueue_compare_dir_list): Handle more complex rename operation.
	(globals_of_kqueue): Initialize pending_events.

	* test/automated/file-notify-tests.el (file-notify-test06-many-events):
	Adapt expected events in the `rename-file' case.
	(file-notify-test06-many-events-remote): Declare.

2015-11-18  Christian Schwarzgruber  <c.schwarzgruber.cs@gmail.com>  (tiny change)

	epa.el: Add option to replace original text

	* lisp/epa.el (epa-replace-original-text): New user option.
	(Bug#21947)

2015-11-18  Mark Oteiza  <mvoteiza@udel.edu>

	Add interactive seek command.

	* lisp/mpc.el (mpc-cmd-seekcur): New function.
	(mpc-seek-current): New command.
	(mpc-mode-menu): Add entry for mpc-seek-current
	(mpc-mode-map): Bind mpc-seek-current to "g"

2015-11-18  Mark Oteiza  <mvoteiza@udel.edu>

	Fix issue where a new tempfile was created every refresh

	* lisp/mpc.el (mpc-format): Leave dir as relative path

2015-11-18  Wolfgang Jenkner  <wjenkner@inode.at>

	New test with a larger number of events.

	* test/automated/file-notify-tests.el (file-notify--test-with-events):
	Make timeout heuristically depend on the number of events.

	(file-notify-test06-many-events): Use it for new test.

2015-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/cc-defs.el: Use with-silent-modifications

	(c-save-buffer-state): Use with-silent-modifications when available.
	(c--macroexpand-all): Check macroexpand-all directly rather than
	c--mapcan-status.

2015-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/loadup.el: Set max-lisp-eval-depth here

	* lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
	(BYTE_COMPILE_FLAGS): Adjust accordingly.

2015-11-18  Michael Albinus  <michael.albinus@gmx.de>

	Further fixes for kqueue.

	* lisp/filenotify.el (file-notify-callback): Raise also event if
	directory name matches.
	(file-notify-add-watch): Add `create' to the flags for `kqueue'.

	* src/kqueue.c (kqueue_generate_event): Use watch_object as
	argument instead of ident.  Remove callback argument.  Adapt
	callees.  Check actions whether they are monitored flags.

	* test/automated/file-notify-tests.el (file-notify--test-library):
	New defun.
	(file-notify-test00-availability, file-notify-test02-events)
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity): Use it.
	(file-notify-test02-events, file-notify-test04-file-validity): Add
	`read-event' calls between different file actions, in order to
	give the backends a chance to rais an event.  Needed especially
	for kqueue.  In case of deleting a directory, there are two
	`deleted' events.

2015-11-17  João Távora  <joaotavora@gmail.com>

	Minor fix to comment indentation and typo in last commit

	* linum.el (linum-update-window): Fix comment indentation and a
	typo.

2015-11-17  João Távora  <joaotavora@gmail.com>

	linum-mode plays more nicely with other margin-setting extensions

	linum.el will only modify the left margin if it needs to, and will
	only reset the it back to 0 if it guesses that no-one has touched that
	margin in the meantime.

	As such, this is a more of a workaround than an actual fix, but fixes
	the problems described in bug#20674 regarding the interaction with
	modes such as darkroom-mode and olivetti-mode.

	A similar fix was commited to nlinum.el in ELPA.git's
	e7f5f549fbfb740b911fb7f33b42381ecece56d8

	* linum.el (linum-delete-overlays): Restore margins more
	criteriously.
	(linum-update-window): Set margins more criteriously.

2015-11-17  Michael Albinus  <michael.albinus@gmx.de>

	Code cleanup of kqueue.c

	* src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
	(kqueue_compare_dir_list): Do not loop when calling
	directory_files_internal.  Remove checks for "." and "..", this is
	done in kqueue_directory_listing now.
	(Fkqueue_add_watch): Check for proper emacs_open flags.

2015-11-16  Daiki Ueno  <ueno@gnu.org>

	* lisp/image-mode.el: Support encrypted file

	(image-toggle-display-image): Read content from the buffer instead
	of the file, if the buffer holds a decrypted data.  (Bug#21870)

2015-11-16  Michael Albinus  <michael.albinus@gmx.de>

	Doc changes for kqueue

	* doc/lispref/os.texi (File Notifications): Add kqueue as backend.
	Fix some glitches in the example.

2015-11-16  Michael Albinus  <michael.albinus@gmx.de>

	Finish implementation in kqueue.c

	* src/kqueue.c (kqueue_directory_listing, kqueue_callback):
	Simplify access to list.
	(kqueue_compare_dir_list): Simplify access to list.  Raise
	`delete' event if directory does not exist any longer.  Otherwise,
	wait until directory contents has changed.  Fix error in check.

2015-11-15  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/filenotify.el (file-notify-add-watch): Fix thinko.

2015-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote

2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Fix a decoding issue

	(package--with-response-buffer): Use `url-insert-buffer-contents'.
	The previous code had some issues with decoding. Refactoring that
	function allows us to use the decoding from url-handlers while still
	treating both sync and async requests the same.

	* lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
	`url-insert-buffer-contents'.
	(url-insert-buffer-contents): New function

2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async

	(package--with-work-buffer-async): Reimplement as
	`package--with-response-buffer'.
	(package--with-work-buffer): Mark obsolete.
	(package--with-response-buffer): New macro. This is a more self
	contained and less contrived version of
	`package--with-work-buffer-async'.  It uses keyword arguments,
	doesn't have async on the name, doesn't fallback on
	`package--with-work-buffer', and has _much_ simpler error
	handling.

	(package--check-signature, package--download-one-archive)
	(package-install-from-archive, describe-package-1): Use it.

	(package--download-and-read-archives): Let
	`package--download-one-archive' take care of calling
	`package--update-downloads-in-progress'.

2015-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/verilog-mode.el: Use with-silent-modifications

	(verilog-save-buffer-state): Use with-silent-modifications when available.
	(verilog-save-font-no-change-functions): Don't bind
	before/after-change-functions if it's not needed.

2015-11-15  Michael Albinus  <michael.albinus@gmx.de>

	More work on kqueue

	* lisp/filenotify.el (file-notify-callback): Handle also the
	`rename' event from kqueue.
	(file-notify-add-watch): Do not register an entry twice.

	* src/kqueue.c (kqueue_directory_listing): New function.
	(kqueue_generate_event): New argument FILE1.  Adapt callees.
	(kqueue_compare_dir_list): Rewrite in order to make it more robust.

2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>

	* CONTRIBUTE: Remove information about feature freeze.

	Merge branch 'release-process-lowercase'

2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>

	Document the release process

	* admin/notes/versioning: Add information about RC releases.
	* admin/release-process: Document the release process.
	* admin/authors.el (authors-ignored-files):
	* admin/README: Change FOR-RELEASE to release-process.
	* CONTRIBUTE:
	* admin/notes/bugtracker: Don't mention FOR-RELEASE.

2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>

	* admin/release-process: Rename from admin/FOR-RELEASE.

2015-11-14  David Engster  <deng@randomsample.de>

	gitmerge: Fix git log command

	* admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
	only want commits from the branch that is to be merged.
	(gitmerge-setup-log-buffer): Use the same symmetric range as in
	`gitmerge-missing'.

2015-11-14  David Engster  <deng@randomsample.de>

	gitmerge: Try to detect cherry-picks

	* admin/gitmerge.el (gitmerge-default-branch): Change to
	origin/emacs-25.
	(gitmerge-missing): Use symmetric difference ('...') between
	branch and master so that cherry-picks can be detected.

2015-11-14  Michael Albinus  <michael.albinus@gmx.de>

	Implement directory events

	* lisp/filenotify.el (file-notify-handle-event)
	(file-notify-callback): Remove traces.

	* src/kqueue.c: Include <sys/time.h>.
	(kqueue_generate_event, kqueue_compare_dir_list): New functions.
	(kqueue_callback): Use them.  Call kevent() with a zero timeout.
	(Fkqueue_add_watch): Adapt docstring.  Support directory events.
	Compute initial directory listing.  Close file descriptor in case
	of errors.
	(syms_of_kqueue): Declare Qcreate.

2015-11-14  Eli Zaretskii  <eliz@gnu.org>

	Increment Emacs version on master branch

	* lisp/cus-edit.el (customize-changed-options-previous-release):
	Increase previous version to 24.5.

	* configure.ac:
	* msdos/sed2v2.inp: Bump version to 25.1.50.

2015-11-13  Xue Fuqiao  <xfq.free@gmail.com>

	Mention CONTRIBUTE in README

	Mention CONTRIBUTE in README, since it was moved from etc/ to root.
	* etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
	* README: Mention CONTRIBUTE.

2015-11-13  Wilson Snyder  <wsnyder@wsnyder.org>

	Update verilog-mode.el to 2015-11-09-b121d60-vpo.

	* verilog-mode.el (verilog-auto, verilog-delete-auto)
	(verilog-modi-cache-results, verilog-save-buffer-state)
	(verilog-save-font-no-change-functions): When internally suppressing change
	functions, use `inhibit-modification-hooks' and call
	`after-change-funtions' to more nicely work with user hooks.  Reported by
	Stefan Monnier.

	(verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
	Create `verilog-delete-auto-buffer' to avoid double-calling
	fontification hooks.

	(verilog-restore-buffer-modified-p, verilog-auto)
	(verilog-save-buffer-state): Prefer restore-buffer-modified-p over
	set-buffer-modified-p. Reported by Stefan Monnier.

	(verilog-diff-auto, verilog-diff-buffers-p)
	(verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.

	(verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
	AUTOINST with unpacked dimensional parameters, bug981. Reported by
	by Amol Nagapurkar.

	(verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
	properties inside internal structures. No functional change
	intended.

2015-11-11  Wolfgang Jenkner  <wjenkner@inode.at>

	Build fixes for kqueue support.

	* src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
	flag.

	* configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
	kqueue on *BSD.

2015-11-11  Michael Albinus  <michael.albinus@gmx.de>

	Continue kqueue implementation

	* lisp/filenotify.el (file-notify-handle-event)
	(file-notify-callback): Enable trace messages.

	* src/kqueue.c: Include also <sys/types.h>.
	(kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
	(Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
	(syms_of_kqueue): Add them.

2015-11-11  Michael Albinus  <michael.albinus@gmx.de>

	Work on kqueue

	* lisp/filenotify.el (file-notify--library)
	(file-notify-descriptors, file-notify-callback)
	(file-notify-add-watch, file-notify-rm-watch)
	(file-notify-valid-p): Add kqueue support.

	* src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.

2015-11-11  Michael Albinus  <michael.albinus@gmx.de>

	Add kqueue support

	* configure.ac (--with-file-notification): Add kqueue.
	(top): Remove special test for "${HAVE_NS}" and
	${with_file_notification}, this is handled inside gfilenotify
	tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
	instead of library specific variables.

	* src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.

	* src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.

	* src/kqueue.c: New file.

	* src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.

This file records repository revisions from
commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
commit f15f6b53078ac2176f8d2c05d99d3d9b4d32986b (inclusive).
See ChangeLog.1 for earlier changes.

;; Local Variables:
;; coding: utf-8
;; End:

  Copyright (C) 2015-2016 Free Software Foundation, Inc.

  This file is part of GNU Emacs.

  GNU Emacs is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  GNU Emacs is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.