summaryrefslogtreecommitdiff
path: root/ChangeLog.2
blob: 11e6049b0bd89610ebc1ae4bc71d1794e9540e20 (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
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
2017-09-11  Eli Zaretskii  <eliz@gnu.org>

	* etc/NEWS: Document the vulnerability and its resolution.
	Include a workaround.  Suggested by Charles A. Roelli
	<charles@aurox.ch>.

	* lisp/gnus/mm-view.el (mm-inline-text): Disable decoding of
	"enriched" and "richtext" MIME objects.  Suggested by Lars
	Ingebrigtsen <larsi@gnus.org>.

	* lisp/textmodes/enriched.el (enriched-decode-display-prop):
	Don't produce 'display' properties.  (Bug#28350)


2017-04-20  Nicolas Petton  <nicolas@petton.fr>

	* Version 25.2 released.

2017-04-18  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in indexing the user manual

	* doc/emacs/cmdargs.texi (General Variables): Fix a horrible typo.

2017-04-12  Eli Zaretskii  <eliz@gnu.org>

	* lisp/menu-bar.el (kill-this-buffer): Doc fix.  (Bug#26466)

2017-04-11  Eli Zaretskii  <eliz@gnu.org>

	Document 'line-pixel-height'

	* doc/lispref/display.texi (Size of Displayed Text): Document
	line-pixel-height.  Suggested by Tak Kunihiro
	<tkk@misasa.okayama-u.ac.jp>.  (Bug#26379)

2017-04-07  Hong Xu  <hong@topbug.net>

	* src/search.c (Fre_search_forward, Fre_search_backward): Improve doc (Bug#25193).

2017-04-07  Noam Postavsky  <npostavs@gmail.com>

	Mention that processes start in default-directory (Bug#18515)

	* doc/lispref/processes.texi (Synchronous Processes):
	(Asynchronous Processes):
	* lisp/subr.el (start-process):
	* src/callproc.c (call-process): Mention that the subprocess starts in
	`default-directory' when local, suggest `start-file-process' and
	`process-file' otherwise.

2017-04-07  Noam Postavsky  <npostavs@gmail.com>

	* src/xdisp.c (vmessage, message): Clarify commentary.

2017-04-02  Glenn Morris  <rgm@gnu.org>

	Belated fixes for admin.el's M-x make-manuals-dist

	* admin/admin.el (make-manuals-dist-output-variables): Additions.
	(make-manuals-dist--1): Also copy docstyle.texi.

2017-03-31  Tino Calancha  <tino.calancha@gmail.com>

	default-directory: Remark that it must be a directory name

	* src/buffer.c (default-directory): Update docstring (Bug#26272).

2017-03-31  Tino Calancha  <tino.calancha@gmail.com>

	Delete confuse statement in manual

	* doc/misc/cl.texi (For Clauses): Delete confuse statement
	and its example (Bug#23550).

2017-03-31  Noam Postavsky  <npostavs@gmail.com>

	Improve packaging documentation

	* doc/lispref/package.texi (Packaging Basics):
	* doc/lispref/tips.texi (Library Headers): Clarify some header
	formats, relation between file headers and package
	attributes (Bug#13281).

2017-03-27  Eric Abrahamsen  <eric@ericabrahamsen.net>

	Expand manual section on quitting windows

	* doc/lispref/windows.texi (Quitting Windows): Provide more
	  information about the elements of the quit-restore window parameter,
	  and how they affect the behavior of quit-restore-window.

2017-03-26  Noam Postavsky  <npostavs@gmail.com>

	Fix docstring of dabbrev-abbrev-char-regexp

	* lisp/dabbrev.el (dabbrev-abbrev-char-regexp): Using a value of nil
	is equivalent to "\\sw\\|\\s_", and has no special behavior.  If the
	previous character doesn't match, we search backwards for one that
	does, not throw an error.  Replace Lisp example with C based one to
	make it clear that "symbol" means a sequence of word and symbol
	constituent characters, not a Lisp symbol (Bug#358).

2017-03-26  Johan Claesson  <johanclaesson@bredband.net>  (tiny change)

	* doc/misc/cl.texi (Iteration Clauses): Clarify example (Bug#19515).

2017-03-25  Eli Zaretskii  <eliz@gnu.org>

	;* doc/misc/info.texi (Choose menu subtopic): Improve indexing.  (Bug#26236)

2017-03-21  Noam Postavsky  <npostavs@gmail.com>

	Narrow scope of modification hook re-enabling in org-src fontification

	Modification hooks should be enabled while modifying text in the
	org-src temp buffer, but in 2017-01-29 "Call modification hooks in
	org-src fontify buffers" the hooks were enabled also for modifications
	to the original org buffer.  This causes fontification errors when
	combined with certain packages, as reported in
	https://lists.gnu.org/r/emacs-orgmode/2017-03/msg00420.html.

	* lisp/org/org-src.el (org-src-font-lock-fontify-block): Reduce scope
	of inhibit-modification-hooks let-binding.

2017-03-17  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of interactive "r".

	* doc/lispref/commands.texi (Interactive Codes): Mention that mark
	must be set for "r" to work.

2017-03-17  Thien-Thi Nguyen  <ttn@gnu.org>

	Fix bug: Range-check integer ‘alpha’ frame parm value

	Typo introduced 2013-04-01, "Prefer < to >
	in range checks such as 0 <= i && i < N".

	* src/frame.c (x_set_alpha): Use ‘ialpha’, not ‘alpha’.

2017-03-17  Paul Eggert  <eggert@cs.ucla.edu>

	* etc/PROBLEMS: Say that HP-UX cc doesn't work.

2017-03-14  Eli Zaretskii  <eliz@gnu.org>

	Fix duplicate wording in Emacs manual

	* doc/emacs/programs.texi (Which Function): Delete duplicate
	wording.  (Bug#26098)

2017-03-14  Hong Xu  <hong@topbug.net>

	* lisp/paren.el (show-paren--default, show-paren-function): Add docstring.

2017-03-13  Eli Zaretskii  <eliz@gnu.org>

	Fix wording in Emacs manual

	* doc/emacs/text.texi (Paragraphs): Fix a garbled sentence.
	(Bug#26086)

2017-03-11  Eli Zaretskii  <eliz@gnu.org>

	Document how to customize input methods

	* doc/emacs/mule.texi (Input Methods): Document how to customize
	input methods.

2017-03-11  Eli Zaretskii  <eliz@gnu.org>

	* lisp/net/eww.el (eww-reload): Doc fix.  (Bug#25981)

2017-03-06  Noam Postavsky  <npostavs@gmail.com>

	Fix warning message about native completion (Bug#25984)

	* lisp/progmodes/python.el (python-shell-completion-native-turn-on-maybe):
	The relevant variable is `python-shell-completion-native-enable'.

2017-03-04  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of 'raise' and 'height' display specs

	* doc/lispref/display.texi (Other Display Specs): Clarify the
	effect of 'height' display spec on the following 'raise'.
	(Bug#25824)

2017-03-04  Eli Zaretskii  <eliz@gnu.org>

	Mention problems with GPaste in PROBLEMS

	* etc/PROBLEMS (GPaste): Mention the problem in yanking caused by
	GPaste, and its solution.  (Bug#25902)

2017-02-25  Eli Zaretskii  <eliz@gnu.org>

	Fix doc strings in info.el

	* lisp/info.el (Info-selection-hook, Info-mode-hook)
	(Info-edit-mode-hook): Doc fixes.  (Bug#25794)

2017-02-25  Eli Zaretskii  <eliz@gnu.org>

	Fix doc string of 'posn-at-point'

	* src/keyboard.c (Fposn_at_point): Clarify the doc string.
	(Bug#25796)

2017-02-24  Tino Calancha  <tino.calancha@gmail.com>

	Documentation fix in elisp reference manual

	* doc/lispref/macros.texi (Defining Macros): Drop redundant mention
	on 'declare' forms (Bug#25846).

2017-02-18  Noam Postavsky  <npostavs@gmail.com>

	* lisp/woman.el (woman): Fix docstring prefix arg description.

2017-02-18  Eli Zaretskii  <eliz@gnu.org>

	Mention "editor" in Emacs man page header

	* doc/man/emacs.1.in: Mention "editor" in the header line.
	(Bug#25771, Bug#25779)

2017-02-18  Eli Zaretskii  <eliz@gnu.org>

	Document problems with nerd-fonts

	* etc/PROBLEMS (fonts): Describe the potential problems with
	nerd-fonts that cause slow display.  (Bug#25697)

2017-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc/lispref/modes.texi (Derived Modes): Make example more idiomatic

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

	Clarify what is the "cursor"

	* doc/lispref/windows.texi (Window Point): Clarify the notion of
	"cursor".

2017-02-10  Eli Zaretskii  <eliz@gnu.org>

	Improve commentary in lisp.h

	* src/lisp.h: Explain in the comment why enlarging a Lisp_Misc
	object is discouraged.

2017-02-08  Noam Postavsky  <npostavs@gmail.com>

	Disable native completion for ipython (Bug#25067)

	* lisp/progmodes/python.el:
	(python-shell-completion-native-disabled-interpreters): Add "ipython".

2017-02-07  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in ada-mode manual

	* doc/misc/ada-mode.texi (Project file variables): Add a missing
	right bracket.  Reported by Jean-Christophe Helary
	<jean.christophe.helary@gmail.com>.

2017-02-05  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of 'bufferpos-to-filepos' and 'filepos-to-bufferpos'

	* doc/lispref/nonascii.texi (Text Representations): Clarify that
	'exact' value of QUALITY argument to 'bufferpos-to-filepos' and
	'filepos-to-bufferpos' can lead to expensive and slow processing.

	* lisp/international/mule-util.el (filepos-to-bufferpos)
	(bufferpos-to-filepos): Doc fix.  (Bug#25626)

2017-02-03  Nicolas Petton  <nicolas@petton.fr>

	Bump Emacs version to 25.2 RC1

	* README:
	* configure.ac:
	* msdos/sed2v2.inp:
	* nt/README.W32: Bump Emacs version.
	* lisp/ldefs-boot.el: Update.

2017-02-03  Nicolas Petton  <nicolas@petton.fr>

	* admin/make-tarball.txt: Add documentation regarding the release banner.

2017-02-03  Tino Calancha  <tino.calancha@gmail.com>

	* CONTRIBUTE (Documenting your changes): Index new vars/commands in manual.

2017-01-31  Eli Zaretskii  <eliz@gnu.org>

	Index byte-compile-debug

	* doc/lispref/compile.texi (Compilation Functions): Index
	byte-compile-debug.

2017-01-31  Philipp Stephani  <phst@google.com>

	Document `byte-compile-debug' in the ELisp manual

	* doc/lispref/compile.texi: Document variable `byte-compile-debug'.

2017-01-31  Philipp Stephani  <phst@google.com>

	Document variable `byte-compile-debug'

	* lisp/emacs-lisp/bytecomp.el (byte-compile-debug): Document variable.

2017-01-31  Noam Postavsky  <npostavs@gmail.com>

	Fix call to debugger on assertion failure

	* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): The first
	argument must be `error', and the second is a list of arguments for
	`signal'.

2017-01-29  Noam Postavsky  <npostavs@gmail.com>

	Call modification hooks in org-src fontify buffers

	* lisp/org/org-src.el (org-src-font-lock-fontify-block): Let-bind
	`inhibit-modification-hooks' to nil, since this function can be called
	from jit-lock-function which binds that variable to t (Bug#25132).

2017-01-28  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of 'format' conversions

	* src/editfns.c (Fformat): More accurate description of %g and
	effects of the various flags on it.  More accurate description of
	integer conversions.

	* doc/lispref/strings.texi (Formatting Strings): More accurate
	description of %g and effects of the various flags on it.  More
	accurate description of integer conversions.  (Bug#25557)

2017-01-27  Vladimir Panteleev  <git@thecybershadow.net>  (tiny change)

	Remove stale functions from ert manual

	* doc/misc/ert.texi (Useful Techniques when Writing Tests):
	Replace ert--mismatch references with its cl-lib replacement,
	cl-mismatch.

2017-01-27  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in Eshell manual

	* doc/misc/eshell.texi (History): Fix a typo.  Reported by Mak
	Kolybabi <mak@kolybabi.com>.

2017-01-20  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of hooks related to saving buffers

	* lisp/files.el (write-file-functions, write-contents-functions)
	(before-save-hook, after-save-hook): Note that these are only used
	by save-buffer.

	* doc/lispref/backups.texi (Auto-Saving):
	* doc/lispref/files.texi (Saving Buffers): Mention that
	save-related hooks are not run by auto-saving.  (Bug#25460)

2017-01-20  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of auto-save-visited-file-name

	* doc/emacs/files.texi (Auto Save Files): Mention subtle
	differences between saving the buffer and auto-saving with
	auto-save-visited-file-name set non-nil.  (Bug#25478)

2017-01-18  Tom Tromey  <tom@tromey.com>

	fix typo in mailcap-mime-extensions

	* lisp/gnus/mailcap.el (mailcap-mime-extensions): Use "text/x-patch",
	not "test/x-patch".  (Bug#25472)

2017-01-18  Lele Gaifax  <lele@metapensiero.it>  (tiny change)

	Fix typos in flymake.el

	* lisp/progmodes/flymake.el (flymake-check-patch-master-file-buffer):
	Spelling fixes in the doc string.

2017-01-17  Glenn Morris  <rgm@gnu.org>

	More NEWS checking for admin.el's set-version

	* admin/admin.el (set-version): Warn if temporary NEWS markup
	still present in release candidates.

2017-01-17  Michael Albinus  <michael.albinus@gmx.de>

	Fix auto-save-file-name problem in Tramp on MS Windows. Do not merge

	* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
	Fix a problem when running on MS Windows.

2017-01-16  Ian Dunn  <dunni@gnu.org>  (tiny change)

	* lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).

2017-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/sql.el (sql-product-alist): Doc tweak

	`:sqli-comint-func' does not have to be a symbol.

2017-01-14  Eli Zaretskii  <eliz@gnu.org>

	* lisp/progmodes/sql.el (sql-product-alist): Doc fix.  (Bug#25440)

2017-01-13  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of dabbrevs

	* doc/emacs/abbrevs.texi (Dynamic Abbrevs): Add a cross reference
	to "Dabbrev Customization".
	(Dabbrev Customization): More details about the default value of
	dabbrev-abbrev-char-regexp and use cases when it might not be good
	enough.  (Bug#25432)

2017-01-12  Noam Postavsky  <npostavs@gmail.com>

	Clarify that easy-menu-add is a nop (Bug#25382)

	* lisp/emacs-lisp/easymenu.el (easy-menu-add): Make it into an alias of
	`ignore', like `easy-menu-remove'.

2017-01-12  Glenn Morris  <rgm@gnu.org>

	* lisp/textmodes/rst.el (rst-package-emacs-version-alist): Fix entry.

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

	Revert "Add DNS keywords and remove duplications"

	This reverts commit 1cb9aa5b14867983d0013a61709b4d0af18364ff.

2017-01-11  Alexander Kuleshov  <kuleshovmail@gmail.com>

	Add DNS keywords and remove duplications

	* lisp/textmodes/dns-mode.el (dns-mode-types): Add two TLSA and
	NSEC" DNS related keywords and remove duplication of "NSAP".

2017-01-10  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of coding-systems

	* doc/lispref/nonascii.texi (Coding System Basics): Mention
	'prefer-utf-8'.  Index it and 'undecided'.
	(Encoding and I/O): Fix a typo.
	(User-Chosen Coding Systems): Improve the documentation of
	ACCEPT-DEFAULT-P argument to select-safe-coding-system.  Document
	select-safe-coding-system-function.
	(Specifying Coding Systems): Document coding-system-require-warning.

2017-01-09  Eli Zaretskii  <eliz@gnu.org>

	Improve definition of 'variable-pitch' face on MS-Windows

	* lisp/faces.el (variable-pitch): Don't specify too many
	attributes of the font, otherwise faces that request different
	weight or slant or size will not get them.

2017-01-09  Eli Zaretskii  <eliz@gnu.org>

	Fix an error message in python.el

	* lisp/progmodes/python.el (python-shell-get-process-or-error):
	Don't repeat the same key binding twice.  (Bug#25405)

2017-01-07  Noam Postavsky  <npostavs@gmail.com>

	Clarify major mode switching

	* doc/emacs/modes.texi (Major Modes):
	* doc/lispref/modes.texi (Modes, Major Modes): Explicitly say that each
	buffer has exactly one major mode and can't be "turned off", only
	switched away from (Bug#25357).

2017-01-07  Noam Postavsky  <npostavs@gmail.com>

	Add helpful comment to compile-command's docstring

	* lisp/progmodes/compile.el (compile-command): Mention trailing space in
	docstring (Bug#25337).

2017-01-06  Eli Zaretskii  <eliz@gnu.org>

	Fix ':version' of 'select-enable-primary'

	* lisp/select.el (select-enable-primary): Fix a typo in
	':version'.  (Bug#25375)

2017-01-04  Glenn Morris  <rgm@gnu.org>

	Update remaining copyright years with admin.el M-x set-copyright

	* etc/refcards/ru-refcard.tex (cyear): Set to 2017.

2017-01-04  Glenn Morris  <rgm@gnu.org>

	* lisp/ffap.el (ffap-lax-url): Bump :version after recent change.

2017-01-03  Philipp Stephani  <phst@google.com>

	Document that functions in 'ffap-alist' can use the match data

	* lisp/ffap.el (ffap-alist): Document that ffap sets the match data
	while walking 'ffap-alist'.

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

	Fix copyright years by hand

	These are dates that admin/update-copyright did not update, or
	updated incorrectly.

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

	Update copyright year to 2017

	Run admin/update-copyright.

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

	Bump Emacs version to 25.1.91

	* README:
	* configure.ac:
	* msdos/sed2v2.inp:
	* nt/README.W32: Bump Emacs version.
	* lisp/ldefs-boot.el: Update.

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

	Backport: Remove an ambiguity from defvar's doc string.  Fixes bug #25292.

	The ambiguity was whether INITVALUE is evaluated when it's not going to be
	used to set SYMBOL's value.

	* src/eval.c (defvar): Rewrite a paragraph of the doc string.

	(cherry picked from commit 8295e97f18490a535d1188a3daf0b0fd1bf4fa0d)

2016-12-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/inline.el: Fix apply-conversion (bug#25280)

	(inline--dont-quote): Quote the function with #' when passing it to `apply'.
	Cherry picked from commit e6161f648903d821865b9610b3b6aa0f82a5dcb7.

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

	Document 'default-toplevel-value' and 'set-default-toplevel-value'

	* doc/lispref/variables.texi (Default Value): Document
	'default-toplevel-value' and 'set-default-toplevel-value'.

2016-12-25  Leo Liu  <sdl.web@gmail.com>

	Don't modify minibuffer variables globally

	* lisp/files.el (cd): Use setq-local instead.  (Bug#25260)

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

	Revert to pre-25.1 behavior in ffap

	* lisp/ffap.el (ffap-lax-url): Change the default to t, to produce
	the same behavior as in Emacs 24.x.  (Bug#25264)
	Explain the trade-offs of customizing this in the doc string.

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

	* lisp/ffap.el: Fix obsolete comment referencing ffap-bug.

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

	Attempt to fix 64-bit AIX build

	* src/unexaix.c (make_hdr, copy_text_and_data, write_segment): Fix
	type-casts that assumed 32-bit pointers.  (Bug#25141)

2016-12-23  Philipp Stephani  <phst@google.com>

	Clarify usage of 'ediff-cleanup-hook' (Bug#24675)

	* doc/misc/ediff.texi (Hooks): Clarify usage of 'ediff-cleanup-hook'

2016-12-23  Philipp Stephani  <phst@google.com>

	Document that variable binding order is unspecified

	* doc/lispref/variables.texi (Local Variables):
	* doc/misc/cl.texi (Modify Macros): Document that binding order in 'let' and
	'cl-letf' is unspecified.

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

	* lisp/desktop.el (desktop-buffers-not-to-save): Doc fix.

2016-12-23  Stefan Monnier  <monnier@IRO.UMontreal.CA>

	Fix M-x hints on Mac port

	* lisp/simple.el (execute-extended-command--shorter): Call
	input-pending-p to trigger input processing on some systems, such
	as Mac port.  (Bug#23002)

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

	Work around reporting a dpi change in apply_xft_settings

	* src/xsettings.c (apply_xft_settings): Don't report a change
	when dpi settings do not differ substantially.

2016-12-20  Alan Mackenzie  <acm@muc.de>

	Amend the version number of CC Mode 5.33 -> 5.32.99.  Don't merge to trunk.

	lisp/progmodes/cc-defs.el: Amend the version number.
	etc/NEWS: Add an item explaining the change.

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

	Improve skeleton docstrings

	* lisp/skeleton.el (skeleton-end-newline): Remove mention of
	`skeleton-end-hook', its default code was moved into `skeleton-insert'.
	(skeleton-insert): Mention `skeleton-end-newline' and move reference to
	`skeleton-end-hook' above the explanation of skeleton syntax.

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

	Improve documentation of 'w32-scroll-lock-modifier'

	* doc/emacs/msdos.texi (Windows Keyboard): Document how to set up
	w32-scroll-lock-modifier so that Scroll Lock toggles the LED.

	* src/w32fns.c (syms_of_w32fns) <w32-scroll-lock-modifier>: Doc
	fix.  (Bug#25204)

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

	Document 'describe-fontset'

	* doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
	(Bug#25216)

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

	Document 'describe-fontset'

	* doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
	(Bug#25216)

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

	Repair desktop restoration on text terminals

	* lisp/desktop.el (desktop-restoring-frameset-p): Test for the GUI
	frame here, instead of in desktop-restoring-frameset.  That's
	because desktop-read wants to know whether frameset will actually
	be restored, and has fallback procedures up its sleeve when it
	won't be; these fallbacks need to be invoked when the frameset is
	not going to be restored.  (Bug#24298)

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

	Ignore forward-sexp-function in js-mode indentation code

	* lisp/progmodes/js.el (js--multi-line-declaration-indentation)
	(js--maybe-goto-declaration-keyword-end):
	Bind forward-sexp-function to nil (bug#25215).

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

	Improve documentation of 'define-coding-system'

	* lisp/international/mule.el (define-coding-system): Warn against
	possible infinite recursion in pre-write-conversion and
	post-read-conversion functions.  (Bug#25203)

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

	Fix Bug#25162

	* doc/emacs/files.texi (Reverting): Document
	auto-revert-remote-files and auto-revert-verbose.

	* lisp/autorevert.el (auto-revert-verbose, auto-revert-mode)
	(auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.

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

	Fix a typo in define-abbrev-table

	* lisp/abbrev.el (define-abbrev-table): Fix typo in docstring handling.

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

	Bump makeinfo requirement from 4.7 to 4.13

	* configure.ac: Bump makeinfo version requirement from 4.7 to 4.13.
	We need at least 4.8, and that may be buggy, so go for the last
	of the 4 series, which is 8 years old.  (Bug#25108)

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

	Fixes related to select-enable-clipboard

	* lisp/menu-bar.el (clipboard-yank, clipboard-kill-ring-save)
	(clipboard-kill-region):
	* lisp/eshell/esh-io.el (eshell-virtual-targets)
	(eshell-clipboard-append):
	Replace option gui-select-enable-clipboard with
	select-enable-clipboard; renamed October 2014.  (Bug#25145)

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

	Define struct predicate before acccesors

	The accessor functions use the predicate function, which causes problems
	when reloading after unload-feature: the compiler-macro property is
	still present on the predicate symbol, and the compiler fails to find
	the definition when trying to inline it into the accessor
	function (Bug#25088).

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition
	before field accessor definitions.

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

	Doc fix for vc-git

	* lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.

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

	Further improve make-dist checking

	* make-dist: Print status messages when checking.

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

	Improve previous make-dist change

	* make-dist: Let make check the info files more thoroughly.

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

	Make make-dist --snapshot do some sanity checks

	* make-dist: Snapshot mode no longer disables checks.
	Checks now includes checks for freshness.  (Bug#25084)
	Checks now exits with an error if problems were found.

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

	Fix minor quoting problems in doc strings

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/r/help-gnu-emacs/2016-04/msg00071.html

2016-12-07  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-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  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-02  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-02  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  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-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  Eli Zaretskii  <eliz@gnu.org>

	Fix 'expand-file-name' during startup on MS-Windows

	* src/w32.c (w32_init_file_name_codepage): New function, resets
	file_name_codepage and w32_ansi_code_page to undo the values
	recorded during dumping.
	(codepage_for_filenames): Fix an embarrassing typo.  Ignore the
	cached value of file-name encoding if it is nil, i.e. not
	initialized yet.  Actually cache the last used file-name encoding
	to avoid calling APIs when not necessary.

	* src/w32.h (w32_init_file_name_codepage): Add prototype.

	* src/w32term.c (syms_of_w32term): Set the value of
	w32_unicode_filenames according to the OS version.  This avoids
	resetting it during startup, which then causes temacs to run with
	the incorrect value.

	* src/emacs.c (main): Call w32_init_file_name_codepage early
	during the startup.

	* src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir'
	after converting $HOME to a UTF-8 string, so that 'newdirlim' is
	consistent with it.  (Bug#25038)

	* lisp/international/mule-cmds.el (set-locale-environment): Set
	'default-file-name-coding-system' to the ANSI codepage even in
	non-interactive sessions.

	* lisp/files.el (directory-abbrev-alist, abbreviated-home-dir):
	Doc fix.
	(abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a
	unibyte string.

	* doc/lispref/files.texi (Directory Names): Index
	'directory-abbrev-alist'.

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

	* admin/authors.el (authors-renamed-files-alist): Addition.

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

	Tweak refcard note about documentation location

	* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
	* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
	* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
	* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
	* etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
	* etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
	* etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
	* etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
	* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
	* etc/refcards/survival.tex, etc/refcards/vipcard.tex:
	* etc/refcards/viperCard.tex: Tweak documentation url.

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

	Improve treatment of Fortran's "class is"

	* lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
	Handle "class is".  (Bug#25039)
	* test/automated/f90.el (f90-test-bug25039): New test.

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

	Bump Emacs version to 25.1.90

	* README:
	* configure.ac:
	* msdos/sed2v2.inp:
	* nt/README.W32: Bump Emacs version to 25.1.90

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

	Bump Emacs version

	* README:
	* configure.ac:
	* etc/NEWS:
	* msdos/sed2v2.inp:
	* nt/README.W32: Bump Emacs version to 25.2.90

2016-11-26  Karl Fogel  <kfogel@red-bean.com>

	Handle TeX comments when making new paragraph

	* lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
	  Handle comment case directly, and dispatch to `tex-terminate-paragraph'
	  for original behavior in non-comment case.
	  (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.

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

	Restore keystroke echo in 'C-q'

	* lisp/simple.el (read-quoted-char): Use 'read-event' instead of
	'read-key', to avoid losing the keystroke echo in 'C-q'.  (Bug#24635)

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

	Improve documentation of 'current-word'

	* lisp/simple.el (current-word): Clarify and improve the doc
	string.  (Bug#24979)

2016-11-25  Chunyang Xu  <mail@xuchunyang.me>

	Fix a typo in an Eshell defcustom

	* lisp/eshell/esh-mode.el (eshell-scroll-to-bottom-on-output): Fix
	a typo in the 'others' standard value.  (Bug#24983)

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

	Minor copyedits of electric-pair-mode

	* doc/emacs/programs.texi (Matching): Add index entries.  Fix
	typos.  (Bug#25012)

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

	Fix documentation of 'invocation-directory'

	* doc/lispref/os.texi (System Environment): Fix wording of the
	description of 'invocation-directory'.  (Bug#24999)

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

	* admin/authors.el (authors-aliases): Add an entry.

2016-11-22  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-21  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Regenerate the AUTHORS file

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

	Update ChangeLog files and authors.el

	* admin/authors.el (authors-renamed-files-alist): Add entries for
	  obsolete files.
	* ChangeLog.2: Update.

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

	Fix menu bindings of Dired 'A' and 'Q' commands

	* lisp/dired.el (dired-mode-map): Rebind "Search Files" and "Query
	Replace in Files" menu items to 'dired-do-find-regexp' and
	'dired-do-find-regexp-and-replace', respectively.  (Bug#24977)

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

	Avoid errors in shr-pixel-column due to dedicated windows

	* lisp/net/shr.el (shr-pixel-column): If we are switching to
	another buffer in the selected window, make that window
	temporarily non-dedicated.  (Bug#24950)

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

	Update format-time-string documentation

	* doc/lispref/os.texi (Time Parsing):
	Document %F, %g, %G, %u and %V.

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

	* admin/release-process: Update versions and blocking bug numbers.

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

	Improve documentation of functions that accept time values

	* doc/lispref/os.texi (Time Calculations): Mention the meaning of
	'nil' or a scalar number as the time-value argument.  Add a
	cross-reference to 'float-time' for computing a time difference as
	a scalar number of seconds.

	* src/editfns.c (Fformat_time_string, Ftime_less_p)
	(Ftime_subtract, Ftime_add, Fdecode_time, Fcurrent_time_string)
	(Fcurrent_time_zone): Mention in the doc strings the meaning of
	nil argument and the fact that a time value can be a scalar number
	of seconds since the epoch.
	(Ftime_subtract): Mention 'float-time'.

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

	Speed up initialization by preferring /dev/urandom to GnuTLS

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

	(cherry picked from commit a37eba849eddc41375ad73974f6fcb1258aa8eba)

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

	Add a comment in generated refcards about the source

	* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
	* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
	* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
	* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
	* etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
	* etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
	* etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
	* etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
	* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
	* etc/refcards/survival.tex, etc/refcards/vipcard.tex:
	* etc/refcards/viperCard.tex: Add comment about the source.

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

	js-mode: Fix indent problem after a regexp

	* lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
	slash is not ending a regexp (bug#24854).

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

	Fix sluggish display of symbols in UTF-8 language environment

	* lisp/international/fontset.el (setup-default-fontset): Make sure
	Symbola and FreeMono are set up in the default fontset as belonging
	to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
	long and futile search for a suitable font, whose side effect is a
	lot of consing, which then hits the font-cache compacting issue,
	and causes very sluggish redisplay of characters displayed by
	these fonts.  All this happens because the default for the
	registry is "iso8859-1".  (Bug#24953)

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

	Don't confuse how Texinfo outputs @var with the input

	* doc/emacs/rmail.texi (Movemail):
	* doc/lispref/control.texi (Pattern matching case statement):
	* doc/lispref/frames.texi (Size and Position):
	* doc/lispref/processes.texi (Asynchronous Processes):
	* doc/lispref/text.texi (Document Object Model):
	* doc/lispref/windows.texi (Coordinates and Windows):
	Do not upper-case the argument of @var.

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

	* doc/lispref/display.texi (Scroll Bars):
	* doc/lispref/frames.texi (Size and Position):
	* doc/lispref/windows.texi (Window Sizes): Fix arglist typos.

	* doc/emacs/cmdargs.texi (Initial Options): Copyedit for --daemon.

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

	More fixes in copyright notices in etc/refcards/

	* etc/refcards/calccard.tex:
	* etc/refcards/cs-dired-ref.tex:
	* etc/refcards/cs-refcard.tex:
	* etc/refcards/cs-survival.tex:
	* etc/refcards/de-refcard.tex:
	* etc/refcards/dired-ref.tex:
	* etc/refcards/fr-dired-ref.tex:
	* etc/refcards/fr-refcard.tex:
	* etc/refcards/fr-survival.tex:
	* etc/refcards/orgcard.tex:
	* etc/refcards/pl-refcard.tex:
	* etc/refcards/pt-br-refcard.tex:
	* etc/refcards/refcard.tex:
	* etc/refcards/ru-refcard.tex:
	* etc/refcards/sk-dired-ref.tex:
	* etc/refcards/sk-refcard.tex:
	* etc/refcards/sk-survival.tex:
	* etc/refcards/survival.tex:
	* etc/refcards/vipcard.tex:
	* etc/refcards/viperCard.tex: Change "GNU Emacs" to "this
	document" in copyright notices.  (Bug#24520)

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

	Update copyright text in refcards

	* etc/refcards/viperCard.tex:
	* etc/refcards/vipcard.tex:
	* etc/refcards/survival.tex:
	* etc/refcards/sk-survival.tex:
	* etc/refcards/sk-dired-ref.tex:
	* etc/refcards/sk-refcard.tex:
	* etc/refcards/ru-refcard.tex:
	* etc/refcards/refcard.tex:
	* etc/refcards/pt-br-refcard.tex:
	* etc/refcards/pl-refcard.tex:
	* etc/refcards/orgcard.tex:
	* etc/refcards/gnus-refcard.tex:
	* etc/refcards/fr-survival.tex:
	* etc/refcards/fr-refcard.tex:
	* etc/refcards/fr-dired-ref.tex:
	* etc/refcards/dired-ref.tex:
	* etc/refcards/de-refcard.tex:
	* etc/refcards/cs-survival.tex:
	* etc/refcards/cs-refcard.tex:
	* etc/refcards/cs-dired-ref.tex:
	* etc/refcards/calccard.tex: Update the copyright blurb.  (Bug#24520)

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

	Fix Outline command names

	* doc/emacs/text.texi (Foldout): Use the outline-* names instead
	of the obsolete aliases.  (Bug#24890)

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

	Send text received by bracketed paste to process

	See Bug#24639.

	* lisp/term.el (term--xterm-paste): New function.
	(term-raw-map): Use it.
	(xterm--pasted-text): Declare function from xterm.el.

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

	Correct the statement about programming modes always running prog-mode-hook.

	* doc/emacs/modes.texi (Major Modes): Amend the statement about programming
	modes running prog-mode-hook to say that it applies to many (not all) such
	modes, and specifying exactly which modes.

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

	Improve documentation of 'occur'

	* doc/emacs/search.texi (Other Repeating Search): Clarify how to
	use Occur with search strings from last Isearch.  (Bug#24890)

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

	Do call debugger on failed cl-assert

	"Don't call debug on failed cl-assert..." removed the call to `debug' in
	cl--assertion-failed because `debug' calls `kill-emacs' in batch mode,
	thus messing up ert test runs.  However, calling the debugger is useful
	because it allows catching failed assertions even inside
	`condition-case' calls.  The problem with ert can be avoided by calling
	`debugger' instead of `debug' directly, since ert installs its own
	debugger while running tests.

	* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call
	`debugger' if `debug-on-error' is non-nil.

2016-11-09  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/automated/python-tests.el (python-bob-infloop-avoid): Add
	test for bug#24905

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

	Don't refer to obsolete FEATURE-unload-hook

	* doc/lispref/tips.texi (Coding Conventions): Refer to
	FEATURE-unload-function rather than its obsolete variant
	FEATURE-unload-hook.  (Bug#24890)

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

	Improve documentation of dabbrevs

	* lisp/dabbrev.el (dabbrev-expand): Doc fix.  (Bug#24890)

	* doc/emacs/abbrevs.texi (Dynamic Abbrevs): Mention
	'dabbrev-check-all-buffers', 'dabbrev-check-other-buffers', and
	'dabbrev-ignored-buffer-names' and their purpose.  (Bug#24890)

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

	* lisp/chistory.el (list-command-history): Doc fix.  (Bug#24890)

	* lisp/simple.el (set-mark-command): Doc fix.  (Bug#24890)

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

	Improve documentation of some Help commands

	* doc/emacs/help.texi (Help Mode): Fix mistake in key sequences.
	Mention the 'l' and 'r' keys.
	(Misc Help): Mention that 'C-h m' describes key bindings.
	(Bug#24890)

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

	Fix documentation of yes-or-no prompts

	* doc/emacs/mini.texi (Yes or No Prompts): Fix mistakes in key
	sequences.  (Bug#24890)

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

	Fix documentation of partial completion style

	* doc/emacs/mini.texi (Completion Styles): Fix the description of
	the wildcard '*'.  (Bug#24890)

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

	Fix documentation of the mode line on emacsclient frames

	* doc/emacs/screen.texi (Mode Line): Document the '@' indicator on
	emacsclient frames.

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

	Fix description of 'C-z' in User manual

	* doc/emacs/entering.texi (Exiting): 'C-z' is bound to
	'suspend-frame'.  (Bug#24890)

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

	Improve and clarify documentation of Outline Mode

	* doc/emacs/text.texi (Outline Visibility): Use the outline-*
	names instead of the obsolete aliases.  (Bug#24890)

	* lisp/outline.el (outline-hide-sublevels, outline-hide-other)
	(outline-hide-body): Doc fixes.  (Bug#24890)

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

	Add Emacs version number to nt/README.W32

	* nt/README.W32: Include the version number of the latest Emacs
	release.

	* admin/admin.el (set-version): Update the version in nt/README.W32.

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

	Fix python-mode hideshow regexp

	2015-02-07 "Fix hideshow integration[...]" changed the regexp added to
	`hs-special-modes-alist' so that it worked when not searching from the
	beginning of the line.  However, this allows matching tokens ending in
	"def" or "class", not just those keywords.  This results in an infinite
	loop in hs-hide-all (Bug #24815).

	* lisp/progmodes/python.el (python-mode): Add symbol boundaries around
	the def|class matching part of the regexp added to
	hs-special-modes-alist.

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

	Modernize usage of 'macOS' in doc and comments

	Apple changed the spelling of its operating system again, to "macOS",
	effective with macOS 10.12 Sierra (2016-09-20).  Change Emacs
	documentation and comments to match this.  Stick with older OS
	spellings ("OS X", "Mac OS X") when talking about older releases where
	the older names are more correct.

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

	Prefer comments /* like this */ in C code

	Emacs C code assumes C99 features, but has long used traditional
	comments /* like this */ instead of C99-style comments // like this.
	Stick with traditional comments for now, partly for style, partly as
	it may be safer with compilers that are not fully in C99 mode.

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

	* doc/lispref/loading.texi (Autoload): Better link (Bug#24845).

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

	Clarify documentation of face attribute functions

	* doc/lispref/display.texi (Attribute Functions): Make sure to
	document that an omitted FRAME argument means the same as nil.
	(Bug#24879)

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

	Don't call debug on failed cl-assert

	Doing this causes problems when running ert tests, for
	instance (Bug#24778).  The call to `debug` when `debug-on-error' is
	non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use
	define-inline and move some code...".

	* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call
	`debug' directly.

2016-11-04  Phillip Lord  <phillip.lord@russet.org.uk>

	Update README for precompiled windows Emacs.

	 * nt/README.W32: Describe 64 and 32-bit downloads, optional
	   dependencies bundle. Remove old material on sourcing dependencies.
	   Remove references to Windows 95. Update GUI references to recent
	   Windows. Remove references to Usenet.

2016-11-04  Hong Xu  <hong@topbug.net>

	Clarify documentation of 'vc-responsible-backend' wrt symlinks

	* lisp/vc/vc.el (vc-responsible-backend): Clarify that symlinks
	are not resolved when the VC backend is reported.

	* doc/lispref/files.texi (Truenames): Document
	'vc-responsible-backend'.  (Bug#23436)
	* doc/emacs/maintaining.texi (Version Control Systems): Fix a
	typo.

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

	Clarify doc string of 'transpose-sexps'

	* lisp/simple.el (transpose-sexps): Clarify the conditions for
	transposing sexps that are lists or strings.  Mention the effect
	of the prefix argument.  (Bug#24860)

2016-11-04  Tibor Csögör  <tibi@tiborius.net>  (tiny change)

	Fix docstring of 'browse-url-firefox-new-window-is-tab'

	* lisp/net/browse-url.el (browse-url-firefox-new-window-is-tab):
	Remove obsolete note from docstring (obsoleted by previous commits).
	(Bug#24843)

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

	Improve documentation of 'font-lock-remove-keywords'

	* doc/lispref/modes.texi (Customizing Keywords): Clarify the
	'keywords' argument of 'font-lock-remove-keywords'.  Suggested by
	Hong Xu <hong@topbug.net>.  (Bug#24830)

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

	Fix documentation of the command summary key

	* doc/misc/info.texi (Help-^L, Help-Xref, Top): Emacs Info uses
	'?' for the summary of commands, whereas the stand-alone reader
	uses 'H'.  (Bug#24825)

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

	Mark relocation workarounds with REL_ALLOC

	* src/search.c (boyer_moore): Mark workarounds for ralloc.c
	relocation of buffer text with "#ifdef REL_ALLOC".

2016-11-02  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'.

	Backport:

	(cherry picked from commit 0575fd95d0b92a9a0ebff8df183a449190f74dbc)

2016-11-02  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)

	Backport:

	(cherry picked from commit 1fef1387c387d80f8ece326621539b89a6965702)

2016-10-31  Clément Pit--Claudel  <clement.pitclaudel@live.com>

	python.el: Fix detection of native completion in Python 3 (bug #24401)

	With Python 3.5, (python-shell-completion-native-get-completions ... "")
	would return an empty list, causing python.el to think that native
	completion was unavailable (the difference between Python 2 and Python 3
	is due to https://bugs.python.org/issue25660).

	* lisp/progmodes/python.el (python-shell-completion-native-try): Use "_"
	  to check whether native completion is available instead of "".

2016-10-26  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-indep): Skip etc/refcards/emacsver.tex.in.

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

	* lisp/subr.el (set-transient-map): Exit for unbound events (bug#24755).

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

	Update category-table for Chinese characters

	* lisp/international/characters.el (standard-category-table):
	Update the ranges of Han and Chinese characters.  (Bug#24798)

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

	Inhibit buffer relocation during regex searches

	* src/search.c (looking_at_1, fast_looking_at, search_buffer): Prevent
	relocation of buffer contents during calls to re_search_2.  This ensures
	the pointers into buffer text won't be invalidated by
	r_alloc_sbrk (called from malloc with configurations where
	REL_ALLOC=yes).

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

	Revert fixes to allocation of regex matching

	The fix was not complete, and completing it was proving too complicated.

	- Revert "* src/regex.c (re_search_2): Make new code safe for
	          -Wjump-misses-init."
	  This reverts commit c2a17924a57483d14692c8913edbe8ad24b5ffbb.
	- Revert "Port to GCC 6.2.1 + --enable-gcc-warnings"
	  This reverts commit f6134bbda259c115c06d4a9a3ab5c39340a15949.
	- Revert "Fix handling of allocation in regex matching"
	  This reverts commit ad66b3fadb7ae22a4cbb82bb1507c39ceadf3897.
	- Revert "Fix handling of buffer relocation in regex.c functions"
	  This reverts commit ee04aedc723b035eedaf975422d4eb242894121b.

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

	Comment for bug#24793

	* lisp/info.el (Info-mode-font-lock-keywords): Add a comment
	explaining why `..' quoting is not fontified using the
	'Info-quoted' face.  (Bug#24793)

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

	Default REL_ALLOC to 'no'

	This should make ralloc-related bugs less likely on GNU/Linux
	systems with bleeding-edge glibc.  See the email thread containing:
	https://lists.gnu.org/r/emacs-devel/2016-10/msg00801.html
	Do not merge to master.
	* configure.ac (REL_ALLOC): Default to 'no' on all platforms, not
	merely on platforms with Doug Lea malloc.  Although bleeding-edge
	glibc no longer exports __malloc_initialize_hook and so longer
	passes the configure-time test for Doug Lea malloc, ralloc tickles
	longstanding bugs like Bug#24358 and Bug#24764 and Emacs is likely
	to be more reliable without it.  This patch is not needed on
	master, which uses hybrid malloc in this situation.

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

	Yet another fix for using pointers into buffer text

	* src/search.c (boyer_moore): Update pointers to buffer text
	after call to set_search_regs.  (Bug#24358)

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

	Another fix for using pointer to buffer text

	* src/search.c (Freplace_match): Move the call to BYTE_POS_ADDR
	after the call to xpalloc, to avoid the danger of buffer text
	relocation after its address was taken.  (Bug#24358)

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

	Fix Bug#24478

	* lisp/net/tramp-sh.el (tramp-histfile-override): Change default value
	to "~/.tramp_history".
	(tramp-open-shell): Check proper HISTFILE setting.
	(tramp-maybe-open-connection): Cleanup also for errors.  (Bug#24478)

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

	Port --enable-gcc-warnings to bleeding-edge glibc

	Bleeding-edge glibc sets emacs_cv_var_doug_lea_malloc to 'no'.
	Do not merge to master.
	* configure.ac: Check for valloc decl when compiling gmalloc.c.
	* src/gmalloc.c (emacs_abort) [emacs]: Adjust decl to match
	what is in lisp.h.  Remove duplicate decl.
	(aligned_alloc): #undef before defining.
	(aligned_alloc, memalign) [!MSDOS]: Declare.
	(valloc) [HAVE_DECL_VALLOC]: Remove duplicate decl.

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

	Fix handling of buffer relocation in regex.c functions

	* src/search.c (search_buffer): Updated the base pointer to buffer
	text after the call to re_search_2.  (Bug#24358)

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

	Avoid relocating buffers while libxml2 reads its text

	* src/xml.c (parse_region) [REL_ALLOC]: Freeze the ralloc arena
	while libxml2 reads the current buffer's text.  (Bug#24764)

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

	Attempt to catch reads from a buffer that is relocated

	* src/xml.c (parse_region): Add assertion to ensure buffer text is
	not relocated while libxml2 is reading it.  (Bug#24764)

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

	Revert "* lisp/simple.el (process-menu-mode, list-processes--refresh):"

	This reverts commit a4285bcb1114e29200001f33af9b4802167d6140.
	Do not merge to master!

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

	Revert "* lisp/ibuf-ext.el (ibuffer-do-shell-command-file):"

	This reverts commit b0c447e4668116cecfda91d0203cb7cac2486d92.
	Do not merge to master!

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

	Revert "* lisp/ibuffer.el (ibuffer): Improve 'other-window' case.  (Bug#23617)"

	This reverts commit cf3c19b0298236293d9c56d5ba425af4f42c1f8e.
	Do not merge to master!

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

	;* src/w32heap.c: Fix typo and wording of the comments.

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

	electric-quote mode no longer worries about coding

	* doc/emacs/text.texi (Quotation Marks), etc/NEWS: Document this.
	* lisp/electric.el (electric--insertable-p): Remove.
	All uses removed (Bug#24759).

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

	* src/regex.c (re_search_2): Make new code safe for -Wjump-misses-init.

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

	Port to GCC 6.2.1 + --enable-gcc-warnings

	* src/regex.c (ENSURE_FAIL_STACK, re_search_2):
	Redo recent regex changes to avoid complaints from GCC 6.2.1 when
	Emacs is configured with --enable-gcc-warnings.  Also, work around
	GCC bug 78081, which was uncovered by this new code.

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

	Explain how to debug emacsclient lisp errors

	* doc/lispref/debugging.texi (Error Debugging): Mention that
	debug-on-signal is useful for getting backtraces from
	emacsclient (Bug#24616).

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

	Let describe-function work for lambda again

	Since commit "* lisp/help-fns.el (describe-function): More type
	checking[...]", `describe-function' throws a user-error when given a
	non-symbol.  This prevents the [back] button in a *Help* buffer from
	working when the page it goes back to describes an anonymous
	function (e.g., the result of `describe-key' on a key which is bound to
	a lambda form).

	* lisp/help-fns.el (describe-function): Move the checks on FUNCTION
	being an fbound symbol into the `interactive' form.  This allows
	non-interactive calls to pass an anonymous function (Bug #24221).  Note
	that passing a non-bound symbol non-interactively will still trigger a
	`void-function' error from `describe-function-1'.

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

	Fix kill-line's docstring

	* lisp/simple.el (kill-line): The effect of show-trailing-whitespace is
	important lines with *no* nonblanks (Bug #16654).

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

	Fix handling of allocation in regex matching

	`re_match_2_internal' uses pointers to the lisp objects that it
	searches.  Since it may call malloc when growing the "fail stack", these
	pointers may be invalidated while searching, resulting in memory
	corruption (Bug #24358).

	To fix this, we check the pointer that the lisp object (as specified by
	re_match_object) points to before and after growing the stack, and
	update existing pointers accordingly.

	* src/regex.c (STR_BASE_PTR): New macro.
	(ENSURE_FAIL_STACK, re_search_2): Use it to convert pointers into
	offsets before possible malloc call, and back into pointers again
	afterwards.
	(POS_AS_IN_BUFFER): Add explanatory comment about punning trick.
	* src/search.c (search_buffer): Instead of storing search location as
	pointers, store them as pointers and recompute the corresponding address
	for each call to `re_search_2'.
	(string_match_1, fast_string_match_internal, fast_looking_at):
	* src/dired.c (directory_files_internal): Set `re_match_object' to Qnil
	after calling `re_search' or `re_match_2'.
	* src/regex.h (re_match_object): Mention new usage in commentary.

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

	* lisp/electric.el (electric-quote-mode): Improve doc (Bug#24759).

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

	vc-region-history: Search just on lines intersecting the region

	* lisp/vc/vc.el (vc-region-history): If region ends in the beginning
	of a line, then exclude that line from the search (Bug#24725).

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

	Fix documentation of 'alist-get'

	* doc/lispref/lists.texi (Association Lists): Fix the signature of
	'alist-get'.  Fix the markup, the wording, and the punctuation in
	the description. (Bug#24740)

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

	* src/regex.h (re_match_object): Improve commentary.

2016-10-19  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-10-19  Michael Albinus  <michael.albinus@gmx.de>

	Change Tramp version to "2.2.13.25.2"

	* doc/misc/trampver.texi:
	* lisp/net/trampver.el: Change version to "2.2.13.25.2".

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

	* lisp/emacs-lisp/autoload.el (update-directory-autoloads): Fix last change.

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

	Don't scan compiled module files for autoloads

	* lisp/emacs-lisp/autoload.el (update-directory-autoloads): Ignore
	compiled module files.  Make sure the extension really ends the
	file name.

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

	Fix Bug#24698

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Don't send "stty tab0" to *BSD and Darwin machines.  (Bug#24698)

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

	* lisp/subr.el (start-process): Doc fix.  (Bug#24693)

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

	Fix display of vc-dir CVS file statuses in subdirectories

	* lisp/vc/vc-cvs.el (vc-cvs-dir-status-files): Use 'cvs update'
	instead of 'cvs status'.  It's faster, easier to parse, and
	relieves us of the need to use vc-expand-dirs.  (Bug#24082)
	(vc-cvs-after-dir-status): Parse its output.

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

	Update URL of MS-Windows optional DLLs

	* nt/README.W32:
	* nt/INSTALL: Update the URL of the MS-Windows binaries of the
	optional libraries built with MSYS2/MinGW64 project tools.

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-17  Tino Calancha  <f92capac@gmail.com>

	* lisp/simple.el (process-menu-mode, list-processes--refresh):
	Include PID.  (Bug#21725)

	(cherry picked from commit b7adc2f23787eb72015cd705b873e229db6a5049)

2016-10-17  Tino Calancha  <f92capac@gmail.com>

	* lisp/ibuf-ext.el (ibuffer-do-shell-command-file):
	Fix non-file-visiting-buffer case.  (Bug#22678)

	(cherry picked from commit 738738259ba77fe17e433c64e0758ea59ab5bc75)

2016-10-17  Tino Calancha  <f92capac@gmail.com>

	* lisp/ibuffer.el (ibuffer): Improve 'other-window' case.  (Bug#23617)

	(cherry picked from commit f4ef1a1fea15aa58fbb5e7a59bff260720658e49)

2016-10-17  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).  Backport from master.

2016-10-17  Glenn Morris  <rgm@gnu.org>

	* lisp/cus-start.el (exec-path): Handle nil elements.  (Bug#24471)

2016-10-16  Andreas Politz  <politza@hochschule-trier.de>

	Catch the imenu-unavailable error in sh-mode completion table

	* lisp/progmodes/sh-script.el (sh--cmd-completion-table):
	Catch the imenu-unavailable error (bug#24238).

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

	More char-width fixes

	* lisp/international/characters.el (char-width-table): More fixes
	according to the latest EastAsianWidth.txt.  (Bug#24705)

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

	Fix char-width-table values for some Emoji

	* lisp/international/characters.el (char-width-table): Add missing
	range U+1F400..U+1F43E.  (Bug#24699)

	* admin/notes/unicode: Mention the need to verify char-width-table
	setting against data in EastAsianWidth.txt.

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

	Keep point when switching from and to *terminal* buffer

	* lisp/term.el (term-reset-size): Don't reset the size if it
	didn't change.  If the size did change, restore point after
	adjusting the size.  (Bug#24465)

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

	* INSTALL: Use correct Emacs release number 25.

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

	Avoid crashes due to objects read with the #n=object form

	* src/lread.c (read1): Use Fcons for 'placeholder', not AUTO_CONS,
	because elements of the list in 'read_objects' cannot be allocated
	off the stack.  (Bug#24640)

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

	Improve doc string of 'completion-at-point-functions'

	* lisp/minibuffer.el (completion-at-point-functions): Doc fix.
	(Bug#24663)

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).

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

	* src/filelock.c (current_lock_owner): Update comment.

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

	Port --enable-gcc-warnings to GCC 6.2.1

	Backport from master.
	* src/conf_post.h (GNUC_PREREQ): New macro.
	* src/keyboard.c: Use it to work around GCC bug 54561.
	* src/process.c (would_block): New function.
	(server_accept_connection, wait_reading_process_output, send_process):
	Use it.

2016-10-12  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).
	Backport from master.

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

	Port last_marked change to full-program optimizers

	* src/alloc.c (last_marked): Now EXTERNALLY_VISIBLE.

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

	Adapt GDB scripts to '--enable-check-lisp-object-type' builds

	* etc/emacs-buffer.gdb <$qnil>: New variable.
	(ybuffer-list, yset-buffer): Use $qnil for comparing against
	'nil', as direct comparison with Qnil doesn't work in a build with
	'--enable-check-lisp-object-type'.

	* src/.gdbinit: Adapt commands of the temporary breakpoint in
	init_sys_modes to a build with '--enable-check-lisp-object-type'.

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

	Avoid optimizing out the last_marked[] array

	* src/alloc.c <last_marked>: No longer 'static', to avoid having
	it optimized out in optimized builds, which then makes debugging
	GC problems harder.

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

	CC Mode manual: remove reference to former Emacs variable last-command-char

	* doc/misc/cc-mode.texi (Hanging Semicolons and Commas): Replace reference to
	variable last-command-char by one to macro c-last-command-char.

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

	Allow to disable compaction of font caches

	* src/font.c (syms_of_font) <inhibit-compacting-font-caches>: New
	boolean variable.
	* src/alloc.c (compact_font_caches): Use it to bypass the call to
	compact_font_cache_entry.  (Bug#24634)  (Bug#24565)

	* etc/NEWS: Mention the new variable.

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

	Allow selection of font for symbols as in Emacs 24.x

	* src/fontset.c (syms_of_fontset) <use-default-font-for-symbols>:
	New boolean variable.
	(face_for_char): Use it to fall back to pre-Emacs 25.1 behavior
	when selecting fonts for displaying symbol and punctuation
	characters.  (Bug#24644)

	* etc/NEWS: Mention the new variable.

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

	Fix horizontal scrolling during Isearch

	* lisp/isearch.el (isearch-update): Compute the window's body
	width in a way that is correct when there are no fringes.
	(Bug#24584)

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

	Fix infloop in redisplay due to truncated lines and invisible text

	* src/xdisp.c (forward_to_next_line_start): Don't call
	'get_next_display_element' after finding the end of line.  This
	avoids setting the row's end position to the wrong value when the
	next screen line begins with invisible text; that wrong value
	caused set_cursor_from_row position the cursor in the wrong screen
	line, and eventually triggered bug#24109.

2016-10-07  David Engster  <deng@randomsample.de>

	gitmerge: Add cherry pick to gitmerge-skip-regexp

	* admin/gitmerge.el (gitmerge-skip-regexp): Add "cherry picked
	from commit", which is the string appended by 'git cherry-pick
	-x'.

	(cherry picked from commit f648e4866981b142fca788372e1fd9013a0bb16a)

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

	Improve documentation of 'menu-bar-open'

	* lisp/term/w32-win.el (w32-menu-bar-open): Clarify that sometimes
	two ESC keypresses are needed to exit the menu.

	* doc/emacs/screen.texi (Menu Bar): Qualify the description of how
	to exit menus.  (Bug#24596)

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)

	Do not merge to master!

2016-10-05  John Wiegley  <johnw@newartisans.com>

	Add documentation note from Alex

2016-10-05  Aurelien Aptel  <aaptel@suse.com>

	* src/alloc.c: call only non-null finalizers

2016-10-04  Karl Fogel  <kfogel@red-bean.com>

	Clarify that doc fixes are okay in feature freeze

	* CONTRIBUTE (branches): Explain that doc fixes are always safe, even
	on a release branch in feature freeze.  Tweak wording of paragraph
	after that to avoid a misleading contrast.

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

	Avoid crashes when setting the cursor

	* src/xdisp.c (display_and_set_cursor): Don't index glyphs of a
	glyph row if hpos is out of valid bounds.  This avoids crashes in
	some rare cases.  (Bug#24614)

2016-10-04  Philippe Vaucher  <philippe.vaucher@gmail.com>

	Restore 'command-debug-status' functionality

	* src/callint.c (Fcall_interactively): Bind command-debug-status
	to nil.  This restores functionality inadvertently removed in
	Emacs 25.1.  (Bug#24555)

	* lisp/subr.el (command-debug-status): Declare obsolete.

	* doc/lispref/debugging.texi (Internals of Debugger): Document
	that 'command-debug-status' is obsolete.

2016-10-03  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/r/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-03  Philipp Stephani  <phst@google.com>

	Document nil args of compare-buffer-substrings

	* src/editfns.c (Fcompare_buffer_substrings): Document behavior when
	the arguments are nil.

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

	* doc/misc/message.texi (Bcc Warning): Fix markup.

	* doc/misc/message.texi (Bcc Warning):
	Document mml-secure-safe-bcc-list.

2016-10-02  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/automated/isearch-tests.el (isearch--test-done): Test it.

	(cherry picked from commit 68f4b5292781bc331b040105c4079902b993835c)

2016-10-02  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)

	(cherry picked from commit 55dde6c1a21a792d3d75c19e612c74dd054aaf1e)

2016-10-02  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).

	(cherry picked from commit 214f85a0a68b96a552ca605d601b33f6eef5c4ca)

2016-10-02  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)

	(cherry picked from commit 344303c8d9cb03d4778a73940e80e966280aa694)

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

	* lisp/frame.el (blink-cursor-delay): Doc fix.  (Bug#24372)

2016-09-30  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.

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

	Regexp Functions doc minor fixes

	* doc/lispref/searching.texi (Regexp Functions):
	Fix misspelling of “matching”.  Use @table for table.
	Reformat code example to fit into info file width (Bug#17862).

2016-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>

	Backport mm-convert-shr-links fix from master (bug#23964)

	* lisp/gnus/mm-decode.el (mm-convert-shr-links):
	Preserve key bindings that shr adds (bug#23964).

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

	Improve documentation of 'expand-abbrev' and wrapper hooks

	* lisp/simple.el (filter-buffer-substring-functions)
	(buffer-substring--filter): Add a link to 'with-wrapper-hook' as
	the place to look for documentation of wrapper hooks.
	* lisp/minibuffer.el (completion-in-region-functions)
	(completion--in-region): Add a link to 'with-wrapper-hook' as the
	place to look for documentation of wrapper hooks.
	* lisp/abbrev.el (expand-abbrev, abbrev--default-expand): Clarify
	the doc strings.  (Bug#24540)

	* doc/lispref/text.texi (Buffer Contents): Mention
	'with-wrapper-hook's doc string as the place to learn about that
	obsolete facility.

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

	Minor copyedits of MS-Windows installation instructions

	* nt/INSTALL:
	* nt/README.W32: Add URL of Emacs dependencies on alpha.gnu.org.

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

	Fix display of cursor when 'blink-cursor-delay' has small value

	* lisp/frame.el (blink-cursor-check, blink-cursor-mode):
	Protect ourselves against too small values of blink-cursor-delay.
	This avoids erratic display of the cursor, or even failure to
	display it, when user types text at high speed or leans on a key
	to invoke the keyboard auto-repeat feature.  (Bug#24372)

2016-09-23  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)

	This was backported from master
	(cherry picked from commit 7123896626b06c26c4e37839ab41e41980c8f433)

2016-09-23  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)

	This was backported from master
	(cherry picked from commit 3462fe73351f3da5bc3ebf8296ee44dd2e6b1dbc)

2016-09-23  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)

	This was backported from master
	(cherry picked from commit e95d0d15bb1534803b0adb3c3a927c8beb7d4e79)

2016-09-23  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).

	This was backported from master
	(cherry picked from commit dc491c3df305a73908fe8de20b7c428a5b38c846)

2016-09-23  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).

	This was backported from master
	(cherry picked from commit 7fb75680b38fe0805c2ff7e9cca3bec8121ba984)

2016-09-23  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)

	This was backported from master
	(cherry picked from commit 7d58b02f363ab02961faa950d1ba727df96f2f19)

2016-09-23  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)

	This is backported from master
	(cherry picked from commit 99848b37d2c3e14c0af45fc6da437a806aa58a80)

2016-09-23  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/automated/font-parse-tests.el (font-parse-tests--data):
	Add test case for Monospace Serif.

	This is backport from master
	(cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)

2016-09-23  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).

	This is backport from master
	(cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553)

2016-09-23  Tino Calancha  <f92capac@gmail.com>

	Run find-function-after-hook after finding a symbol

	* lisp/emacs-lisp/find-func.el (find-library):
	* lisp/help-mode.el (help-function-def, help-variable-def):
	Run `find-function-after-hook' inside the help-function of the
	buttons (bug#22583).
	* etc/NEWS: Mention the change.

	This is a backport from master.
	(cherry picked from commit f069d854508946bcc03e4c77ceb430748e3ab6d7)

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

	Document 'timerp'

	* doc/lispref/os.texi (Timers): Document 'timerp'.  (Bug#24511)
	Improve indexing.

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

	Improve documentation of overlay priorities

	* doc/lispref/display.texi (Overlay Properties): Minor copyedits.
	By popular demand, mention the '(PRIMNARY . SECONDARY)' form of
	overlay properties used for the region.  (Bug#20253)

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

	Fix 'dired-compress-files'

	* lisp/dired-aux.el (dired-do-compress-to): Make sure the archive
	file name is fully expanded by running it through
	'expand-file-name'.  Suggested by Drew Adams <drew.adams@oracle.com>.
	(Bug#24486)  Doc fix.
	* lisp/dired.el: Regenerated changes in autoloads.

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

	Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR

	* src/character.h (STRING_CHAR):
	* src/buffer.h (FETCH_MULTIBYTE_CHAR): Update commentary: these
	two macros no longer do any character unification, so the caveats
	in those comments are no longer pertinent.

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

	Increment Emacs version to 25.1.50

	* README:
	* configure.ac:
	* etc/NEWS:
	* msdos/sed2v2.inp: Bump the version to 25.1.50.

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

	Document the optional zlib library in MS-Windows builds

	* nt/README.W32:
	* nt/INSTALL.W64:
	* nt/INSTALL: Mention the optional text decompression support and
	the zlib library.

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

	Fix tagging of DEFUN by etags

	* lib-src/etags.c (C_entries): Tag DEFUN twice: once with its C
	name, and then again with its Lisp name.  This restores the
	ability to find Lisp primitives by their C name, which was lost
	when the etags back-end was switched to a more strict search
	criteria.

	* 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/CTAGS.good: Adapt to the changes in etags.c wrt
	tagging DEFUN.

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

	Avoid resetting track-mouse by mouse clicks

	* lisp/mouse.el (mouse-drag-line, mouse-drag-track): Don't assume
	the previous value of track-mouse is nil; instead, save and
	restore the previous value.  (Bug#24480)

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

	Improve nt/README.W32 instructions

	* nt/README.W32: Add instructions for installing 64-bit builds of
	optional libraries.  (Bug#24470)

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

	Document that desktop file overrides frame parameters

	* doc/emacs/misc.texi (Saving Emacs Sessions):
	* doc/emacs/frames.texi (Frame Parameters): Document that frame
	parameters restored by desktop.el take precedence over the
	customizations in the init file, and explain how to countermand
	that.  For the details of the issue, see
	https://lists.gnu.org/r/emacs-devel/2016-09/msg00318.html.

2016-09-15  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Regenerate the AUTHORS file

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

	* Version 25.1 released.

2016-09-15  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Regenerate the AUTHORS file

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

	Update admin/authors.el

	* admin/authors.el (authors-fixed-entries): Add an entry for Bob
	Weiner.

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

	Update Antinews in ELisp manual

	* doc/lispref/anti.texi (Antinews): Update for Emacs 25.1.
	* doc/lispref/elisp.texi (Top): Update the main menu entry for
	Antinews.

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

	Fix comments on window height macros

	* src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
	confusing claim that "height is in pixels and in lines"; in fact it's in
	pixels.

2016-09-10  Toke Høiland-Jørgensen  <toke@toke.dk>  (tiny change)

	Fix 'url-http-create-request' when cookies are used

	* lisp/url/url-http.el (url-http-create-request): Make sure the
	cookie headers are a unibyte string.  For the details, see
	https://lists.gnu.org/r/emacs-devel/2016-09/msg00202.html.

2016-09-08  Martin Rudalics  <rudalics@gmx.at>

	Fix cross reference in frames.texi

	* doc/lispref/frames.texi (Minibuffers and Frames): Fix cross
	reference.

2016-09-04  immerrr  <immerrr@gmail.com>

	Fix regexp-opt documentation (bug #17862)

	* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
	* doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.

2016-08-31  Nicolas Richard  <youngfrog@members.fsf.org>

	* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.

2016-08-27  Noam Postavsky  <npostavs@gmail.com>

	Fix tags-query-replace docstring

	* lisp/progmodes/etags.el (tags-query-replace): Remove incorrect info
	regarding non-existent parameters.

2016-08-26  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of precision in format specs

	* doc/lispref/strings.texi (Formatting Strings): Be less
	definitive wrt what precision means in format specs other than
	floating-point, %s and %S.  (Bug#24314)

2016-08-24  Eli Zaretskii  <eliz@gnu.org>

	Improve and clarify documentation of subprocesses

	* doc/lispref/processes.texi (Subprocess Creation, Shell Arguments):
	Mention 'make-process' rather than 'start-process'.  Update wrt
	standard destinations of standard output/error streams and due to
	different formats of arguments accepted by 'make-process'.
	(Processes): Mention process objects that represent connections.
	(Synchronous Processes): Minor clarifications.
	(Asynchronous Processes): Describe 'make-process' and
	'make-pipe-process' before 'start-process'.  Update and expand the
	documentation.
	(Deleting Processes, Process Information, Input to Processes)
	(Signals to Processes, Query Before Exit, Network): Update and
	expand the documentation, especially wrt process objects that
	represent connections.
	(Output from Processes): Mention the possibility of separating
	stderr via 'make-process'.
	(Filter Functions): Mention that stderr by default arrives at the
	filter function together with stdout.  (Bug#24287)

	* src/process.c (Fprocess_id, Fprocess_command)
	(Fprocess_contact, Fprocess_type, Fstop_process): Doc fixes for
	process objects that represent connections.

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

	* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

2016-08-21  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Update the AUTHORS file

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

	Some assorted documentation clarifications

	* src/fileio.c (Fwrite_region): Clarify that END is ignored if
	START is nil.
	* src/editfns.c (Fbuffer_size): Add short discussion about
	narrowing.
	* src/callproc.c (Fcall_process_region): Discuss behavior when
	START and END are not buffer positions.

2016-08-18  Eli Zaretskii  <eliz@gnu.org>

	Improve commentary in src/character.h

	* src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
	(MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
	info from commentary and improve it.

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

	* etc/NEWS: Mention the change in json-encode-string.

	The change was made to fix bug#20154, and came up again in bug#24239.

2016-08-16  Eli Zaretskii  <eliz@gnu.org>

	* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.

	(Bug#24206)

2016-08-16  Eli Zaretskii  <eliz@gnu.org>

	Avoid segfaults due to quoting in 'substitute-command-keys'

	* src/doc.c (Fsubstitute_command_keys): Correct character counts
	when the input string is unibyte.  (Bug#24206)

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

	In NEWS describe new handling of window margins (Bug#24193)

	* etc/NEWS: Describe new handling of margins when splitting or
	resizing windows (Bug#24193).

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

	Facultatively ignore margins when splitting and resizing windows (Bug#24193)

	Provide a new window parameter 'min-margins' which allows to
	ignore the actual widths of a window's margins when splitting or
	resizing that window horizontally.  This should serve as a
	workaround for handling the problems raised by Bug#24193.

	* lisp/window.el (window--min-size-1): Handle new window
	parameter 'min-margins'.
	(split-window): Fix text of error messages.
	* doc/lispref/windows.texi (Window Parameters): Describe new
	parameter 'min-margins'.

2016-08-14  Noam Postavsky  <npostavs@gmail.com>

	Document CATEGORY arg to modify-category-entry

	* src/category.c (Fmodify_category_entry): Document CATEGORY argument.

2016-08-13  Noam Postavsky  <npostavs@gmail.com>

	Document char-script-table's effect on word motion

	* doc/lispref/positions.texi (Word Motion): Talk about
	char-script-table (Bug #10494).

2016-08-13  Eli Zaretskii  <eliz@gnu.org>

	Further fix for 'url-http-create-request' and multibyte strings

	* lisp/url/url-http.el (url-http-create-request): Run
	url-mime-charset-string through url-http--encode-string.
	(Bug#24117)

2016-08-13  Noam Postavsky  <npostavs@gmail.com>

	Fix docstring of eval-expression

	* lisp/simple.el (eval-expression): Fix the docstring to reflect the
	fact that the prefix argument does not affect formatting for
	integers (Bug #20691).

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

	Clarify when 'cursor' property is in effect

	* doc/lispref/text.texi (Special Properties): Minor copyedits.
	(Bug#24179)

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

	Convert the remaining strings to unibyte before concatenating

	* lisp/url/url-http.el (url-http--encode-string): New function.
	(url-http-create-request): Use it to convert ASCII to unibyte.
	(Bug#24117)

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

	Fix bug with handling the bidi cache

	* src/xdisp.c (redisplay_window): Save and restore the state of
	the bidi cache before reusing the iterator after calls to
	try_window and try_window_reusing_current_matrix.

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

	* doc/lispref/text.texi (Change Hooks): Minor copyedits.

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

	Clarify documentation of before/after-change-functions

	* doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
	not called in balanced pairs.

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

	Document use of vectors in keymaps

	* doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
	format (Bug #14797).

2016-08-03  Alan Third  <alan@idiocy.org>

	Post AppDefined events from the main thread ONLY (bug#23934)

	* src/nsterm.h: Make nextappdefined var not just GNUStep.
	* src/nsterm.m (ns_send_appdefined, sendFromMainThread): Remove GNUStep

2016-08-03  John Wiegley  <johnw@newartisans.com>

	Update to the AUTHORS file for Bob Weiner

		* etc/AUTHORS: Update the packages attributed to Bob Weiner

2016-08-02  John Wiegley  <johnw@newartisans.com>

	Revert "Fix local printer set to left aligned string formatter."

	This reverts commit 8a38e948b039516e70176ebe20c5349e2ade6ac5.

2016-08-02  John Wiegley  <johnw@newartisans.com>

	Revert "Fix ses-delete-blanks to delete only blanks + documentation."

	This reverts commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d.

2016-08-02  John Wiegley  <johnw@newartisans.com>

	Revert "Fix English."

	This reverts commit b275cc76f0c5ab49e81445fcc3420c8772aefd42.

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

	Improve doc strings of 'gud-gdb' and 'gdb'

	* lisp/progmodes/gdb-mi.el (gdb):
	* lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#24125)

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

	Fix doc string of 'minibuffer-message-timeout'

	* src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
	Doc fix.  (Bug#24123)

2016-07-29  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Fix English.

	* doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
	  incorrect English.

2016-07-29  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	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 reference 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 !

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

	profiler: document prefix arg for tree expansion

	* doc/lispref/debugging.texi (Profiling):
	* lisp/profiler.el (profiler-report-toggle-entry): Document use of
	prefix argument to expand whole call trees.

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

	Clarify usage of eshell-visual-options

	* lisp/eshell/em-term.el (eshell-visual-options): Add second option to
	example usage (Bug #19627).

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

	Fix comment in files-in-below-directory

	* doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
	say append, since the code is adding to front of list (Bug #21589).

2016-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	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-07-24  Nicolas Petton  <nicolas@petton.fr>

	Bump Emacs version to 25.1 for the first RC

	* README:
	* configure.ac:
	* lisp/ldefs-boot.el:
	* msdos/sed2v2.inp: Bump Emacs version to 25.1.

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

	* etc/AUTHORS: Update the AUTHORS file

	;; * ChangeLog.2: ChangeLog update.

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

	* admin/authors.el (authors-valid-file-names): Addition.

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

	Warn about Cairo-related problems

	* etc/NEWS: Warn about known problems in the Cairo build.
	(Bug#23925)

2016-07-23  Paul Pogonyshev  <pogonyshev@gmail.com>

	Don't let completion break `declare' handling

	* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Fix to not alter
	`defun-declarations-alist' by side effect (Bug #23648).

2016-07-23  Noam Postavsky  <npostavs@gmail.com>

	Adjust match data before calling after-change-funs

	It's important to adjust the match data in between calling
	before-change-functions and after-change-functions, so that buffer
	change hooks will always see match-data consistent with buffer content.
	(Bug #23917)

	* src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
	true call update_search_regs.  Update all callers (except
	Freplace_match) to pass 0 for the new parameter.
	* src/search.c (update_search_regs): New function, extracted from
	Freplace_match.
	(Freplace_match): Remove match data adjustment code, pass 1 for
	ADJUST_MATCH_DATA to replace_range instead.

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

	Do not show string-rectangle preview if minibuffer is empty

	* lisp/rect.el (rectangle--string-preview): Remove condition that sets
	preview string to the default replacement string.

2016-07-21  Achim Gratz  <Stromeko@nexgo.de>

	* etc/PROBLEMS: Add entry about selection problems under Plasma 5.

	Bug#24013

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

	Port to glibc 2.24 (pre-release) + ppc64

	Backport from master (Bug#24033).
	Inspired by a suggestion by Florian Weimer in:
	https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
	* src/emacs.c (main) [__PPC64__]:
	Special case for __PPC64__, which needs ASLR disabled in
	dumped Emacs too.

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

	* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).

	* lisp/net/shr.el (shr-fill-line):
	Preserve text properties in folded lines (bug#24034).

2016-07-17  Robert Cochran  <robert-git@cochranmail.com>  (tiny change)

	Expand FIXME near definition of fboundp

	This expansion of the FIXME is so that future developers are aware of
	the potential problems of aliasing fboundp to symbol-function without
	taking backwards compatibility into account.

	* src/data.c (fboundp): Note potential backwards compatibility issues in
	FIXME.

2016-07-17  Noam Postavsky  <npostavs@gmail.com>

	kill-rectangle should mention killed-rectangle

	* lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
	and warning message, rather than kill ring (Bug#19773).

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

	Avoid assertion violations in nhexl-mode

	* src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
	code executed in all builds.  (Bug#24001)

2016-07-15  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).


	This is a backport from trunk.
	(cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)

2016-07-15  Noam Postavsky  <npostavs@gmail.com>

	Document buffer-swap-text+save-excursion interaction

	* doc/lispref/buffers.texi (Swapping Text):
	* src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
	`buffer-swap-text' and `save-excursion' (Bug #4655).

2016-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)

	* lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
	* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
	mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
	* lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
	`class' is not a symbol but a class object.

2016-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	Include cl-generic in package--builtin-versions (bug#22817)

	* lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
	Add ourselves manually.  Don't merge since there's a better fix on master.

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

	Improve timing in `tramp-test29-environment-variables'

	* test/automated/tramp-tests.el
	(tramp-test--shell-command-to-string-asynchronously):
	Add additional `accept-process-output' call.
	(tramp-test29-environment-variables): Remove additional sleep calls.

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

	Add test for handling environment variables in Tramp

	* test/automated/tramp-tests.el
	(tramp-test--shell-command-to-string-asynchronously): New defun.
	(tramp-test29-environment-variables): New test.
	(tramp-test30-vc-registered)
	(tramp-test31-make-auto-save-file-name)
	(tramp-test32-special-characters)
	(tramp-test32-special-characters-with-stat)
	(tramp-test32-special-characters-with-perl)
	(tramp-test32-special-characters-with-ls, tramp-test33-utf8)
	(tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
	(tramp-test33-utf8-with-ls)
	(tramp-test34-asynchronous-requests)
	(tramp-test35-recursive-load, tramp-test36-unload): Rename.

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

	* lisp/emacs-lisp/package.el (describe-package-1)
	(package-status-external): Fix face references.  (Bug#23927)

2016-07-12  Stephen Berman  <stephen.berman@gmx.net>

	Improve documentation of search functions

	Make the documentation of the search functions more accurate,
	complete, and uniform; in particular, extend the description of
	the effect when the 'count' parameter is a negative number to all
	of these functions.

	* src/search.c (Fsearch_backward, Fsearch_forward)
	(Fre_search_backward, Fre_search_forward)
	(Fposix_search_backward, Fposix_search_forward):
	* lisp/isearch.el (word-search-backward, word-search-forward)
	(word-search-backward-lax, word-search-forward-lax): Improve doc
	strings as described above.

	* doc/lispref/searching.texi (String Search, Regexp Search)
	(POSIX Regexps): Use 'count' instead of 'repeat' as the name of
	the fourth parameter of the *-search-{forward,backward} functions
	and improve documentation as described above.

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

	Delete environment variables in Tramp when needed

	* lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
	(tramp-sh-handle-start-file-process)
	(tramp-sh-handle-process-file, ): Use it.  (Bug#23952)

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

	Add "New in Emacs 25" section to the FAQ

	* doc/misc/efaq.texi (Latest version of Emacs): Update for later
	versions.
	(New in Emacs 25): New node.
	(Status of Emacs): Add it to the menu.

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

	Fix 'vertical-motion' in non-interactive sessions

	* src/indent.c (Fvertical_motion): Don't return uninitialized
	value in non-interactive session.  This fixes random errors in
	batch mode, see
	https://lists.gnu.org/r/emacs-devel/2016-06/msg00609.html
	and
	https://lists.gnu.org/r/emacs-devel/2016-07/msg00500.html
	for the details.

2016-07-10  Andreas Schwab  <schwab@linux-m68k.org>

	Fix memory leak in imagemagick-types

	* src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
	avoid memory leak.

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

	Update ELisp manual to match 'string-collate-equalp' doc string

	* doc/lispref/strings.texi (Text Comparison): Remove reference to
	sorting from the description of 'string-collate-equalp'.  (Bug#23902)

2016-07-09  Noam Postavsky  <npostavs@gmail.com>

	Clarify docstring of find-feature-regexp

	* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
	is optional (Bug #23520).

2016-07-09  Noam Postavsky  <npostavs@gmail.com>

	Add details to cl-lib defining macros' docstrings

	* lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
	of supported arglist forms (Bug #22462).

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

	Clarify doc string of 'save-buffer'

	* lisp/files.el (save-buffer): Clarify that backups might not be
	made even if this command is invoked with 2 or 3 "C-u"s.
	(Bug#3702)

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

	Un-confuse doc string of 'string-collate-equalp'

	* src/fns.c (Fstring_collate_equalp): Remove confusing text from
	doc string.  (Bug#23902)

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

	Clarify documentation of 'mouse-on-link-p'

	* lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
	argument.  (Bug#23899)

2016-07-06  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix missing undo-boundary on revert-buffer.

	* lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
	* src/fileio.c (insert-buffer-contents): Call
	  undo-auto--undoably-changed-buffers before changes.

	Addresses Bug#23785.

	Do not merge to master as c98bc98 also addresses the same bug.

2016-07-06  Martin Rudalics  <rudalics@gmx.at>

	Amend last addition to etc/PROBLEMS

	* etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings

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

	Fix open-network-stream responsiveness

	Problem reported by Christer Ekholm (Bug#23864).
	Backport from master.
	* 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-05  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix missing point information in undo

	* src/undo.c (record_insert): Use record_point instead of
	  prepare_record, and do so unconditionally.
	  (prepare_record): Do not record first change.
	  (record_point): Now conditional on state before the last command.
	  (record_delete): Call record_point unconditionally.
	  (record_property_change): Use prepare_record.
	  (record_marker_adjustments): Use prepare_record.

	Addresses Bug# 21722

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

	Avoid crashes when buffer modification hooks clobber match data

	* src/search.c (Freplace_match): Error out if buffer modification
	hooks triggered by buffer changes in replace_range, upcase-region,
	and upcase-initials-region clobber the match data needed to be
	adjusted for the replacement.  (Bug#23869)

2016-07-03  Noam Postavsky  <npostavs@gmail.com>

	Note combine-and-quote-strings doesn't shell quote

	* doc/lispref/processes.texi (Shell Arguments):
	* lisp/subr.el (combine-and-quote-strings): Add a note that
	combine-and-quote-strings doesn't protect arguments against shell
	evaluation (Bug #20333).

2016-07-03  Noam Postavsky  <npostavs@gmail.com>

	Explain when package-initialize isn't called

	* doc/lispref/os.texi (Startup Summary): Explain that package-initialize
	is not called when options -q, -Q, or --batch were passed (Bug #19151).

2016-07-03  Noam Postavsky  <npostavs@gmail.com>

	Fix escaping in sh-indent-after-continuation docstr

	* lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
	escape backslashes in docstring (Bug#23046).

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

	Clarify the documentation of back-references in replacements

	* doc/emacs/search.texi (Regexp Replace): Clarify that \D starts
	with \1, not \0.

	* lisp/replace.el (query-replace-regexp)
	(query-replace-regexp-eval, replace-regexp): Doc fix (Bug#23884)

2016-07-01  Noam Postavsky  <npostavs@gmail.com>

	Clarify lexical binding with symbol args behavior

	* doc/lispref/variables.texi (Lexical Binding): Clarify that symbol
	arguments always refer to dynamic values (Bug #23781).  Remove mention
	of obsolete restriction regarding lexical binding for defun and
	defmacro, this no longer applies since 61b108cc 2012-05-29 "*
	lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C...".

2016-06-30  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.

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

	* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.  (Bug#23865)

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

	Avoid assertion violations when rendering some fonts

	* src/dispextern.h (FONT_TOO_HIGH): Don't consider a font "too
	high" if its pixel_size value is zero.  This avoids assertion
	violations at the end of x_produce_glyphs.

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

	Document more details of package activation

	* doc/emacs/package.texi (Package Installation): Explain that package
	activation adds to load-path (Bug #21704).

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

	Fixup warning message regarding HOME a bit more

	* src/w32.c (init_environment): The manual section title is "Windows
	HOME" (Bug #11612).  Move newline so warning fits in 80 character lines.

2016-06-27  Eli Zaretskii  <eliz@gnu.org>

	* lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.

2016-06-27  Michael Albinus  <michael.albinus@gmx.de>

	Fix input method "probhat" for Bengali

	Author: উৎসব রায় <uroybd@gmail.com>

	* lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.

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

	Add to elisp-completion-at-point's docstring

	* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
	position dependent behavior (Bug #19854).

2016-06-27  Noam Postavsky  <npostavs@gmail.com>
	    Eli Zaretskii  <eliz@gnu.org>

	Give more helpful warning about setting HOME

	* src/w32.c (init_environment): Improve warning message that pops when
	Emacs sets HOME according to existence of C:\.emacs (Bug #11612).

2016-06-26  Eli Zaretskii  <eliz@gnu.org>

	Fix slow redisplay in term-mode

	* lisp/term.el (term-mode): Move the setting of
	bidi-paragraph-direction from 'ansi-term' to here, since term-mode
	is also affected.  Do not merge to master, since there the problem
	is solved in bidi.c by changing the regexps that delimit a
	paragraph.  (Bug#23801)

2016-06-26  উৎসব রায়  <uroybd@gmail.com>

	New input method "probhat" for Bengali

	* lisp/leim/quail/indian.el ("probhat"): New input method.
	(Bug#23822)

	* etc/NEWS: Mention the new input method.

2016-06-25  Noam Postavsky  <npostavs@gmail.com>
	    Drew Adams  <drew.adams@oracle.com>

	Update docs for `customize-mode'

	* lisp/cus-edit.el (customize-mode): This function works with both major
	and minor modes, make docstring and prompt reflect that (Bug #23649).

	* doc/lispref/modes.texi (Derived Modes): Remove note about
	customize-mode being experimental; it has been around since Emacs
	22 (Bug #11299).

2016-06-23  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of 'assoc-string' and 'compare-strings'

	* src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
	string comparison.  (Bug#23833)
	* src/fns.c (Fcompare_strings): Fix the description of how
	IGNORE-CASE affects the comparison.

	* doc/lispref/strings.texi (Text Comparison): Clarify how
	CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
	the description of how IGNORE-CASE affects the comparison in
	'compare-strings'.

2016-06-22  Dmitry Gutov  <dgutov@yandex.ru>

	Error on multibyte characters in HTTP request

	* lisp/url/url-http.el (url-http-create-request): Check the
	constructed request in the end to verify that it does not contain
	multibyte characters (bug#23750).

2016-06-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/mm-decode.el (mm-convert-shr-links):
	Mask keys that launch `widget-button-click' (bug#22157).

2016-06-22  Dmitry Gutov  <dgutov@yandex.ru>

	Unset GIT_DIR when calling Git commands

	* lisp/vc/vc-git.el (vc-git--call, vc-git-command):
	Unset GIT_DIR (bug#23769).

2016-06-21  Phillip Lord  <phillip.lord@russet.org.uk>

	Ensure undo-boundary after insert-file-contents.

	* src/fileio.c: Record undoable change during insert-file-contents.

	Addresses Bug #23785.

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

	Clarify documentation of 'line-spacing' and 'line-height'

	* doc/lispref/display.texi (Line Height): Clarify how the line
	height is determined via variables and text properties.  (Bug#23806)

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

	Fix removal of variables from process-environment

	* src/callproc.c (add_env): Fix comparison of a variable with a
	value against the same variable without a value.  (Bug#23779)

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

	* admin/authors.el (authors-ignored-files, authors-valid-file-names)
	(authors-renamed-files-alist): Additions.

	* admin/authors.el (authors-aliases, authors-fixed-case): Additions.

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

	Fix documentation of completion functions

	So that the described behavior matches the code (and docstrings).

	* doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
	collections are used like string keys, not ignored (Bug #10416).

2016-06-18  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of 'font-lock-maximum-decoration'

	* doc/emacs/display.texi (Font Lock): Explain how to make the
	customization of 'font-lock-maximum-decoration' effective for an
	existing buffer.  (Bug#23783)

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

	* doc/misc/cl.texi (Usage): Add some more details.

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

	Fbackward_prefix_chars: stay within buffer bounds

	The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
	scanning" (1998-03-18), moved the check against of the position against the
	buffer beginning out the loop condition so that we might end up checking
	the syntax of characters before the beginning of the buffer.  This can
	cause segfaults or trigger a "Point before start of properties" error in
	`update_interval' (called indirectly from `char_quoted').

	* src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
	buffer is reached (Bug #3552, Bug #17132, Bug #19379).

2016-06-16  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:
	https://lists.gnu.org/r/emacs-devel/2016-06/msg00198.html

	(cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)

2016-06-16  Stephen Berman  <stephen.berman@gmx.net>

	Fix last todo-mode change

	* lisp/calendar/todo-mode.el (todo-read-category): Return the
	keymap in order to use its defined key bindings.

2016-06-15  Stephen Berman  <stephen.berman@gmx.net>

	Improve last todo-mode fix

	* lisp/calendar/todo-mode.el (todo-read-category): Use
	set-keymap-parent instead of copy-keymap, and default (as
	previously) to the global binding (for rationale, see
	https://lists.gnu.org/r/emacs-devel/2016-06/msg00217.html).

2016-06-14  Stephen Berman  <stephen.berman@gmx.net>

	Fix todo-mode use of minibuffer completion keymap (bug#23695).

	* lisp/calendar/todo-mode.el (todo-read-category): Don't
	override minibuffer-local-completion-map globally (bug#23695).
	Bind <SPC> key to self-insert-command.

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

	* src/alloc.c (ALIGN): Avoid error on DragonFly BSD.  (Bug#23764)

	* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
	Avoid mangling autoloads with unspecified arguments.  (Bug#21299)

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

	* lisp/help-fns.el (describe-function-1): Avoid reporting advised
	autoloads as aliases.  (Bug#21299)

2016-06-13  Stephen Berman  <stephen.berman@gmx.net>

	Minor grammar fix (bug#23746)

	* doc/lispref/processes.texi (Synchronous Processes):
	Another minor grammar fix (bug#23746).

2016-06-13  Stephen Berman  <stephen.berman@gmx.net>

	Doc fixes for grammar and typos (bug#23746)

	* doc/emacs/files.texi (Customize Save):
	* doc/emacs/frames.texi (Window Dividers):
	* doc/emacs/misc.texi (Printing):
	* doc/lispref/compile.texi (Compiler Errors):
	* doc/lispref/keymaps.texi (Changing Key Bindings):
	* doc/lispref/loading.texi (Named Features):
	* doc/lispref/markers.texi (Marker Insertion Types):
	* doc/lispref/modes.texi (Mode Hooks):
	* doc/lispref/text.texi (Undo):
	* src/floatfns.c (Fldexp):
	* src/xfaces.c (syms_of_xfaces):
	Minor doc fixes for grammar and typos (bug#23746).

2016-06-13  Eli Zaretskii  <eliz@gnu.org>

	* doc/lispref/processes.texi (Process Buffers): Minor rewording.  (Bug#23446)

2016-06-13  Eli Zaretskii  <eliz@gnu.org>

	Add cross-reference to ELisp manual

	* doc/lispref/commands.texi (Classifying Events): Add
	cross-reference to "Motion Events".  (Bug#23756)

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

	* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)

	Don't rewrite (funcall 'f ...) to (f ...).

2016-06-11  Phillip Lord  <phillip.lord@russet.org.uk>

	Restore initial undo boundary with viper

	* lisp/emulation/viper-cmd.el (viper-adjust-undo): Add back last undo
	  boundary if it has been removed.

	Addresses Bug#22295.

2016-06-11  Phillip Lord  <phillip.lord@russet.org.uk>

	Revert "Fix viper undo breakage from undo-boundary changes"

	This reverts commit c0139e32f1f3bb287b04e02a69a7848d6a040003.

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

	Fix dbus crash on 32-bit Cygwin

	* src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
	connection address.  (Bug#23741)
	(xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
	address.

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

	Bump version to 25.0.95

	* README:
	* configure.ac:
	* lisp/ldefs-boot.el:
	* msdos/sed2v2.inp: Bump Emacs version to 25.0.95.

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

	* etc/AUTHORS: Update the AUTHORS file

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

	add entries to authors.el

	* admin/authors.el (authors-renamed-files-alist): Add char-fold files.

2016-06-10  Jules Tamagnan  <jtamagnan@gmail.com>

	Fix eldoc-related freezes in python mode

	* lisp/progmodes/python.el (python-eldoc-get-doc): New defvar.
	(python-eldoc-function-timeout)
	(python-eldoc-function-timeout-permanent): New defcustoms.
	(python-eldoc-function): If python-eldoc--get-doc-at-point times
	out, effectively turn off ElDoc in current buffer.  (Bug#23609)

2016-06-09  Martin Rudalics  <rudalics@gmx.at>

	Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)

	* lisp/mouse.el (mouse-set-region): If the mouse ends up in
	another window or on the menu bar, use `window-point' of
	selected window instead of `posn-point' of the event end
	(Bug#23707).

2016-06-08  Marco Wahl  <marcowahlsoft@gmail.com>

	org.el: Fix bindings of < and > for calendar scrolling

	[This patch taken from upstream Org repo with 8b63dc9 dated
	2014-10-20 (Bug#23725).]
	* lisp/org/org.el (org-read-date-minibuffer-local-map):
	Switch to the current calendar API for scrolling the calendar.

2016-06-08  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix undo boundary in recursive edit (Bug#23632)

	 * src/keyboard.c (recursive_edit_1): specbind
	   undo-auto--undoably-changed-buffers.
	 * lisp/simple.el (undo-auto--undoably-changed-buffers):
	   fix docstring.

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

	Doc fixes re alist-get.  (Bug#23548)

	* lisp/subr.el (alist-get): Doc fix.
	* doc/lispref/lists.texi (Association Lists): Improve alist-get.

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

	* lisp/progmodes/python.el (inferior-python-mode):
	Avoid tabs.  (Bug#23616)

	* src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.

2016-06-07  Tino Calancha  <f92capac@gmail.com>

	* lisp/help-fns.el (describe-function-1):
	Fix handling of file name for aliases.  (Bug#21950)

	* lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".

	* doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.

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

	Fix crash in syntax.c after GC

	Problem reported by Vincent Belaïche (Bug#23704).
	* src/syntax.c (skip_chars): Recompute pointers into the
	buffer after every call to update_syntax_table_forward,
	as it can GC.

2016-06-06  Dmitry Gutov  <dgutov@yandex.ru>

	Improve squiggly heredoc support in non-SMIE Ruby mode

	* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
	squiggly heredocs here, too (port from upstream).

2016-06-06  Stephen Berman  <stephen.berman@gmx.net>

	Fix doc string quoting

	* lisp/files.el (shell-quote-wildcard-pattern):
	* lisp/progmodes/vhdl-mode.el (vhdl-mode):
	* lisp/subr.el (replace-regexp-in-string):
	* lisp/view.el (view-mode):
	* src/nsfns.m (syms_of_nsfns):
	* src/syntax.c (Fbackward_prefix_chars):
	Fix quoting problems in doc strings (Bug#23696).

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

	Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)

	* lisp/mouse.el (mouse-drag-line): With scroll bars on the left
	adjust trailing edge of window on the left when dragging the
	vertical divider of the mode line.  (Bug#23690)

2016-06-04  Eli Zaretskii  <eliz@gnu.org>

	* etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.

	(Bug#23641)

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

	* test/automated/viper-tests.el (viper-test-undo-kmacro):
	Delete temp-file at end.

	* lisp/mail/footnote.el (footnote-mode): Fix doc typo.

	* doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.

	* lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
	Fix typo.  (Bug#23654)

2016-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)

2016-05-30  Bill Wohler  <wohler@newt.com>

	Correct cl-flet usage (Bug#22317)

	* lisp/mh-e/mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
	macro using patch from Katsumi Yamaoka <yamaoka@jpl.org>.
	* lisp/mh-e/mh-thread.el (mh-thread-set-tables):
	* lisp/mh-e/mh-show.el (mh-gnus-article-highlight-citation):
	* lisp/mh-e/mh-mime.el (mh-display-with-external-viewer):
	(mh-mime-display, mh-press-button, mh-push-button):
	(mh-display-emphasis): Call mh-flet instead of mh-cl-flet.

2016-05-30  Bill Wohler  <wohler@newt.com>

	Release MH-E manual version 8.6

	* doc/misc/mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH):
	Update for release 8.6.

2016-05-30  Mike Kupfer  <m.kupfer@acm.org>

	Update MH-E's documentation about HTML renderers

	* doc/misc/mh-e.texi (HTML): Remove the footnote with the minimum Gnus
	version (we are no longer trying to support multiple Emacs
	releases). Sort the table of HTML renderers by name (the previous
	ordering was based on a 10-year-old survey). Add shr and gnus-w3m to
	the table. Remove the entry for w3 (no longer available).  Update
	existing entries so that they are more consistent about what features
	are discussed, and to reflect recent testing (Debian 8). Small tweaks
	to existing text.

2016-05-30  Dmitry Gutov  <dgutov@yandex.ru>

	Fx the we->the typo

	* doc/emacs/trouble.texi (Sending Patches):
	Fix the typo (bug#23657).

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

	Restore frames into the current display by default

	* lisp/desktop.el (desktop-restore-in-current-display):
	Default to t, not nil (Bug#23604).
	* etc/NEWS: Mention the change.

2016-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).

	etc/TODO: Remove out-of-place issue

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

	Clarify doc string of 'file-name-sans-extension'

	* lisp/files.el (file-name-sans-extension, file-name-extension):
	Clarify in the doc strings what is the extension, and which
	leading period doesn't count.  (Bug#23643)

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

	Fix the MSDOS build

	* msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
	empty, and remove the lines which use them in recipes, as that
	causes weird error message from Make and breaks the MSDOS build.

2016-05-28  Andreas Schwab  <schwab@linux-m68k.org>

	* lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
	substitute-command-keys to undo help--docstring-quote. (Bug#23634)

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

	* src/dired.c (Ffile_name_all_completions): Doc fix.  (Bug#23631)

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

	Fix infloop in 'number-sequence'

	* lisp/subr.el (number-sequence): Avoid overflow leading to an
	infloop.  (Bug#23627)

	* test/automated/subr-tests.el (number-sequence-test): New test.

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

	* lisp/emacs-lisp/find-func.el (find-function-library):

	Update for symbol-function no longer erroring.  (Bug#23626)

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

	* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
	(w32-get-valid-locale-ids): Improve declarations.

2016-05-26  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Correct old cell name unbinding when renaming cell.

	Bug is to unbind old cell names when renaming a cell with
	'makunbound'. when the old cell name is of A1 type, then
	'kill-local-variable' must be used instead, so that only the current
	spreadsheet is affected. When the old cell name is a renamed cell,
	then 'ses--unbind-cell-name' must be used in order to remove the old
	name from the name hashmap.

	* lisp/ses.el (ses-rename-cell): check consistency of cell symbol from
	text-property and from array object. Instead of 'makunbound', use
	either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
	whether the cell old name is a named cell or an A1 type cell

2016-05-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Document problem: slow screen refresh on missing font.

	See discussion of bug#22519 for more on this.

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

	* admin/admin.el (add-release-logs): Basic check of existing ChangeLog.

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

	* build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.

	This is relevant for M-x add-release-logs right after M-x authors.

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

	* admin/admin.el (add-release-logs): Generate ChangeLog if needed.

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

	* doc/misc/texinfo.tex: Revert previous change (Bug#23611).

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

	* admin/authors.el (authors): First update the ChangeLog.

	* admin/make-tarball.txt: Related updates.

2016-05-24  Dmitry Gutov  <dgutov@yandex.ru>

	Rename vc-stay-local back to vc-cvs-stay-local

	* lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
	vc-stay-local (bug#19548).  Improve the docstring.
	(vc-cvs-stay-local-p): Update accordingly.

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

	* doc/emacs/files.texi (Comparing Files):
	* doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.

	* doc/misc/eww.texi (Advanced): Fix xref.

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

	Fix cross-references between manuals

	* doc/misc/viper.texi (Viper Specials):
	* doc/misc/url.texi (Tramp):
	* doc/misc/sem-user.texi (Smart Jump):
	* doc/lispintro/emacs-lisp-intro.texi (Finding More):
	* doc/misc/efaq.texi (Replacing text across multiple files): Fix
	cross-references between manuals.  (Bug#23612)
	* doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
	longer relevant to Emacs Lisp programming.

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

	* doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".

	* admin/admin.el (add-release-logs): Also update etc/HISTORY.

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

	Avoid aborting due to errors in arguments of 'set-face-attribute'

	* src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
	FRAME argument before using it.  This avoids gratuitous aborts in
	Emacs built with --enable-checking when the luser was unlucky
	enough to get the argument list in wrong order.

2016-05-23  Phillip Lord  <phillip.lord@russet.org.uk>

	Add automated test for viper-tests.el

2016-05-23  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix viper undo breakage from undo-boundary changes

	* lisp/simple.el (undo-auto-disable-boundaries): New variable
	* lisp/emulation/viper-init.el (viper-undo-in-complex-command,
	  viper-undo-needs-adjustment): Rename
	  variable to reflect new purpose,
	  (viper-buffer-undo-list-mark): Remove
	* lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
	  Add undo using `undo-boundary', disable default undo-boundary
	  addition.
	* lisp/emulation/viper-cmd.el
	  (viper-complete-complex-command-for-undo,viper-adjust-undo):
	  Change function name, remove old undo list manipulation.
	* lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
	  viper-change-state-to-vi,viper-change-state):
	  Update for function name change.

	Addresses Bug #22295

2016-05-22  Kaushal Modi  <kaushal.modi@gmail.com>

	Fix reference to obsolete fn ps-eval-switch

	lpr-eval-switch is functionally the same as ps-eval-switch,
	which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
	So use that instead (Bug#19717).
	* lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
	ps-eval-switch.

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

	Do not trash symlinks to init file

	If the user’s init file is a symbolic link, do not break the link
	when initializing the package system.  Problem reported by Jackson
	Hamilton (Bug#23050).
	* lisp/emacs-lisp/package.el (package--ensure-init-file):
	Bind find-file-visit-truename when visiting the init file, and
	save and restore the buffer name the way cus-edit does in a
	similar situation (Bug#454).

2016-05-22  Alan Mackenzie  <acm@muc.de>

	Don't print the "decomposition" line for control chars in what-cursor-position

	This is a temporary workaround for bug #23594, where the decomposition line
	for linefeed corrupted the display on a Linux virtual terminal.

	* lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
	character code properties printed for control characters.

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

	Bring back xterm pasting with middle mouse

	Problem reported by Jan Synáček.
	Solution suggested by Stefan Monnier (Bug#23519).
	* lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
	(xterm--pasted-text): New decl.
	(isearch-xterm-paste): New function.
	* lisp/term/xterm.el (xterm--pasted-text): New function,
	taken from xterm-paste internals.
	(xterm-paste): Use it.

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

	Provide workaround for xftfont rendering problem

	* src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
	New variable.
	(xftfont_open): Use it to work around problems with rendering some
	fonts.  (Bug#23360)

2016-05-21  Jun Hao  <jun_hao@aol.com>

	* lisp/desktop.el: Disable restore frameset if in non-graphic display.

	(Bug#17693)

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

	Mention GTK+ problems in etc/PROBLEMS

	* etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
	problems this could create and the workaround.  (Bug#23587)

2016-05-20  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-refresh-contents):

	Don't change the value of `package-check-signature'.
	(package-check-signature): Use `epg-find-configuration'
	instead of `executable-find'.

2016-05-20  Daiki Ueno  <ueno@gnu.org>

	Revert "epg: Add a way to detect gpg1 executable for tests"

	This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.

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

	Avoid errors with Czech and Slovak input methods

	* lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
	(slovak-prog-3): Remove the kp-* key bindings, they are not needed
	and cause errors in "C-u C-x =".
	* lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
	(czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
	(Bug#23559)

2016-05-19  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-18  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Fix free variable warnings.

	(package--with-response-buffer): Replace two usages of
	`macroexp-let2*' with `let'.

2016-05-18  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--with-response-buffer):

	Fix some macro locals leaking into body.  (Bug#22440)

	* test/automated/package-test.el (package-test-signed):
	Manually check all possible values of `package-check-signature'.

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

	Improve documentation of 'server-name'

	* doc/emacs/misc.texi (Emacs Server): Fix example of setting
	'server-name'.  Mention how to do that with daemon sessions.
	(Bug#23576)

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

	Modernize ASLR advice in etc/PROBLEMS

	* etc/PROBLEMS (Segfault during 'make'): Modernize advice for
	seccomp, Docker, and NetBSD (Bug#23529).

2016-05-17  Juri Linkov  <juri@linkov.net>

	* lisp/char-fold.el: Rename from character-fold.el.

	* lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
	* test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
	https://lists.gnu.org/r/emacs-devel/2015-12/msg00529.html

2016-05-17  Nicolas Petton  <nicolas@petton.fr>

	Bump version to 25.0.94

	* README:
	* configure.ac:
	* msdos/sed2v2.inp: Bump Emacs version to 25.0.94.

2016-05-17  Nicolas Petton  <nicolas@petton.fr>

	etc/AUTHORS: Update the AUTHORS file

2016-05-16  Alan Third  <alan@idiocy.org>

	Fix bug#23462: Crash when iconifying frame on OS X.

	* src/nsterm.m (x_iconify_frame): Block input while miniaturize is
	running.

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

	Avoid shrinking windows with Gtk+ 3.20.3

	Problem reported by Matthias Clasen (Bug#23144).
	This was fixed in a different way in master.
	Do not merge to master.
	* src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
	Do not call xg_frame_resized in the MapNotify case.

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

	Fix bug in default setting of 'ps-paper-type'

	* lisp/international/mule-cmds.el (set-locale-environment): Don't
	inherit the value of locale from previous examination of different
	environment variables, which didn't look at LC_PAPER, and so using
	that value would effectively ignore the setting of LC_PAPER.
	(Bug#23544)

2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>  (tiny change)

	Properly reject malformed or empty package sigs

	Problem report and fix by Lizzie Dixon (Bug#23513).
	* lisp/emacs-lisp/package.el (package--check-signature-content):
	Report an error if no good signatures OR if a fatal error.  Not AND.

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

	Remove buggy non-native image scrolling

	This never worked, and could cause infinite recursion.
	Problem reported by Glenn Morris (Bug#22465).
	* lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
	All uses removed.

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

	* doc/misc/texinfo.tex: Sync from gnulib.

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

	* lisp/emacs-lisp/find-func.el (find-feature-regexp)
	(find-alias-regexp): Fix :version.

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

	Do not mistake colon at the end of regexp for slash symbol

	* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
	Check the parse state in the "Symbols with special characters"
	rule (bug#23515).

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

	Make package-install-from-buffer not move point

	* lisp/emacs-lisp/package.el (package-install-from-buffer):
	Use save-excursion here (bug#22616).

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

	Redo the fix for bug#21839

	* lisp/help.el (help-add-fundoc-usage): Undo the previous change.
	(help--make-usage-docstring): Escape newlines when printing.

	* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
	Ditto (bug#21839).

2016-05-10  Dmitry Gutov  <dgutov@yandex.ru>

	Don't treat JS spread as continuation method call

	* lisp/progmodes/js.el (js--indent-operator-re):
	Allow only one dot (bug#23492).

	* test/indent/js.js (default): Add a corresponding example.

2016-05-09  Dmitry Gutov  <dgutov@yandex.ru>

	Allow newlines inside cl function arglists

	* lisp/help.el (help-add-fundoc-usage): Allow newlines inside
	ARGLIST (bug#21839).

2016-05-09  Dmitry Gutov  <dgutov@yandex.ru>

	Publicize cl--generic-all-functions

	* lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
	Rename from cl--generic-all-functions.  Update both callers.

	* lisp/cedet/semantic/db-el.el
	(semanticdb-find-tags-external-children-of-type-method):
	And use it here (bug#23042).

2016-05-09  Alan Mackenzie  <acm@muc.de>

	Add some "safe-local-variable" declarations for compatibility with master.

	These enable C files from the master repository to be visited in Emacs 25
	without generating irritating questions about configuration variable safety.

	* 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
	safe-local-variable property c-string-list-p.
	(c-macro-names-with-semicolon): give the safe-local-variable property
	c-string-or-string-list-p.

2016-05-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix doc string in `insert'

	* src/editfns.c (Finsert_and_inherit): The before-insertion
	markers do not move.
	(Finsert): Ditto.

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

	* doc/misc/emacs-mime.texi (time-date): Document now-builtins better.

2016-05-07  Dmitry Gutov  <dgutov@yandex.ru>

	Say 'All results processed' at the end

	* lisp/progmodes/xref.el (xref--query-replace-1):
	Say 'All results processed' at the end if the user hadn't
	canceled the process (bug#23284).

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

	Document automatic adjustment of process' logical window dimensions

	* doc/lispref/processes.texi (Process Buffers): Document
	'set-process-window-size' and
	'window-adjust-process-window-size-function'.

	* etc/NEWS: Mention the new functionality and variable.

	* src/process.c (Fset_process_window_size): Improve the doc string.

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

	tramp-sh.el: Work around a stat bug (backport from master)

	* lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
	stat versions which produce shell quoted output.  See also
	coreutils Bug#23422.

	(cherry picked from commit 6aad36ace9953b9672b13be68416d205532d5e59)

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

	Doc fixes for fclist and grep

	A newline is needed between two fc-list calls.
	egrep and fgrep have been withdrawn from POSIX,
	so document grep -E and grep -F instead.

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

	Minor doc fixes for quoting

	* doc/lispref/control.texi (Signaling Errors):
	* doc/lispref/display.texi (Displaying Messages):
	Don’t say that formats “generate”.  Try to word more clearly.
	* etc/NEWS: Coalesce near-duplicate entries.

2016-05-05  Dmitry Gutov  <dgutov@yandex.ru>

	`nreverse' the marker pairs list

	* lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
	the marker pairs list for each buffer before returning.

2016-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	Use save-excursion in xref-location-marker more

	* lisp/progmodes/elisp-mode.el (xref-location-marker): Use
	save-excursion, in order not to alter the value of point if the
	buffer is currently open in the background (problem reported by
	Robert Weiner).

	* lisp/progmodes/etags.el (xref-location-marker): Same.

2016-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	shell-quote-argument DIR when appropriate

	* lisp/progmodes/project.el (project-file-completion-table):
	`shell-quote-argument' DIR as well.

	* lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
	`shell-quote-argument' (bug#23453).  Thanks for Kaushal Modi for
	pointing out the problem.  Assert that DIR doesn't start with `~'.

2016-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	Rework xref-query-replace-in-results

	* lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
	all xrefs from the buffer first, then delegate most of the
	processing to the value returned by xref--buf-pairs-iterator.
	(xref--buf-pairs-iterator): New function.  Return an "iterator"
	which partitions returned markers into buffers, and only processes
	markers from one buffer at a time.  When an xref is out of date,
	skip it with a message instead of signaling error (bug#23284).
	(xref--outdated-p): Extract from xref--buf-pairs-iterator.  Trim
	CR from both strings before comparing.
	(xref--query-replace-1): Remove the variable current-buf, no need
	to track it anymore.  Simplify the filter-predicate and search
	functions accordingly.  Iterate over buffer-markers pairs returned
	by the iterator, and call `perform-replace' for each of them.  Use
	multi-query-replace-map (bug#23284).  Use `switch-to-buffer' every
	time after the first, in order not to jump between windows.

	* test/automated/xref-tests.el
	(xref--buf-pairs-iterator-groups-markers-by-buffers-1)
	(xref--buf-pairs-iterator-groups-markers-by-buffers-2)
	(xref--buf-pairs-iterator-cleans-up-markers): New tests.

2016-05-04  Juri Linkov  <juri@linkov.net>

	* lisp/replace.el (query-replace-read-from): Use minibuffer-with-setup-hook

	to set minibuffer-local value of text-property-default-nonsticky.
	(Bug#23418, bug#23127)

2016-05-04  Stephen Berman  <stephen.berman@gmx.net>

	Fix todo-mode bug involving archived items (bug#23447)

	* lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
	from Todo Categories mode to a category with only archived items
	and todo-skip-archived-categories is non-nil, make sure the
	archive file buffer is in Todo Archive mode to prevent
	todo-category-select from raising an error, and don't set
	todo-current-todo-file, since that makes todo-show display the
	archived category.  Remove a no-op call to kill-buffer, which is
	already called in todo-insert-category-line.

2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>

	Handle "empty line" regexp in xref searches

	* lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
	match if re-search-forward doesn't move point (bug#23426).

	* test/automated/xref-tests.el
	(xref-collect-matches-finds-an-empty-line-regexp-match):
	Uncomment test.

2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>

	Add tests for xref-collect-matches

	* test/automated/xref-tests.el: New file.  Add tests for
	xref-collect-matches.

2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>

	Use grep-find-ignored-directories instead of vc-directory-exclusion-list

	* lisp/dired-aux.el (dired-do-find-regexp):
	Use grep-find-ignored-directories instead of
	vc-directory-exclusion-list.  The result should be functionally
	similar (the former uses the latter as the default value), but it
	should be more consistent and appropriate WRT user
	customizations.
	(dired-do-find-regexp-and-replace): Update the docstring.

	* lisp/dired.el: Update the corresponding autoloads.

	* doc/emacs/dired.texi (Operating on Files): Update the
	documentation accordingly.

2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>

	Clear buffer-undo-list when showing xrefs

	* lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
	buffer-undo-list and temporarily bind it to t while rendering the
	buffer contents.

2016-05-03  Alan Mackenzie  <acm@muc.de>

	Note the quote translation in `message' in section "incompatible changes".

	* etc/NEWS: Note that `message' translates quotes, that the translation
	cannot be disabled, and that `format' can be used to get the old
	behavior back.

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

	* etc/NEWS: Mention (message "%s" (format ...)).

2016-05-03  Lars Ingebrigtsen  <larsi@gnus.org>

	(Common Keywords): Correct what missing :group means

	* doc/lispref/customize.texi (Common Keywords): Correct what
	missing :group means.

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

	Improve documentation of Dired's 'A' and 'Q' commands

	* lisp/dired-aux.el (dired-do-find-regexp)
	(dired-do-find-regexp-and-replace): Mention
	'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
	also the fact that REGEXP should be palatable by Grep.  (Bug#23426)
	* lisp/dired.el: Update the corresponding autoload forms.

	* doc/emacs/dired.texi (Operating on Files): Mention
	'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
	(Bug#23429)

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

	Doc fixes for quoting

	* doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
	* doc/lispref/control.texi, doc/lispref/display.texi:
	* doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
	* src/callint.c, src/doprnt.c, src/editfns.c:
	Document quoting a bit more systematically.
	Problem reported by Alan Mackenzie (Bug#23425).

2016-05-02  Lars Ingebrigtsen  <larsi@gnus.org>

	posnp doc clarification

	* lisp/subr.el (posnp): Mention that a posn object is returned
	from `event-start' (bug#18211).

2016-05-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention what a missing :group does

	* doc/lispref/customize.texi (Common Keywords): Document that
	a missing :group reuses the group from the preceding item (bug#21601).

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

	Fix documentation of dired-aux search/replace commands

	* lisp/dired-aux.el (dired-do-find-regexp)
	(dired-do-find-regexp-and-replace): Doc fixes.  (Bug#23429)
	* lisp/dired.el: Update the corresponding autoload forms.

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

	Fix quoting problem in cc-engine debug message

	* lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
	Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
	likewise for ‘`’, and ‘%’.

2016-05-02  Philipp Stephani  <phst@google.com>

	Add electric-quote-string unit test

	* test/automated/electric-tests.el (electric-quote-string): New test.

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

	Don’t electrically quote ‘'’ in Python

	Problem reported by Philipp Stephani (Bug#23387).
	* lisp/electric.el (electric-quote-post-self-insert-function):
	Do not requote a string starter or ender.

2016-05-02  Dmitry Gutov  <dgutov@yandex.ru>

	`nreverse' Grep hits before passing them to xref--convert-hits

	* lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
	before passing them to xref--convert-hits.  Fixes a regression
	from cc0b7132.

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

	* doc/misc/texinfo.tex: Sync from gnulib.

2016-05-01  Juri Linkov  <juri@linkov.net>

	* lisp/isearch.el (isearch-forward-symbol-at-point): Add isearch-push-state.

	(Bug#23410)

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

	tramp.texi: Revert last change due to backward compatibility

	(cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac)

2016-05-01  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).

	(cherry picked from commit 2b4c099822811ede787fc6e575bfbb17b3cc0681)

2016-05-01  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).

	(cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)

2016-05-01  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).

	(cherry picked from commit 28aaa6d20586e3330a23b017a65e56dd6461c003)

2016-05-01  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).

	(cherry picked from commit cafc2a5940cdc523cfea6dcf1cf540f48367c62a)

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

	Fill some imenu--index-alist doc lines

	* lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).

	(cherry picked from commit 4b7bb8f596550628eaa83b82c0f7eabe59a84964)

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

	Fmarker_position doc string clarification

	* src/marker.c (Fmarker_position): Clarify the doc string
	(bug#21231).

	(cherry picked from commit eeac7c57273cec3f9408b18392dd2bafe3be4450)

2016-05-01  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.

	(cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)

2016-05-01  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.

	(cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)

2016-05-01  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).

	(cherry picked from commit fcd0d854eef6e439d51e8f07cf734d5e34e502b3)

2016-05-01  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).

	(cherry picked from commit e0e70f030e69d9696a963a86f5f7caaff4df06eb)

2016-05-01  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).

	(cherry picked from commit 1aaeaf1450756a71c9254a2a5b174c72084ca67a)

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

	Document 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).

	(cherry picked from commit bf7a630b0a5d3900f2afb0e7a881ce62e2b9f935)

2016-05-01  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).

	(cherry picked from commit a3151a28789f413af73b14fbba557b2a587fca53)

2016-05-01  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).

	(cherry picked from commit 45559c584e5a4ddeed1539b028b50b95baa372f8)

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

	custom-buffer-style doc fix

	* lisp/cus-edit.el (custom-buffer-style): Document the `tree'
	value (bug#20724).

	(cherry picked from commit bcf0291d0cd02095b0809b1eb91f1e5c5c2ac5e3)

2016-05-01  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).

	(cherry picked from commit bcc10761c3b968fa4534718116a0a601ed7da389)

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

	apropos-print doc fix

	* lisp/apropos.el (apropos-print): Document the undocumented
	parameters (bug#20520).

	(cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)

2016-05-01  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).

	(cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)

2016-05-01  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).

	(cherry picked from commit 207a31432c1ed8b548003a3e4af32c49aa3441e9)

2016-05-01  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).

	(cherry picked from commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8)

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

	add-timeout doc fix

	* lisp/emacs-lisp/timer.el (add-timeout): Mention the return
	value (bug#20181).

	(cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)

2016-05-01  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).

	(cherry picked from commit 6c7e7f421d02d9290d6d1d85320737371160aef7)

2016-05-01  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).

	(cherry picked from commit 9392193be56eebdfac702a0bbb5e954088371c7a)

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

	cursor-type doc fix

	* src/buffer.c (syms_of_buffer): Mention that cursor-type's
	WIDTH/HEIGHT can't exceed the frame char size (bug#19215).

	(cherry picked from commit 77c5f4554ebb3b7c7d49bc881e45a550f6c93987)

2016-05-01  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).

	(cherry picked from commit da5d0786163a91400eced4fddba4a92b652458d1)

2016-05-01  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).

	(cherry picked from commit 9dc5f6d830e72420dc4d41c8f6ca1ca6b28609c0)

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

	Fcompare_buffer_substrings doc string clarification

	* src/editfns.c (Fcompare_buffer_substrings): Extremely minor
	doc string clarification (bug#19255).

	(cherry picked from commit aa692acbb598a1cc8219ed7a87dde25fd7626ba5)

2016-05-01  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).

	(cherry picked from commit b6481b19bc9592492b1f70dfecb4de6256f537fe)

2016-05-01  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).

	(cherry picked from commit b66bc0cced786e0320e1c3b0758bd3c434d4e8b5)

2016-05-01  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).

	(cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)

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

	Clarify the doc of eval-expression-print-format

	* lisp/simple.el (eval-expression-print-format): Doc
	clarification (bug#19114).

	(cherry picked from commit cd193a871f5a8e1c81ba86fc398ac382fa814383)

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

	Explicitly 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).

	(cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)

2016-05-01  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'.

	(cherry picked from commit 3eca9a03816f95da0030665223c0b5262f223ba7)

2016-05-01  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).

	(cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)

2016-05-01  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).

	(cherry picked from commit e77b8d84b4161f2cf8720dec2bf44a3e50134398)

2016-05-01  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).

	(cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)

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

	Fill the doc string of font-lock-keywords

	* lisp/font-lock.el (font-lock-keywords): Fill the lines and
	reorganize some explanations (bug#21427).

	(cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)

2016-05-01  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).

	(cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)

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

	Clarify whitespace-style doc string

	* lisp/whitespace.el (whitespace-style): Doc clarification
	(bug#18296).

	(cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)

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

	Doc fixed for next-error-buffer-p

	* lisp/simple.el (next-error-buffer-p): Clarify doc string
	(bug#18202).

	(cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)

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

	Tiny doc fix

	* src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
	(and fill) (bug#18201).

	(cherry picked from commit 2ef0040e2363a669d9b93df935d31c98fa130132)

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

	Doc fix

	* src/keymap.c (Fdefine_prefix_command): Clarify doc string
	slightly (bug#18092).

	(cherry picked from commit 6b769c81d024f7eeb90b167e7df6f87d859614d4)

2016-05-01  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).

	(cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)

2016-05-01  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.

	(cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)

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

	Doc fix

	* lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).

	(cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)

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

	Minor doc clarification

	* lisp/subr.el (y-or-n-p): Document the return value from "n"
	(bug#18024).

	(cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)

2016-05-01  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).

	(cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)

2016-05-01  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).

	(cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)

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

	Clarify hi-lock-find-patterns

	* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
	(bug#17989).

	(cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)

2016-05-01  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).

	(cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)

2016-05-01  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).

	(cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)

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

	Doc fix for `kbd'

	* lisp/subr.el (kbd): Describe more fully the format of the
	parameter (bug#17039).

	(cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)

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

	Doc tweak

	* lisp/simple.el (use-empty-active-region): Doc tweak.
	There's only one region (bug#16513).

	(cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)

2016-05-01  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 customizations (bug#15445).

	(cherry picked from commit bc5f27aa099cdde02ca66e71501b89300685ab28)

2016-05-01  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.

	(cherry picked from commit e4c7657b0d1a31d64ca24bc64b5480cd7687e332)

2016-05-01  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).

	(cherry picked from commit fb685bc91a72508c97ce7e30f970d4157677f371)

2016-05-01  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).

	(cherry picked from commit e4c26271f2c2fe08f8490e25c63a436ab2a804ca)

2016-05-01  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).

	(cherry picked from commit 23ba488a5e8290c4de91e0ff4161641efa364c0d)

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

	Clarify the `interactive' doc string slightly

	* src/callint.c (Finteractive): Clarify the doc string slightly
	  (bug#14577).

	(cherry picked from commit cd993be60da2d12db0d390001373d486c1091c47)

2016-05-01  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.

	(cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)

2016-05-01  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).

	(cherry picked from commit 388bb723fa078158d3148de05e942f9c01e95dd8)

2016-05-01  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).

	(cherry picked from commit a1627691a896b2afaa264f93534178bc763564c9)

2016-05-01  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).

	(cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)

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

	Use ‘T *restrict’ proto, not ‘T[restrict]’

	* src/fns.c (sort_vector_copy): Use a different way to attempt to
	work around GCC 3.0-and-earlier incompatibility with C99, one that
	does not have problems with modern non-GCC compilers.

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

	Fix documentation of 'url-retrieve-synchronously'

	* doc/misc/url.texi (Retrieving URLs): Update argument list of
	'url-retrieve-synchronously'.  (Bug#23411)

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

	* lisp/url/url.el (url-retrieve-synchronously): Doc fix.  (Bug#23411)

2016-04-30  Leo Liu  <sdl.web@gmail.com>

	Fix last change to isearch-update (bug#23406)

	* lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
	  nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
	  ...) form.

2016-04-30  Leo Liu  <sdl.web@gmail.com>

	Autoload cursor-sensor-inhibit (bug#23406)

	* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
	* lisp/isearch.el (isearch-update): Remove boundp check.

2016-04-30  Phillip Lord  <phillip.lord@newcastle.ac.uk>

	org-map-entries: Fix org-agenda-prepare-buffers call

	* lisp/org/org.el (org-map-entries): Check that buffer-file-name is non-nil
	  before passing to org-agenda-prepare-buffers.

	This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
	from upstream org-mode. Addresses bug #23365.

2016-04-30  Eli Zaretskii  <eliz@gnu.org>

	Followup for last commit in the user manual

	* doc/emacs/basic.texi (Moving Point): Clarify that
	set-goal-column has buffer-local effect.  (Bug#23405)

2016-04-30  Eli Zaretskii  <eliz@gnu.org>

	Improve doc string of 'set-goal-column'

	* lisp/simple.el (set-goal-column): Doc fix.  (Bug#23405)

2016-04-30  Eli Zaretskii  <eliz@gnu.org>

	Fix the MSDOS build

	* config.bat:
	* msdos/sedlisp.inp:
	* msdos/sedlibmk.inp:
	* msdos/sedleim.inp:
	* msdos/sedadmin.inp:
	* msdos/sed6.inp:
	* msdos/sed3v2.inp:
	* msdos/sed2v2.inp:
	* msdos/sed1v2.inp: Adapt to Emacs 25.

	* src/process.c (remove_slash_colon): Move out of "#ifdef
	subprocesses" block, as it is called unconditionally.  Move
	ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
	reference variables only defined in that block.
	* src/msdos.h: Provide prototypes for IT_set_frame_parameters,
	faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
	dos_keysns, dos_keyread, run_msdos_command, and
	syms_of_win16select, to avoid compiler warnings.
	* src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
	'environ', depending on the DJGPP version.
	Remove declarations of externally-visible Lisp objects, like
	Qbackground_color and Qreverse.
	(run_msdos_command): First argument is not signed, not unsigned.
	Use SYS_ENVIRON.
	(sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
	the latter doesn't work when 'time_t' is an unsigned data type.
	This caused idle timers to behave incorrectly: they only fired
	after a keyboard input event.
	* src/frame.c (adjust_frame_size) [MSDOS]: Account for
	FRAME_TOP_MARGIN that isn't counted in the frame's number of
	lines, but dos_set_window_size needs it to be added.
	* src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
	* src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
	that works around compilation errors with older GCC versions.
	* src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
	Objects.
	* src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
	no-op implementations for 'lock_file' and 'unlock_file'.
	(Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
	ifdefs in all users of filelock.c functionality.
	* src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
	* src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
	warnings.
	* src/dosfns.h: Provide prototypes for dos_cleanup,
	syms_of_dosfns, and init_dosfns.
	* src/deps.mk (atimer.o): Depend on msdos.h.
	(emacs.o): Depend on dosfns.h.
	* src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
	warnings.

	* lisp/window.el (window--adjust-process-windows): Skip the body
	if 'process-list' is not available.  This avoids failure to start
	up on MS-DOS.
	* lisp/vc/diff.el (diff-no-select): Test 'make-process', not
	'start-process', as the latter is now available on all platforms.
	* lisp/textmodes/ispell.el (ispell-async-processp): Replace
	'start-process' with 'make-process' in a comment.
	* lisp/term/internal.el (IT-unicode-translations): Modify and add
	a few translations to display Info files with Unicode markup.  Fix
	an ancient off-by-one mismatch error with Unicode codepoints.
	* lisp/progmodes/compile.el (compilation-start): Test
	'make-process', not 'start-process', as the latter is now
	available on all platforms.
	* lisp/man.el (Man-build-man-command, Man-getpage-in-background):
	Test 'make-process', not 'start-process', as the latter is now
	available on all platforms.
	* lisp/international/mule-cmds.el (set-coding-system-map): Test
	'make-process', not 'start-process', as the latter is now
	available on all platforms.
	* lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
	fix.
	(eshell-execute-pipeline): Test 'make-process', not
	'start-process', as the latter is now available on all platforms.

2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>

	Remove \= from format string (bug#18190)

	* lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
	string.

2016-04-30  Eli Zaretskii  <eliz@gnu.org>

	Fix variable-pitch font on MS-Windows

	* lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
	explicitly, to avoid Emacs picking up a bold-italic variant on
	some MS-Windows systems.  See this thread for details:
	https://lists.gnu.org/r/emacs-devel/2016-04/msg00746.html.

2016-04-29  Alan Mackenzie  <acm@muc.de>

	Restore follow-scroll-up/down to scrolling by the combined size of all windows

	Also rename the current follow-scroll-up/down functions to
	follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
	height of the current window.

	This fixes bug #23347.

	* lisp/follow.el (follow-mode): Tweak the doc string.
	(follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
	follow-scroll-up/down.
	(follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
	follow-scroll-up/down.
	(follow-scroll-up, follow-scroll-down): Restore the historic functionality.

2016-04-29  Alan Mackenzie  <acm@muc.de>

	Revert unneeded change which harms syntactic parsing.  This fixes bug #23308.

	* lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
	c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
	regardless of the value of `here'.

2016-04-29  Alan Mackenzie  <acm@muc.de>

	Correct indentation of ids in a C++ enum after a protection keyword.

	Also correct the misfontification of the last enum identifier.

	* lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
	c-last-identifier-range to nil to ensure that only types recognized by this
	macro are set for fontification as types.
	(c-backward-typed-enum-colon): Function renamed from
	c-backward-colon-prefixed-type.  On finding a colon in the backward search,
	check it is preceded by an identifier rather than a keyword.

2016-04-27  Glenn Morris  <rgm@gnu.org>

	* lisp/window.el (window--process-window-list): No-op if no processes.

	This avoids an issue with save-selected-window (from walk-windows)
	failing if frame.el is not loaded, eg if the terminal is resized
	during startup of a -nw CANNOT_DUMP build.  (Bug#23369).

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

	Port dumping to NetBSD with PaX

	Problem reported by Thomas Klausner (Bug#23371).
	* configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
	Set them to setfattr and/or paxctl commands appropriate for
	GNU/Linux and/or NetBSD; the latter prefers paxctl +a.  Search
	for paxctl only if setfattr is not found.
	* src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
	New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
	All uses changed.

2016-04-27  Dmitry Gutov  <dgutov@yandex.ru>

	Don't mistake `for' inside a function for a part of array comprehension

	* lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
	depth in parens between the bracket and `for' (bug#23391).

	* test/indent/js.js: Add a corresponding example.

2016-04-27  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'.

	Backport

	(cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)

2016-04-27  Leo Liu  <sdl.web@gmail.com>

	Improve last change to vc-git-mode-line-string

	* lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
	  the result.

2016-04-27  Stephen Berman  <stephen.berman@gmx.net>

	Todo mode doc bug fix

	* lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
	longer correct information in doc string.

2016-04-27  Leo Liu  <sdl.web@gmail.com>

	Fix revision calculation in vc-git-mode-line-string

	* lisp/vc/vc-git.el (vc-git-mode-line-string): Use
	  vc-git-working-revision because vc-working-revision needs to decide
	  the backend and may return nil.

2016-04-26  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-26  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-26  Mark Oteiza  <mvoteiza@udel.edu>

	Partially revert previous change.

	This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a.
	* lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
	This function is for rectangle-mark-mode, not string-rectangle.

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

	Say why text-quoting-style is not a user option

	* doc/lispref/help.texi (Keys in Documentation):
	* etc/NEWS: Document why text-quoting-style is not a
	customizable variable (Bug#23372).

2016-04-25  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
	Future-proof against non-time-values.

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

	Don't mention ~/.emacs.bmk literally in doc strings

	* lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't
	mention "~/.emacs.bmk" explicitly as the default bookmark file in
	the doc strings.  (Bug#23350)

2016-04-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* etc/NEWS: Explain why multicolor font display is disabled on OS X Cocoa.

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

	Port to Ubuntu 16.04 --enable-gcc-warnings

	* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.

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

	* etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.

2016-04-24  Tino Calancha  <f92capac@gmail.com>

	Don't kill ~/ if it's the top level directory

	* lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
	the top level directory (bug#23017).

2016-04-23  Tino Calancha  <f92capac@gmail.com>  (tiny change)

	describe-char: fix insert char documentation

	* lisp/descr-text.el (describe-char):
	Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).

2016-04-23  Dmitry Gutov  <dgutov@yandex.ru>

	(vc-git-mode-line-string): Don't use `replace-regexp-in-string'

	* lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
	instead of `replace-regexp-in-string', because REV can be nil
	(e.g. when FILE is a directory, bug#23344), and we actually know
	we only need the first 4 characters.

2016-04-22  Nicolas Petton  <nicolas@petton.fr>

	Bump version to 25.0.93

	* README:
	* configure.ac:
	* msdos/sed2v2.inp: Bump Emacs version to 25.0.93.

2016-04-22  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Update the AUTHORS file

	* admin/update_autogen: Use #!/usr/bin/env bash

	* admin/authors.el (authors-ignored-files): Additions.

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

	In x_set_window_size restore do_pending_window_change calls

	* src/xterm.c (x_set_window_size):
	* src/w32term.c (x_set_window_size): Restore
	do_pending_window_change calls after their stupid removal on
	2015-08-31.

2016-04-21  Ilya Zakharevich  <ilya@math.berkeley.edu>

	Fix Alt-modified keys on some European MS-Windows keyboards

	* src/w32fns.c (deliver_wm_chars): If the reported character is
	ASCII, AND Meta modifier is a candidate, behave as if Meta is
	present, i.e. fall back to the legacy code.  (Bug#23251)

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

	Document 'help-go-forward'

	* doc/emacs/help.texi (Help Mode): Document and index
	'help-go-forward'.  (Bug#23323)

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

	Revert "Allow to customize names of executables used by grep.el"

	This reverts commit c93ae7a1e5a94541189a8f36984014344d561ffc.

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

	Revert "Don't use 'find-program'"

	This reverts commit 10597c977d55cbf9304b51c3b364ce58199384a0.

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

	Revert "Use 'grep-find-program' in check-declare.el"

	This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.

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

	Clarify documentation of 'dired-mark-files-containing-regexp'

	* doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
	visited in buffers, 'dired-mark-files-containing-regexp' searches
	the buffer rather than the file on disk.  (Bug#22694)

	* lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
	for files visited in buffers, 'dired-mark-files-containing-regexp'
	searches the buffer rather than the file on disk.  (Bug#22694)

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

	Make tmm-menubar work in correct order again

	* lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
	beginning; instead, pass a reversed copy to 'tmm--completion-table'.
	(Bug#23309)
	(tmm-menubar): Fix an off-by-one error in determining the menu
	item when the function is called with a non-nil 'x-position'
	argument.

2016-04-18  Dmitry Gutov  <dgutov@yandex.ru>

	Remove the Meta-CVS VC backend

	* lisp/obsolete/vc-mcvs.el: Remove the file (bug#20475).

	* lisp/vc/log-view.el (log-view-extract-comment): Remove the MCVS
	reference.

	* doc/misc/efaq-w32.texi (Version control): Same.

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

	Fix Bug#23276

	* lisp/autorevert.el (auto-revert-handler): Ignore errors
	coming from `revert-buffer'.  (Bug#23276)

2016-04-17  Reto Zimmermann  <reto@gnu.org>

	Sync with upstream vhdl mode v3.38.1.

	* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
	(vhdl-mode): No longer set comment-padding.
	(vhdl-begin-p): Handle missing space between keyword and parenthesis.
	(vhdl-beginning-of-statement-1): Fix indentation for "else generate".
	(vhdl-template-else, vhdl-template-elsif): Support generate statement.
	(vhdl-re-search-forward, vhdl-re-search-backward): Save match data.

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

	Tweak configure.ac syntax in recent module patch

	* configure.ac: Use proper Autoconf parenthesization in
	recent HAVE_MODULES patch.  Although this doesn’t fix any bugs,
	the previous syntax was confusing.

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

	Port to GCC 5.3.1 20160406 (Red Hat 5.3.1-6)

	* src/indent.c (Fvertical_motion): Pacify --enable-gcc-warnings
	when using the April 6 Fedora patch to GCC.

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

	Make sh-electric-here-document-mode accessible in sh-mode-hook. (Bug#3226)

	* lisp/progmodes/sh-script.el (sh-mode-hook): Add
	sh-electric-here-document-mode as an option and the default value.
	(sh-mode): Mention sh-mode-hook in docstring.
	(sh-mode): Remove sh-electric-here-document-mode invocation.

2016-04-16  Glenn Morris  <rgm@gnu.org>

	* configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from previous.

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

	Make use of rectangle-preview custom variable.

	lisp/rect.el (rectangle--string-preview): Only create a preview if
	rectangle-preview is non-nil (Bug#23248).

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

	Make use of rectangle-preview face.

	* lisp/rect.el (rectangle--string-preview):
	(rectangle--highlight-for-redisplay): Replace 'region with
	'rectangle-preview (Bug#23248).

2016-04-16  Eli Zaretskii  <eliz@gnu.org>

	Use 'grep-find-program' in check-declare.el

	* lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
	'grep-find-program', not 'find-program'.

2016-04-16  Eli Zaretskii  <eliz@gnu.org>

	Improve "C-h S" for cl-lib symbols

	* lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
	manuals.  (Bug#23289)

2016-04-16  Eli Zaretskii  <eliz@gnu.org>

	Fix minor issues with removing left or right fringes

	* lisp/window.el (window-max-chars-per-line): Account for
	'left-fringe-width' and 'right-fringe-width' variables.

	* doc/lispref/windows.texi (Window Sizes): Document the effect on
	window text width when setting the width of one or both fringes to
	zero.
	* doc/emacs/display.texi (Fringes): Document the effect on window
	text width when setting the width of one or both fringes to zero.
	(Bug#22891)

2016-04-16  Eli Zaretskii  <eliz@gnu.org>

	Speed up redisplay in ansi-term mode

	* lisp/term.el (ansi-term): Force L2R 'bidi-paragraph-direction'.
	(Bug#20611)

2016-04-16  Philipp Stephani  <phst@google.com>

	Simplify 8-bit character handling by terminal for 'raw-text'

	* lisp/international/mule.el (set-keyboard-coding-system): Treat
	'raw-text' as another coding type that requires 8-bit characters.
	* lisp/xt-mouse.el (xterm-mouse--read-coordinate): Use 'no-conversion'
	instead of 'latin-1'.

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

	* configure.ac (HAVE_MODULES): Treat gnu like gnu-linux.  (Bug#22722)

2016-04-15  Eli Zaretskii  <eliz@gnu.org>

	Fix w32 memory-management problem when extending buffer text

	* src/w32heap.c (mmap_realloc): Only attempt extending a region if
	the following region has the same allocation base.  Also, use the
	original allocation base and enlarged size to commit reserved
	memory, to ensure that the allocation base stays at its original
	value.  This fixes several hard-to-debug problems whereby part of
	buffer text was overwritten with binary nulls, because
	mmap_realloc copied only part of buffer text when extending it.
	See
	https://lists.gnu.org/r/emacs-devel/2016-04/msg00325.html
	and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#55 for two
	examples of the related problems.

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

	Fix Bug#20637.  Do not merge to master

	* lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
	Use `vc-backend' instead of `vc-responsible-backend'.  (Bug#20637)

	* test/automated/vc-tests.el (vc-test--state)
	(vc-test--working-revision): Deactivate now failing checks.

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

	substitute-command-keys keeps quotes’ text props

	Problem reported by Clément Pit--Claudel (Bug#23254).
	* src/doc.c: Include intervals.h.
	(Fsubstitute_command_keys): If the only substitutions are for
	quotes, copy the source string’s text properties too, since no
	substring lengths have changed.

2016-04-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes.

2016-04-12  Dmitry Gutov  <dgutov@yandex.ru>

	Add semantic-symref-filepattern-alist entry for lisp-interaction-mode

	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-filepattern-alist):
	Add entry for lisp-interaction-mode
	(https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#47)

2016-04-12  Dmitry Gutov  <dgutov@yandex.ru>

	Perform xref searches without visiting unopened files

	* lisp/progmodes/xref.el (xref-collect-references): Instead of
	calling `semantic-symref-find-references-by-name', use
	`semantic-symref-instantiate' and `semantic-symref-perform-search'
	directly.  Ask for `line-and-text' results (bug#23223).
	(xref-collect-matches): Include the line text in the "hit"
	structure.
	(xref--convert-hits): New function, split off from
	`xref-collect-references' and `xref-collect-matches', to convert
	"hits" to xref instance list.  Create a temporary buffer here, to
	use it for post-processing all hit lines.
	(xref--collect-matches): Use a different approach for non-visited
	files.  Insert the line text into the temp buffer, apply the
	file's major mode the best we can without reading its whole
	contents, syntax-propertize, and search in the result.
	(xref--collect-matches-1): Extract, to handle the common logic
	between two cases.
	(xref--find-buffer-visiting): New function, a wrapper around
	`find-buffer-visiting' to amortize its cost.

	* lisp/cedet/semantic/symref/idutils.el
	(semantic-symref-idutils--line-re): New constant.
	(semantic-symref-parse-tool-output-one-line): Support result type
	`line-and-text'.

	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-grep--line-re)
	(semantic-symref-parse-tool-output-one-line): Same.

	* lisp/cedet/semantic/symref/cscope.el
	(semantic-symref-cscope--line-re)
	(semantic-symref-parse-tool-output-one-line): Same.

	* lisp/cedet/semantic/symref/global.el
	(semantic-symref-global--line-re)
	(semantic-symref-parse-tool-output-one-line): Same.

2016-04-12  Phillip Lord  <phillip.lord@newcastle.ac.uk>

	Revert "Prevent bootstrap autoload backup files"

	This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.

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

	Improve time zone documentation

	* doc/lispref/os.texi (Time Zone Rules):
	New section, mostly with material moved here from other sections.
	* doc/emacs/cmdargs.texi (General Variables):
	* doc/lispref/os.texi (Time Conversion, Time Parsing):
	Xref new section.
	* etc/NEWS, etc/PROBLEMS:
	* lisp/org/org.el (org-timestamp-format):
	* src/editfns.c (Fformat_time_string, Fdecode_time)
	(Fencode_time, Fcurrent_time_string, Fcurrent_time_zone)
	(Fset_time_zone_rule):
	When documenting time zone rule strings, mention the TZ
	environment variable in preference to mentioning the
	sort-of-internal function set-time-zone-rule.

2016-04-12  Phillip Lord  <phillip.lord@russet.org.uk>

	Prevent bootstrap autoload backup files

	 * lisp/emacs-lisp/autoload.el (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-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Disable multicolor fonts on OS X since they are not supported on free systems

	* src/macfont.m (macfont_list): Don't use color bitmap fonts.

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

	Capitalize “Universal Time” in documentation

	It’s a proper noun.
	* lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by
	mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.

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

	Don't use 'find-program'

	* lisp/progmodes/project.el (project-file-completion-table): Use
	'grep-find-program', rather than the obsolete 'find-program'.

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

	Sync with gnulib

	This is for picky compilers whose stdint.h fails our C11 tests.
	Problem reported for clang by Philipp Stephani (Bug#23261).
	This incorporates:
	2016-04-11 stdint: port to strict C11 left shift
	* doc/misc/texinfo.tex, lib/stdint.in.h: Copy from gnulib.

2016-04-11  Leo Liu  <sdl.web@gmail.com>

	Fix last change on 2016-01-02

	* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move
	  `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend'
	  which highlights `cl-errs-re' even in comments or strings.

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

	Port run-prolog EMACS to SWI-Prolog 7.2.3

	* lisp/progmodes/prolog.el (prolog-ensure-process):
	Work around incompatibility of SWI-Prolog 7.2.3 and earlier
	with the new way of dealing with the EMACS and INSIDE_EMACS
	environment variables.

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

	Avoid crashes due to unreasonably large or small text scaling

	* lisp/face-remap.el (text-scale-min-amount)
	(text-scale-max-amount): New functions.
	(text-scale-set, text-scale-increase): Use them to limit the text
	scaling to a reasonable range of values.  (Bug#23259)

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

	Improve documentation of 'with-eval-after-load'

	* lisp/subr.el (with-eval-after-load): Doc fix.  (Bug#23258)

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

	Improve handling of non-ASCII characters in Git log messages

	* lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom.
	(vc-git-log-output-coding-system): New defcustom.
	(vc-git-print-log, vc-git-command, vc-git--call): Use
	'vc-git-log-output-coding-system' for reading stuff from Git.
	Don't override values of 'coding-system-for-read/write' if they
	are bound by caller -- this allows the user to force an encoding
	via "C-x RET c".
	(vc-git-checkin): On MS-Windows, pass the log message via a
	temporary file, to work around the limitations on passing
	non-ASCII characters via command-line arguments.  Force using the
	'locale-coding-system' for Git command-line arguments.  This fixes
	problems with non-ASCII commit log messages on MS-Windows.
	(Bug#23076)

	* etc/NEWS: Mention the new vc-git related defcustoms.

2016-04-09  Philipp Stephani  <phst@google.com>

	Remove undefined behavior in OS X dumper.

	Found by Address Sanitizer.

	* src/unexmacosx.c (unexec_write): Use Mach virtual memory API to
	avoid undefined behavior when reading arbitrary memory.

2016-04-09  Joakim Verona  <joakim@verona.se>

	Fix clipping of xwidgets

	* src/xwidget.c (x_draw_xwidget_glyph_string): Use window_box
	instead of calculating the clipping borders manually.  Suggested
	by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.

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

	Improve Lisp-level documentation of tooltips

	* doc/lispref/display.texi (Tooltips): New section.  (Bug#23246)
	(Display): Update the chapter menu.
	* doc/lispref/text.texi (Special Properties): Make the "tooltip"
	index entry more concrete.  Change the cross-reference to point to
	"Tooltips" in the ELisp manual.
	* doc/lispref/elisp.texi (Top): Update the master menu.
	* doc/emacs/frames.texi (Tooltips): Include more customization
	variables.  Add a cross-reference to the ELisp manual.

2016-04-08  Glenn Morris  <rgm@gnu.org>

	Faces names should not end in "-face".

	* lisp/rect.el (rectangle-preview): Rename from rectangle-preview-face.
	* lisp/vc/vc-hooks.el (vc-state-base): Rename from vc-state-base-face.

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

	* src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.

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

	Comint and compile no longer set EMACS

	This mostly restores the change that I reverted on March 23,
	fixing most of Bug#20202.  The only part of the change that is
	still reverted is the change to M-x term, where compatibility with
	current Bash constrains us from moving too quickly (Bug#20484).
	Problem reported by Phillip Lord in: https://bugs.gnu.org/20484#108
	* etc/NEWS: Document this.
	* lisp/comint.el (comint-exec-1):
	* lisp/net/tramp-sh.el (tramp-remote-process-environment):
	* lisp/progmodes/compile.el (compilation-start):
	Don’t set EMACS=t in the subsidiary process.

2016-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)

2016-04-08  Eli Zaretskii  <eliz@gnu.org>

	Allow to customize names of executables used by grep.el

	* lisp/progmodes/grep.el (grep-find-program): Renamed from
	'find-program', which was a variable.  All uses changed.
	(grep-xargs-program): Renamed from 'xargs-program', which was a
	variable.  All uses changed.
	(grep-program): Now a defcustom rather than a simple variable.
	(Bug#23219)

2016-04-08  Alan Third  <alan@idiocy.org>

	Set locale encoding to UTF-8 when run from OS X GUI.

	* src/nsterm.m (ns_init_locale): Append .UTF-8 when setting LANG.

2016-04-08  Eli Zaretskii  <eliz@gnu.org>

	Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt

	* lisp/ffap.el (ffap-guess-file-name-at-point): Ignore errors
	while 'ffap-guesser' runs.  (Bug#23218)

2016-04-08  Marcin Borkowski  <mbork@mbork.pl>

	Avoid infinite loop in 'studlify-word'

	* lisp/play/studly.el (studlify-region): Call
	'forward-word-strictly' and 'backward-word-strictly' instead of
	'forward-word' and 'backward-word'.  (Bug#19940)

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

	Don’t recommend obsolete EMACS env var

	* doc/misc/efaq.texi (Escape sequences in shell output):
	Remove long-obsolete (and now-confusing) notes about
	the EMACS environment variable in Emacs 21.1 and earlier.
	* doc/misc/efaq.texi (^M in the shell buffer):
	* etc/PROBLEMS:
	Remove obsolescent recommendation to consult the EMACS environment
	variable.

2016-04-07  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/package.el: Change from a few days ago needs seq.

	* lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.

2016-04-07  Leo Liu  <sdl.web@gmail.com>

	Fix "Beginning of buffer" error in forward-page

	* lisp/textmodes/page.el (forward-page): Check before move to prevent
	  "Beginning of buffer" error.

2016-04-06  Dmitry Gutov  <dgutov@yandex.ru>

	Add a `transient' project type

	* lisp/progmodes/project.el (project-roots): Implement for the
	`transient' project type (bug#23224).
	(project-current): Instead of signaling an error, return a
	transient project instance rooted in the chosen directory.

2016-04-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Revert "Backport HTTPS proxy fix"

	This reverts commit 2d1a6054b161bd1055d4feb11c8c5ac95543f5db.

	It's too late in the Emacs 25 release cycle to add things like this to
	Emacs 25.1.  It's border line new feature.

2016-04-06  Tao Fang  <fangtao0901@gmail.com>

	Backport HTTPS proxy fix

	Cherry-picked from 3c623c26ae7d695746e05d8a2e16a67a6256b024

	Backport:

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

	Fix stability confusion in sort-tests

	Problem reported by Philipp Stephani (Bug#23205).
	* test/automated/sort-tests.el:
	(sort-tests--insert-words-sort-and-compare):
	Don’t assume that reversing a sorted list is the same
	as sorting with the reverse predicate.  This is not true
	for stable sorts when items compare equal.

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

	Avoid describe-key error with lambdas

	Problem reported by Sho Takemori (Bug#22716).
	* lisp/cedet/mode-local.el (describe-mode-local-overload)
	(xref-mode-local-overload): Use function-overload-p instead
	of assuming the argument is a symbol.

2016-04-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-install-selected-packages):

	Skip unavailable packages.

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

	Sync with gnulib

	This incorporates:
	2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode
	2016-04-01 stddef: support configuring with g++
	* doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4:
	Copy from gnulib.

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

	Fix doc for Universal Time

	* doc/lispref/os.texi (Time of Day, Time Conversion):
	Be more careful about distinguishing UTC (which is not valid for
	pre-1961 time stamps) and UT (which is).
	(Time Parsing): Remove stray obsolete paragraph about a
	UNIVERSAL argument for ‘format-time-string’.

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

	Handle 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  Paul Eggert  <eggert@cs.ucla.edu>

	More format-time-string change fixups

	* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
	* lisp/org/org.el (org-timestamp-format):
	Fix doc to match new format-time-string behavior.
	* lisp/org/ox-icalendar.el (org-icalendar-convert-timestamp):
	Use (not (not X)) to treat non-nil values of utc arg as UTC.

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

	make-xwidget unused arg cleanup

	* doc/lispref/display.texi (Xwidgets): Remove stray refs.
	* src/xwidget.c (syms_of_xwidget): Qwebkit, not Qwebkit_osr.

2016-04-02  Joakim Verona  <joakim@verona.se>

	Remove unused arguments from make-xwidget

	The arguments BEG and END were unused, and are now removed.

	* doc/emacs/display.texi (Xwidgets): Document the change
	* lisp/xwidget.el (make-xwidget, xwidget-insert)
	(xwidget-webkit-new-session): Reflect changed arguments
	* src/xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments

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

	Document incompatible changes in 'format-time-string'

	* etc/NEWS: Mention the incompatible change in the interpretation
	of the 3rd argument to 'format-time-string'.  (Bug#21943)

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

	Improve documentation of byte-code objects

	* doc/lispref/compile.texi (Byte-Code Objects): Document the
	integer format of the argument descriptor.  (Bug#23061)

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

	Adapt calls to 'format-time-string' to changes in Emacs 25

	* lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries): Use t as the
	last argument to format-time-string.  (Bug#23128)
	* lisp/gnus/gmm-utils.el (gmm-format-time-string): Use t as the
	last argument to format-time-string, when the TZ argument is not a
	number, per the doc string.

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

	Improve vc-diff with Git backend

	* lisp/vc/vc-git.el (vc-git-command): Don't override
	coding-system-for-read/write if they are already bound.
	Suggested by joaotavora@gmail.com (João Távora).  (Bug#20892)
	(vc-git-print-log): Don't override coding-system-for-read if it's
	already bound.

2016-04-01  Dmitry Gutov  <dgutov@yandex.ru>

	(js--continued-expression-p): Special-case unary plus and minus

	* lisp/progmodes/js.el (js--continued-expression-p): Make an
	effort to recognize unary plus and minus, in the contexts where
	they make sense (https://github.com/mooz/js2-mode/issues/322).

2016-04-01  Alan Mackenzie  <acm@muc.de>

	Prevent C++ Mode wrongly fontifying some identifiers near templates as types

	This fixes debbugs #7917.

	* lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): Accept 'maybe
	(from c-forward-type) as sufficient to record an id.  Record type id as well
	as ref ids.
	(c-forward-name): Bind c-last-identifier-range around the call to
	c-forward-<>-arglist to prevent it getting corrupted.  Don't automatically
	assume an identifier is a type when a template ">" is followed by a "(".
	(c-forward-type): Don't automatically assume an identifier is a type when a
	template ">" is followed by a "(".

	* lisp/progmodes/cc-fonts.el (c-font-lock-<>-arglists): Don't fontify an
	identifier as a type when its associated ">" is followed by a "(".

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

	Avoid crashes due to insanely large columns in tabulated-list-format

	* src/xdisp.c (append_stretch_glyph, produce_xwidget_glyph)
	(produce_image_glyph): Limit the pixel width of the produced glyph
	to SHRT_MAX.  (Bug#23178)
	(append_composite_glyph, append_glyph, append_glyphless_glyph):
	Add assertions to verify that the pixel width of the glyph will
	never overflow a 'short'.
	* src/term.c (append_composite_glyph): Add assertion to verify
	that the pixel width of the glyph will never overflow a 'short'.

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

	Teach M-x disassemble a default argument.

	Adopts default argument in the same way as `describe-function'.
	* lisp/emacs-lisp/disass.el (disassemble): Default to function at point,
	if any.

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

	Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows

	* lisp/vc/vc-annotate.el (vc-annotate): Force DOS EOL decoding on
	MS-Windows and MS-DOS, when processing the output of "svn annotate".

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

	Fix OS X specific settings in tramp-tests

	* 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-darwin-p): Remove.
	(tramp--test-utf8): Improve settings of coding systems.
	Do not use `tramp--test-darwin-p' anymore.  (Bug#22145)

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

	Finish fixing a caching bug in CC Mode (see 2016-03-09)

	* lisp/progmodes/cc-cmds.el: (c-beginning-of-defun, c-end-of-defun): Remove
	superfluous invocations of c-self-bind-state-cache.

	* lisp/progmodes/cc-defs.el: (c-self-bind-state-cache): Copy and terminate
	markers correctly.

	* lisp/progmodes/cc-engine.el (c-record-parse-state-state): Terminate stale
	markers.

2016-03-29  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/lispref/text.texi (Columns): Remove a nonexistent reference.

	The example was removed by Chong Yidong on Mar 5, 2012.

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

	* doc/man/emacsclient.1: Document +line:column option.

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

	Fix rare problems with echo-area display and multiple frames

	* src/xdisp.c (redisplay_window): Bind inhibit-redisplay non-nil
	around the call to x_consider_frame_title, to prevent
	resize_mini_window from undoing echo-area display.  (Bug#23124)

2016-03-29  Alan Mackenzie  <acm@muc.de>

	In M-%, avoid making buffer-local binding of text-property-default-nonsticky

	This would happen when that variable already has a buffer local binding.  Such
	a binding would not be seen by read-from-minibuffer.  This fixes bug #23127.

	* lisp/replace.el (query-replace-read-from): Move the binding of
	text-property-default-nonsticky to inside of a new with-current-buffer buffer
	form with the minibuffer as argument.

2016-03-27  Dmitry Gutov  <dgutov@yandex.ru>

	Remove prog-indentation-context

	* lisp/progmodes/prog-mode.el: (prog-indentation-context)
	(prog-first-column, prog-widen): Remove, as discussed in
	https://lists.gnu.org/r/emacs-devel/2016-03/msg01425.html.

	* doc/lispref/text.texi (Mode-Specific Indent): Remove references
	to them.

	* etc/NEWS: Ditto.

	* lisp/progmodes/python.el: (prog-widen, prog-first-column):
	Remove the compatibility aliases and all uses.

	Do not merge to master.

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

	* src/font.c (QCuser_spec): Add missing colon to :user-spec.

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

	Don't start the 'midnight' timer twice

	* lisp/midnight.el (midnight-mode): Avoid starting the midnight
	timer twice when activating the mode the first time.  (Bug#23123)

2016-03-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.

2016-03-26  Stephen Berman  <stephen.berman@gmx.net>

	Fix todo-mode category movement

	* lisp/calendar/todo-mode.el (todo-move-category): Use moved
	category's existing categories sexp instead of invoking
	todo-update-categories-sexp in file moved to, in order to take
	archived items into account.  If the moved category has archived
	items, handle the source archive buffer properly.  Remove
	superfluous code.

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

	* lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version.

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

	Ignore non-nil. non-cons values of unread-command-events

	* src/keyboard.c (requeued_events_pending_p, read_char)
	(Finput_pending_p): Use CONSP instead of !NILP to see if there are
	unread command events to be processed.  (Bug#22976)

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

	Improve documentatuon of 'truncate-partial-width-windows'

	* src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
	Clarify in the doc string how the width of partial-width windows
	is computed for the purposes of truncation decision.  (Bug#4338)

	* doc/emacs/windows.texi (Split Window): Clarify how the width of
	windows is calculated for the purposes of truncation decision.
	* doc/emacs/display.texi (Line Truncation): Remove a redundant
	index entry.

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

	* src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU style.

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

	Fix 'dired-goto-file' in Dired buffers produced by find-dired

	* lisp/dired.el (dired-goto-file): Try looking for the file as a
	relative name with leading sub-directories, before looking for the
	basename alone.  (Bug#23089)

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

	Fix map-put and map-delete for alists (Bug#23105)

	* lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
	expression to a new symbol.
	* test/automated/map-tests.el: Add a regression test.

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

	Minor copyedits of documentation for temporary displays

	* doc/emacs/windows.texi (Temporary Displays): Improve indexing.
	Minor changes in wording.
	(Window Choice, Displaying Buffers, Pop Up Window): Disambiguate
	index entries for 'display-buffer'.

	* etc/NEWS: Minor rewording of the entry about temporary displays.

2016-03-25  Philipp Stephani  <phst@google.com>

	Add customization option for using UTF-8 coordinates in xt-mouse

	* lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option.
	(xterm-mouse--read-coordinate): New function to replace
	`xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled.
	(xterm-mouse--read-number-from-terminal): Adapt to new name.
	(xterm-mouse-tracking-enable-sequence)
	(xterm-mouse-tracking-disable-sequence): Replace constants with
	functions, mark constants as obsolete.
	(xterm-mouse--tracking-sequence): New helper function.
	(turn-on-xterm-mouse-tracking-on-terminal): Use new functions;
	enable UTF-8 only if customization option says so; store UTF-8
	flag in terminal parameter.  (Bug#23009)

	* test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.

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

	Minor doc string fixes in replace.el

	* lisp/replace.el (query-replace, query-replace-regexp)
	(query-replace-regexp-eval, map-query-replace-regexp)
	(replace-string, replace-regexp): Clarify in doc strings that
	these commands operate from point to the end of the buffer's
	accessible portion.  (Bug#23067)

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

	Fix scrolling upwards with 'xwidget-webkit-browse-url'

	* src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead
	of CHECK_NATNUM.  Suggested by Shayan Pirani <shayanpirani@gmail.com>.
	(Bug#22918)

2016-03-25  K. Handa  <handa@gnu.org>

	Fix display of Indic scripts

	* src/ftfont.c (ftfont_shape_by_flt): For combining characters out
	of the range U+300...U+36F, use the "combining" FLT only with
	non-OTF fonts.

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

	Fix splash screen display at startup

	* src/frame.c (DEFAULT_ROWS): Enlarge to 36, so that the initial
	window displayed by "emacs -q" has enough space to show the whole
	text even if it includes 2 lines talking about recovering crashes
	sessions.  (Bug#23074)

	* lisp/startup.el (use-fancy-splash-screens-p): Fix off-by-one
	error when computing the window-height from frame-height.

	* etc/NEWS: Mention the change.

2016-03-25  Martin Rudalics  <rudalics@gmx.at>

	Describe temporary displays in Emacs manual

	* doc/emacs/emacs.texi (Temporary Displays): New subsubsection.
	* doc/emacs/windows.texi (Window Choice): Minor fixes.
	(Temporary Displays): New subsubsection describing display of
	temporary buffers and `temp-buffer-resize-mode'.

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

	Avoid stray As next to IDLW icons

	* lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere):
	Use "" for empty labels, not "a", as the latter now displays stray
	"A"s (Bug#18997).

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

	Avoid GTK 3 crash with icons and masks

	Problem reported by Mosè Giordano (Bug#18997).
	* src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove.
	(xg_get_pixbuf_from_pix_and_mask): Do not use
	xg_get_pixbuf_from_pixmap, as it is poorly documented.  Instead,
	invoke XGetPixel directly.  This is slow but speed is not
	important here.  Also, fail for unusual situations (not TrueColor,
	or images that are not 8 bits per sample) instead of displaying
	junk or crashing.

2016-03-24  Juri Linkov  <juri@linkov.net>

	* lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer

	instead of shrink-window-if-larger-than-buffer.  (Bug#23092)

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

	Define make_save_ptr_ptr unconditionally

	* src/alloc.c (make_save_ptr_ptr): Remove the !(defined
	USE_X_TOOLKIT || defined USE_GTK) conditional.  Reported by
	Philipp Stephani <phst@google.com>.  (Bug#23101)

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

	Preserve current buffer when popping up TTY menus

	* src/term.c (tty_menu_show): Be sure to save and restore the
	current buffer around TTY menu pop-ups.  (Bug#23101)

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

	Improve font selection by family on MS-Windows

	* src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
	in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
	This avoids rejecting many font families whose members are shown
	by 'font-family-list', in particular 'courier' requested by
	info.el.  Without this change, many values of ':family' attribute
	of a face have no effect on MS-Windows, because they are rejected
	due to bogus mismatch of the charset.

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

	Comint, term, and compile now set EMACS

	This fixes directory tracking in ansi-term, at the expense of
	breaking some usages of 'configure'.  Setting EMACS is meant to be
	a somewhat temporary measure, until Bash 4.4 comes out and is
	common.  (Bug#20484).
	* etc/NEWS: Document this.
	* lisp/comint.el (comint-exec-1):
	* lisp/net/tramp-sh.el (tramp-remote-process-environment):
	* lisp/progmodes/compile.el (compilation-start):
	* lisp/term.el (term-exec-1):
	Go back to setting the EMACS environment variable, for backward
	compatibility to Bash 4.3 and earlier.

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

	Ignore more merges when generating ChangeLog

	* build-aux/gitlog-to-emacslog: Ignore all merges from gnu.org,
	not merely those from master and emacs-NN.  The ChangeLog entries
	they generate are not that useful.

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

	Sync with gnulib

	This incorporates:
	2016-03-22 gitlog-to-changelog: suppress ignored chatter
	2016-03-21 sys_select: port to new Cygwin
	* build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
	* lib/sys_select.in.h: Copy from gnulib.

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

	Resurrect GNUS-NEWS autogeneration

	* doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
	GNUS-NEWS section to match current file locations and procedure.
	* etc/GNUS-NEWS: Regenerate by using new procedure.
	* lisp/Makefile.in (update-gnus-news): New rule, containing a
	procedure for building GNUS-NEWS.  The old procedure got lost
	somehow when Gnus was merged into Emacs.

2016-03-22  Anders Lindgren  <andlind@gmail.com>

	Make `toggle-frame-maximized' respect the dock on OS X (bug#22988).

	* src/nsterm.m (ns_screen_margins): New function.
	(ns_screen_margins_ignoring_hidden_dock): New function.
	(ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
	([EmacsWindow zoom:]): Take all screen margins (except those
	originating from a hidden dock) into account.

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

	Fix bug in displaying header line with a box face

	* src/xdisp.c (get_next_display_element): Handle the case when a
	display string acquires the box face from an underlying string,
	not from the buffer.  (Bug#23091)

2016-03-21  Kaushal Modi  <kaushal.modi@gmail.com>

	Fix an Isearch var to be a string (Bug#23038)

	* lisp/isearch.el (isearch--describe-regexp-mode): The `description' var
	  needs to always be a string.  Add the missing default case for the
	  cond form that ensures that.

	Before this bug fix, for the events when `regexp-function' and
	`search-default-mode' both were nil, `description' also stayed nil.  So
	when `space-before' was non-nil, the "non-string" `description'
	(with a value of nil) got passed as an argument to
	`replace-regexp-in-string' (where a string was expected).  That caused
	the error described in Bug#23038.

2016-03-21  Leo Liu  <sdl.web@gmail.com>

	Fix (args-out-of-range 1) error in cursor-sensor--detect

	* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
	  hard-code (point-min) as 1 which fails in narrowed buffers.

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).
	(cherry picked from commit 4f6ea3988b66cf132c67fd0cc26d12eb9a300ba1)

	Backport:

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).
	(cherry picked from commit f2da80d0e1ccd121c4891e869a45aeb9c6b1795d)

	Backport:

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.
	(cherry picked from commit 292921facaff2f02ac4e8602c1f7ecbdcfe7ef45)

	Backport:

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

	Avoid errors in 'newline'

	* lisp/simple.el (newline): Don't barf if invoked with
	non-positive argument in the middle of a line.  (Bug#22490)

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

	Fix Bug#23032

	* doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
	remote file names.  (Bug#23032)

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

	Adjudicate review comments in abbrevs.texi

	* doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
	* doc/emacs/abbrevs.texi (Dabbrev Customization): State the
	default values of variables.  Suggested by Steve Byrne
	<sbb@penguinis.org>.  (Bug#23016)

	* admin/release-process (Check manuals): Mark files reviewed by
	Steve Byrne.

2016-03-18  Dmitry Gutov  <dgutov@yandex.ru>

	Fixup the "normal" matcher; highlight global var symbols, too

	* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
	operator name symbols with the "normal" matcher (it actually
	needed updating).  Highlight global variable symbols, too.

2016-03-18  Marcin Borkowski  <mbork@mbork.pl>

	Honor prefix arg in doc-view-next-line-or-next-page

	* lisp/doc-view.el (doc-view-next-line-or-next-page): Take the
	prefix argument into consideration when continuous scrolling is
	not in effect (i.e., by default) (bug#19559).

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

	Port to strict C99 offsetof

	* src/bidi.c (bidi_copy_it):
	* src/lisp.h (CHAR_TABLE_EXTRA_SLOTS):
	Use only a single identifier as the second argument of offsetof.
	Found by using clang -pedantic.

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

	Port to GTK with strict C11 compiler

	* src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
	Cast from function type to void * where the C standard requires this.
	This works around a problem in the prototypes for
	g_signal_handler_find and g_signal_handlers_block_by_func, which
	use gpointer instead of GCallback.  Found by using gcc -pedantic.

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

	Port to GTK with strict C99 compiler

	* src/emacsgtkfixed.c: Use workaround for GNOME bug 683906 only
	in glib 2.35.6 and earlier, since the bug is fixed in 2.35.7.
	* src/emacsgtkfixed.c (EmacsFixedPrivate):
	* src/emacsgtkfixed.h (EmacsFixedClass):
	Remove duplicate typedef, which strict C99 does not allow (Bug#23003).

2016-03-17  Anders Lindgren  <andlind@gmail.com>

	Avoid screen artifacts with new OS X visible bell after scrolling

	* src/nsterm.m (EmacsBell): Save NSView when displaying the
	visible bell and set `needsDisplay' when removed.
	(hide_bell): Trace.
	(ns_copy_bits): Trace.

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

	Suppress some Tramp tests for OSX, do not merge with master

	* test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
	(tramp--test-utf8): Use it.  (Bug#22145)

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

	* lisp/progmodes/xref.el (xref-buffer-name, xref--window):
	Move definitions before use.

	* lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.

	* lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.

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

	Address compilation warnings due to 2016-01-03 mml refactoring.

	* lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
	(message-options-get): Autoload.
	(message-options-set): Declare.
	(mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
	Simplify default value.
	* lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
	* lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
	No longer a need for password-cache.

2016-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings

	(bug#22960).

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

	* lisp/dired-x.el (dired-omit-here-always): Correct error message
	for 2016-01-25 change.

	* lisp/dired-x.el (dired-omit-here-always): Replace undefined function
	removed 2016-01-30.

	* lisp/xml.el (xml-parse-tag-1): Replace undefined function.

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

	Avoid segfaults due to frame image cache being absent

	* src/image.c (cache_image): If the frame doesn't have an image
	cache, create it.  (Bug#23028)

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

	Improve documentation of glyphless-character display

	* doc/emacs/display.texi (Text Display): Document and index the
	'glyphless-char' face.

2016-03-16  Dmitry Gutov  <dgutov@yandex.ru>

	Support safe navigation operator in non-SMIE indentation code

	* lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
	Support safe navigation operator in non-SMIE indentation code.
	Cherry-picked from
	https://github.com/ruby/ruby/commit/68e16ddd7961b86e5013e62ae2954e88638de058.

2016-03-16  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Move xsd:base64Binary decoding fix to debbugs.el 0.9.1

	* 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.

2016-03-15  Dmitry Gutov  <dgutov@yandex.ru>

	Fix Ruby's operator precedence

	* lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
	Rearrange the smie-precs->prec2 form.

2016-03-15  Dmitry Gutov  <dgutov@yandex.ru>

	(ruby-interpolation-inside-another-interpolation): New failing test

	* test/automated/ruby-mode-tests.el
	(ruby-interpolation-inside-another-interpolation):
	New failing test.

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

	Port to clang 3.7.0 on x86-64

	* configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
	not done conditionally.  This helps clang, which needs
	-Wunknown-warning-option later when configured with warnings.
	* src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
	smart enough to figure this out on its own if warnings are enabled.
	(lisp_time_struct): Redo for clarity, and to pacify clang.
	* src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
	uninitialized locals.  This avoids undefined behavior and pacifies
	clang.

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

	* test/automated/package-test.el (package-test-signed): Tweak skip
	condition, for hydra.

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

	Sync with gnulib

	This incorporates:
	2016-03-15 time_rz: port to clang -Wunused-const-variable
	2016-03-15 select: port more to Intel 2016.1.150 compiler
	* lib/sys_select.in.h, lib/time_rz.c: Copy from gnulib.

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

	Fix startup of "emacs -nw" on systems that CANNOT_DUMP

	* src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to
	nil.

	* lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after
	loading window.el.  (Bug#22975)

2016-03-14  Dmitry Gutov  <dgutov@yandex.ru>

	Do not tokenize a comment before continuation as ';'

	* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
	Account for a comment right after point.

2016-03-14  Dmitry Gutov  <dgutov@yandex.ru>

	Don't misindent arguments of a method call inside continuation

	* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
	Use smie-indent-virtual instead of smie-rule-parent (bug#23015).
	Simplify the traversal loop.

2016-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_echo_area

	(read_key_sequence): Test it here, as before.
	(bug#22825).

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

	ASCII-only etc/NEWS etc.

	* etc/NEWS, nextstep/README: Revert the recently-added curved
	quotes, and stick to ASCII.  This typically involves replacing
	curved with straight quotes.  Since etc/NEWS is viewed so often by
	UTF-8-ignorant tools, rewrite its non-ASCII text to spell out
	Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.

2016-03-14  Alan Mackenzie  <acm@muc.de>

	Fix a caching bug, which led to inordinately slow c-beginning-of-defun.

	* lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.

	* lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
	rather than just using the cache variable c-state-cache.
	(c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
	to c-parse-state from other uses of the parse state cache.

	* lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
	c-self-bind-state-cache around the processing, replacing flawed bindings of
	c-state-cache.

2016-03-14  Alan Mackenzie  <acm@muc.de>

	Fix a caching bug, which led to inordinately slow c-beginning-of-defun.

	* lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.

	* lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
	rather than just using the cache variable c-state-cache.
	(c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
	to c-parse-state from other uses of the parse state cache.

	* lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
	c-self-bind-state-cache around the processing, replacing flawed bindings of
	c-state-cache.

2016-03-14  Kaushal Modi  <kaushal.modi@gmail.com>

	Fix Isearch prompt when invoked with an argument

	* lisp/isearch.el (isearch--describe-regexp-mode): With
	`search-default-mode' set to nil, if user does C-u C-s, the minibuffer
	now displays "Regexp I-search: " again.  But if the user has set
	`search-default-mode' to t, and then does C-s, the minibuffer now
	displays "I-search: " because the default search mode is now regexp
	mode.  Comments have been added to explain the priority of conditions
	in the `cond' form.  (Bug#22991)

2016-03-14  Cesar Quiroz  <cesar.quiroz@gmail.com>  (tiny change)

	Fix a typo in the Emacs manual

	* doc/emacs/maintaining.texi (VC Directory Commands): Fix a typo
	in a command name.

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

	Curved quotes in etc/NEWS etc.

	* etc/NEWS, nextstep/README: Prefer curved quotes in the
	recently-changed text documentation.  See:
	https://lists.gnu.org/r/emacs-devel/2016-03/msg00860.html

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

	Fix some single quotes in documentation

	* doc/emacs/anti.texi (Antinews): Avoid confusion in info and PDF
	when documenting quoting styles.
	* etc/NEWS, nextstep/README: In these plain text files, quote
	'like this' consistently, rather than also (sometimes) ‘like this’
	or (more often) `like this'.

2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>

	Make lisp-completion-at-point's argument optional

	* lisp/progmodes/elisp-mode.el (lisp-completion-at-point): Make
	the argument optional, like it was before the rename.

2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>

	Tweak the left precedence of '=>'

	* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Tweak the left
	precedence of '=>', to improve indentation and sexp navigation.

2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>

	Indent '.' relative to the first sibling expression

	* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
	Indent '.' relative to the first sibling expression, instead of the
	parent token (bug#17213).

2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>

	Make '.' associative, for easier sexp navigation

	* lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
	Make '.' associative, for easier sexp navigation.

2016-03-13  Phillip Lord  <phillip.lord@russet.org.uk>

	Revert "Simplify "Visit New File" to "New File""

	This reverts commit d457fd9dc782465e1547f74021390c9d5951d6af.

2016-03-12  Phillip Lord  <phillip.lord@russet.org.uk>

	Simplify "Visit New File" to "New File"

	* doc/emacs/files.texi, lisp/menu-bar.el (menu-bar-file-menu),
	  lisp/startup.el(normal-mouse-start-screen,
	  normal-no-mouse-startup-screen): Change label "Visit New File" to "New
	  File".

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

	Update Unicode notes for importing a new Unicode version

	* admin/notes/unicode: Mention the need to update otf-script-alist
	in fontset.el when importing data files from a new Unicode
	version.

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

	Import new data files from Unicode 9.0.0beta

	* admin/unidata/UnicodeData.txt:
	* admin/unidata/Blocks.txt:
	* admin/unidata/BidiMirroring.txt:
	* admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta.
	* admin/unidata/unidata-gen.el (unidata-gen-files): Bind
	'coding-system-for-read' to 'utf-8, as various Unicode data files
	now actually use non-ASCII characters.
	(unidata-setup-list, unidata-get-name): Support the new Tangut
	Ideographs block.

	* lisp/international/characters.el (standard-case-table): Add new
	characters from Unicode 9.0.0.
	(standard-category-table): Add Arabic block u+08A0..u+08FF.  Add
	Cyrillic Extended-C block.
	(char-width-table): Update ranges per Unicode 9.0.0.
	* lisp/international/fontset.el (script-representative-chars): Add
	new scripts defined by Unicode 9.0.0.
	(otf-script-alist): Add new OTF script tags.
	* lisp/international/mule-cmds.el (ucs-names): Update ranges per
	Unicode 9.0.0 additions.

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

	Avoid errors in forms-mode when default major mode is text

	* lisp/forms.el (forms-mode): Bind
	change-major-mode-with-file-name to nil when calling
	set-visited-file-name.  (Bug#22982)

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

	Avoid crashes at startup on systems that CANNOT_DUMP

	* src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
	boolean variable.
	(init_iterator, reseat_to_string)
	(Fcurrent_bidi_paragraph_direction)
	(Fbidi_find_overridden_directionality): Use
	redisplay--inhibit-bidi instead of purify-flag, to determine when
	it's safe to reorder bidirectional text.

	* lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
	beginning of the file.  Reset to nil when charprop.el is
	successfully loaded, or when we are going to dump, whichever
	happens last.  (Bug#22975)

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

	Fix documentation of seq.el functions

	* doc/lispref/sequences.texi (Sequence Functions): Fix typos.  Add
	cross-references.  Fix formatting.  (Bug#22992)

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

	Support Ruby 2.3.0's safe navigation operator

	* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
	(ruby-smie--backward-token): Tokenize '&.' as '.'.
	(ruby-smie--implicit-semi-p): Check for possible '&' before '.'.

	* test/indent/ruby.rb: Add an example using safe navigation
	operator.  Fix a syntax error in existing example.

2016-03-11  John Wiegley  <johnw@newartisans.com>

	Update Emacs manual section related to character folding

	* doc/emacs/search.texi: Character folding is not on by default.

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

	Update admin/notes/unicode

	* admin/notes/unicode: Update the list of files from the UCD we
	are using.  Mention the possible need to change 'ucs-names' when
	importing a new version of the Unicode Standard.

2016-03-10  Dmitry Gutov  <dgutov@yandex.ru>

	Add symref-filepattern entries for c?perl-mode

	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-filepattern-alist): Add entries for perl-mode and
	cperl-mode.

2016-03-10  Ken Raeburn  <raeburn@raeburn.org>

	Don't use XRANDR 1.3 extensions if the server doesn't support them.

	* src/xterm.h (struct x_display_info): Add fields to save XRANDR
	version number.
	* src/xfns.c (x_get_monitor_attributes): Save the version numbers
	after querying the X server.
	(x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
	XRRGetScreenResourcesCurrent if the server doesn't support at least
	RANDR version 1.3.  Conditionalize the code blocks on compiling
	against library version 1.3 or better, rather than feature tests for
	each function.
	* configure.ac: Stop testing for those two functions.

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

	Sync with gnulib

	This incorporates:
	2016-03-08 intprops: make .h file license match module
	2016-03-08 acl: fix missing return on Cygwin
	2016-03-05 extern-inline: port to PGI CC
	* doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
	* m4/extern-inline.m4:
	Copy from gnulib.

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

	Rework C source files to avoid ^(

	Work around Bug#22884 by rewording comments and strings to avoid ‘(’
	at the start of a line unless it starts a function.  This change
	is a short-term hack; in the longer run we plan to fix cc-mode’s
	performance for C files that have ‘(’ at the start of a line in a
	comment or string.

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

	By default, etags produces unqualified Perl tag names

	* lib-src/etags.c (Perl_functions): Produce unqualified names,
	unless -Q was specified.
	(print_help): Update the description of -Q.

	* doc/man/etags.1: Update the documentation of -Q.

	* 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/CTAGS.good: Adapt the expected test results to the
	changed Perl functionality.

2016-03-10  Dmitry Gutov  <dgutov@yandex.ru>

	Indent methods with keyword names correctly

	* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
	Rename to ruby-smie--before-method-name.  Now also check if we're
	after a 'def' keyword.  Update both callers.

2016-03-10  Dmitry Gutov  <dgutov@yandex.ru>

	Propertize character literals and special global variables differently

	* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
	character literals and global variables with special names with
	prefix and symbol syntax classes, for SMIE to tokenize them
	together automatically.
	(ruby-font-lock-keywords): Fix an old regression in highlighting
	character literals.

2016-03-09  John Wiegley  <johnw@newartisans.com>

	Change how /etc/NEWS presents character folding

	* NEWS: Note that character folding is no longer the default.

2016-03-09  John Wiegley  <johnw@newartisans.com>

	Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""

	This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.

2016-03-09  Andreas Schwab  <schwab@linux-m68k.org>

	Properly handle lambda as read function (bug 22961)

	* src/lread.c (readchar): Be more strict about checking for
	string in cons for read_vector.
	(unreadchar): Likewise.

2016-03-09  Dmitry Gutov  <dgutov@yandex.ru>

	Propertize operator symbol names with symbol syntax class

	* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
	Do it here.
	(ruby-font-lock-keywords): Instead of handling them here.  Leave
	highlighting them to the "normal" matcher, because now we can.
	(ruby-smie--forward-token, ruby-smie--backward-token):
	Likewise, don't special-case operator symbols anymore.
	(ruby-smie--args-separator-p): Simplify the regexp, match operator
	names with \s_.
	(ruby-smie--implicit-semi-p): Handle the special cases of ? and =
	at EOL the same way: check if the character has been assigned the
	symbol syntax class by syntax-propertize.

2016-03-09  Dmitry Gutov  <dgutov@yandex.ru>

	Stop recognizing :#{} as symbol in ruby-mode

	* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
	the weird part that recognized colon followed by interpolation
	construct without quotes (e.g. ':#{abc}') as symbol, which is just a
	syntax error in any modern version of Ruby.  Fix nearby bug reference.

2016-03-09  Dmitry Gutov  <dgutov@yandex.ru>

	Allow using the left shift operator without spaces on both sides

	* lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
	ruby-verify-heredoc, reverse the meaning of the return value, and
	short-circuit if preceded by a symbol not separated by whitespace.

	* test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
	(ruby-no-heredoc-class-self): New tests.

2016-03-08  Andreas Schwab  <schwab@linux-m68k.org>

	Properly handle unquoting in wdired (bug 22938)

	The recorded old names are not quoted, don't unquote them.

	* lisp/wdired.el (wdired-normalize-filename): Add argument
	unquotep, only unquote if non-nil.
	(wdired-get-filename): Don't unquote the old file name.
	(wdired-get-previous-link): Always unquote.

2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>

	Allow splat operator before percent literal

	* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
	Allow splat operator before percent literal.

2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>

	Don't apply the return value of goto-char as syntax class

	* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
	apply the return value of goto-char as syntax class.

2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>

	Guard against nested percent literals

	* lisp/progmodes/ruby-mode.el
	(ruby-syntax-propertize-percent-literal):
	Don't check the syntax status.
	(ruby-syntax-propertize): Check it here.  And also guard against
	being in a larger percent literal.

	* test/automated/ruby-mode-tests.el
	(ruby-no-nested-percent-literals): New test.

2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>

	Recognize iuwu-mod after an escaped newline

	* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
	newline is escaped.
	(ruby-smie-rules): Indent iuwu-mod after an escaped newline
	correctly.

2016-03-06  Andreas Schwab  <schwab@linux-m68k.org>

	Fix symbolic mode string conversion for s and t

	* lisp/files.el (file-modes-char-to-right): Fix values for ?s and
	?t.
	(file-modes-symbolic-to-number): Default to a for ts permissions.

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

	Update 'ucs-names' database

	* lisp/international/mule-cmds.el (ucs-names): Update used and
	unused ranges from the latest UnicodeData.txt.

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

	Improve doc string of 'shell-command'

	* lisp/simple.el (shell-command): Mention that COMMAND is prompted
	for.  (Bug#22926)

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

	Make the code in movemail_strftime more general

	* lib-src/movemail.c (movemail_strftime): Transform the format
	string passed by the caller instead of using a separate format
	string.

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

	Speed up redisplay of binary files with long series of nulls

	* src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching
	for a character needed for resolving the type of a series of BN
	and ET characters, as required by rule W5 of UAX#9, if the results
	of the resolution are known in advance, because we are at level
	zero, and the previous strong character was L.
	(bidi_resolve_neutral): Partially resurrect the optimization for a
	long series of control characters in an otherwise strictly L2R
	text.
	(bidi_level_of_next_char): Don't enter the loop that searches for
	a paragraph separator if the current character is already at base
	embedding level.  (Bug#22739)

2016-03-05  Dmitry Gutov  <dgutov@yandex.ru>

	Remove the highlighting support for quoting 'like this' inside Lisp docstrings

	Remove the highlighting support for quoting 'like this' inside
	Lisp docstrings.  This part of
	c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been
	unintentional, considering substitute-command-keys gives wrong
	output for such usage.
	* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
	(lisp-cl-font-lock-keywords-2): Do not highlight text between two
	straight quotes as symbol.

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

	Restore leading space in movemail pop output

	* lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function.
	(strftime) [WINDOWSNT]: New macro.
	(mbx_delimit_begin): Go back to previous version of this code,
	now that there’s a special-purpose WINDOWSNT implementation
	that should do the right thing.  That way, the output continues
	to use leading space rather than leading zero for day of month.

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

	Fix bidi-paragraph-direction in Rmail view buffer

	* lisp/mail/rmail.el (rmail-show-message-1): Reset
	bidi-paragraph-direction to nil before formatting the message for
	display.

2016-03-05  Dmitry Gutov  <dgutov@yandex.ru>

	Don't misindent computed property generator methods

	* lisp/progmodes/js.el (js--looking-at-operator-p):
	Don't misindent computed property generator methods
	(https://github.com/mooz/js2-mode/issues/317).

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

	Fix mbox files produced by movemail on MS-Windows

	* lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
	format specifiers, as at least the MS-Windows version of strftime
	doesn't support %e and %T.

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

	doc string file descriptor exhaustion fix

	* src/doc.c (get_doc_string): Move newly-added check to a better
	location (Bug#22814).

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

	Fix Bug#22814

	* src/doc.c (get_doc_string): Raise an error in case too many
	files are open.  (Bug#22814)

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).

	Backport:

	(cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)

2016-03-04  Martin Rudalics  <rudalics@gmx.at>

	Fix previous fix of enlarge-/shrink-window

	* lisp/window.el (enlarge-window, shrink-window): Consistently
	signal user-error instead of error.  Resize minibuffer window by
	delta lines instead of pixels.  When a window cannot be resized,
	signal an error only when this function was invoked by a command
	in the enlarge-/shrink-window group (this restores the behavior
	before the fix of bug#22723 for the non-interactive case).

2016-03-03  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic

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

	Complete temperature units in calc-convert-temperature

	* lisp/calc/calc-units.el (calc-convert-temperature): Complete with
	temperature units in math-standard-units.

2016-03-02  Dmitry Gutov  <dgutov@yandex.ru>

	Make sure to use case-sensitive search

	* lisp/progmodes/xref.el (xref-collect-references): Make sure to
	use case-sensitive search.

2016-03-02  Ulf Jasper  <ulf.jasper@web.de>

	Prevent infinite loop on not-well-formed xml. (Bug#16344)

	* lisp/xml.el (xml-parse-tag-1): Prevent infinite loop. (Bug#16344)
	* test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add
	  test cases for Bug#16344.

2016-03-02  Alan Third  <alan@idiocy.org>

	Add the missing test case for the previous patch

	lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
	any processing.
	lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
	DABBREV--SUBSTITUTE-EXPANSION.
	test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.

2016-03-02  Alan Third  <alan@idiocy.org>

	Use the correct dabbrev expansion

	lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
	any processing.
	lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
	DABBREV--SUBSTITUTE-EXPANSION.
	test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.

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

	Bump version to 25.0.92

	* README:
	* configure.ac:
	* msdos/sed2v2.inp: Bump version to 25.0.92.

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

	* etc/AUTHORS: Update the AUTHORS file

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

	authors.el updates

	* admin/authors.el (authors-ignored-files): Addition.

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

	Fix Bug#22859

	* lisp/filenotify.el (file-notify-callback): Return a `deleted'
	event in case of kqueue and file1 is nil.  (Bug#22859)

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

	Fix reordering of bidi text in an isolate inside an override

	* src/bidi.c (bidi_resolve_explicit): Override the orig_type value
	of FSI with either LRI or RLI, as determined by the first strong
	directional character in the isolate.  This prevents failure to
	isolate when the FSI...PDI text is inside a directional override.
	(Bug#22786)

2016-03-01  Alan Mackenzie  <acm@muc.de>

	Document c-guess-basic-syntax in the CC Mode manual.

	* doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding
	pxrefs to Custom Line-Up and Other Indentation.
	(Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to
	Syntactic Analysis.

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

	Fix targets in test/automated/Makefile.in

	* test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
	empty target and target all.

2016-03-01  Leo Liu  <sdl.web@gmail.com>

	Comment on last change to define-derived-mode

	* lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.

2016-03-01  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).

	Backport:

	(cherry picked from commit 144bb0cf322b9756d29def3e27a42303e2edce43)

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

	Also allow setting the paragraph direction to nil

	* lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
	setting the paragraph direction to nil ("auto").

2016-02-29  Anders Lindgren  <andlind@gmail.com>

	Made the new OS X visible bell more visible.

	* src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
	  "caution" image five times, as the image in its original size
	  was hard to see.

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).

	Backport:

	(cherry picked from commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5)

2016-02-29  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).

	Backport:

	(cherry picked from commit 379a846b8548dc32a9019ef0a37c02f62cd9bad1)

2016-02-29  Dmitry Gutov  <dgutov@yandex.ru>

	Uncomment the next-error-function integration in xref

	* lisp/progmodes/xref.el (xref--xref-buffer-mode):
	Uncomment the next-error-function integration
	(https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).

2016-02-29  Dmitry Gutov  <dgutov@yandex.ru>

	Remove the word "valid", to avoid ambiguity

	* doc/emacs/maintaining.texi (Identifier Search)
	(Looking Up Identifiers): Remove the word "valid" (bug#22692).

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

	Set auto-revert-use-notify to nil in global-auto-revert-mode.  (Bug#22814)

	* etc/NEWS:
	* etc/PROBLEMS: Mention this.

	* lisp/autorevert.el (global-auto-revert-mode): Set
	`auto-revert-use-notify' to nil.  (Bug#22814)

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

	* etc/TODO: Minor quoting and grammar fixes.

2016-02-28  Friedrich Beckmann  <friedrich.beckmann@gmx.de>  (tiny change)

	Fix ModelSim error parsing

	* lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
	ModelSim error parsing (bug#5768).

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Make parse-time-string-chars faster

	* lisp/calendar/parse-time.el (parse-time-string-chars): Clean
	up the code (backport:).

2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Add a eww command to toggle paragraph direction

	* lisp/net/eww.el (eww-toggle-paragraph-direction): New
	command and keystroke.

	* doc/misc/eww.texi (Advanced): Mention the `D' command.

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

	* nextstep/WISHLIST: Merge into etc/TODO and remove.

	* etc/TODO: Merge in items from nextstep/WISHLIST.
	* nextstep/README: Update for this change.

2016-02-27  Andreas Schwab  <schwab@linux-m68k.org>

	Fix char signedness issue in bidi code

	* src/dispextern.h (struct bidi_t): Change type of resolved_level
	and isolate_level to signed char.  (Bug#22830)

2016-02-27  Andreas Schwab  <schwab@linux-m68k.org>

	* lib-src/pop.c (socket_connection): Fix format string.

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

	Avoid inflooping in thing-at-point-looking-at

	* lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping
	with regular expressions whose matching doesn't move point.
	(Bug#22756)
	Describe the argument DISTANCE in the doc string.

2016-02-27  Leo Liu  <sdl.web@gmail.com>

	* lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.

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

	etc/PROBLEMS: Mention problems with using file descriptors

	* etc/PROBLEMS: Mention problems with using file descriptors
	of kqueue file notification library.

2016-02-26  Kaushal Modi  <kaushal.modi@gmail.com>

	* lisp/apropos.el (apropos-variable): Doc fix.  (Bug#22813).

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

	Remove unneeded workaround in xftfont.c

	* src/xftfont.c (xftfont_open): Remove "dirty workaround" for
	XftTextExtents8 behavior, as it is no longer needed.  Suggested by
	Fangwen Yu <yynyygy@gmail.com>.  (Bug#22383)

2016-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/saveplace.el (save-place-local-mode): New minor mode

	(toggle-save-place): Define as obsolete alias.
	(save-place--setup-hooks): New function.
	(save-place-mode): Use it.

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

	Fix redisplay on a TTY after 'make-frame'

	* src/xdisp.c (clear_garbaged_frames): Don't clear/redraw a
	garbaged TTY frame if it is not the selected frame.  (Bug#22794)

2016-02-25  Alan Mackenzie  <acm@muc.de>

	Make double-click-1 work with unbalanced parens in CC Mode.  Fixes bug#5560.

	* lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
	`syntax-after' to ensure syntax-table text properties are respected.

2016-02-25  Magnus Henoch  <magnus.henoch@gmail.com>

	Input method polish-slash should not use keyboard translation

	* lisp/leim/quail/latin-pre.el ("polish-slash"): Input method
	polish-slash should not use keyboard translation (bug#19081).

2016-02-25  Chris Feng  <chris.w.feng@gmail.com>

	Fix an assertion

	* src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
	implies start == 0) separately.

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

	Fix 'toggle-save-place'

	* lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
	support save-place in the buffer.  Autoload the command.

2016-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)

	* src/keyboard.c (read_key_sequence): Don't inadvertently set
	immediate_echo when we don't want any echo-keystrokes.
	(echo_keystrokes_p): Move earlier.

2016-02-24  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)

	Minor fixes in calculator.el

	* lisp/calculator.el (calculator-mode-map): Bind `E' for
	`calculator-exp'.
	(calculator-last-input): Fix a bug with pressing F1.
	(Bug#20764)

2016-02-24  Anders Lindgren  <andlind@gmail.com>

	Update HISTORY section in readme for the NextStep interface.

	* nextstep/README: Update HISTORY after suggestion
	from former maintainer Adrian Robert.

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

	Improve documentation of 'save-place-mode'

	* lisp/saveplace.el (toggle-save-place): Update the doc string wrt
	turning on 'save-place-mode' globally.

	* etc/NEWS: Mention the need to call 'save-place-mode' for turning
	on the mode in all buffers.

2016-02-24  Chris Feng  <chris.w.feng@gmail.com>  (tiny change)

	Allocate glyph matrices for the initial frame

	* src/frame.c (make_initial_frame): Allocate glyph matrices (Bug#22787).

	* src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.

2016-02-24  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix white space in last checkin

2016-02-24  Dima Kogan  <gnuplot@dima.secretsauce.net>

	Make `insert-pair' always leave the cursor where documented

	* lisp/emacs-lisp/lisp.el (insert-pair): The docstring of
	insert-pair states that after insertion, the point ends up
	after the opening character. This was not true if the pair was
	inserted to surround a region (bug#16949).

2016-02-24  Kaushal Modi  <kaushal.modi@gmail.com>

	etc/NEWS: Mention the new second parameter to `package-install'

	* etc/NEWS: Mention the new second parameter to
	`package-install' (bug#22784).

2016-02-24  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).


	Backport:

	(cherry picked from commit bbd86c5642bd62c43d72391669f28eaa14459fd5)

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

	Improve documentation of focus-related hooks

	* doc/lispref/commands.texi (Focus Events): Mention focus-related
	hooks.  (Bug#21728)

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

	Further improve doc string of 'disable-point-adjustment'

	* src/keyboard.c (syms_of_keyboard): <disable-point-adjustment>
	<global-disable-point-adjustment>: Clarify doc strings.  (Bug#22771)

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

	Further adaptions in file-notify-tests.el for w32notify

	* test/automated/file-notify-tests.el
	(file-notify--test-read-event-timeout, file-notify--test-timeout):
	Decrease values.
	(file-notify-test03-autorevert)
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity): Run tests also for w32notify.
	(file-notify-test08-watched-file-in-watched-dir):
	Adapt expected events for w32notify.

2016-02-23  Jan Tatarik  <jan.tatarik@gmail.com>

	Don't bug out on localized dates in gnus-icalendar

	* lisp/gnus/gnus-icalendar.el
	(gnus-icalendar-event:org-timestamp): Don't bug out on
	localized dates.

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).

	Backport:

	(cherry picked from commit ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)

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).

	Backport:

	(cherry picked from commit c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)

2016-02-23  Christopher Wellons  <wellons@nullprogram.com>

	Make setf for frame-height/width work again

	* lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for
	frame-height/width work again (bug#21979).

2016-02-23  Ł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).

	Backport:

	(cherry picked from commit 3cedbdcc71ebefc12bd20ec84f74251fe99ee7d0)

2016-02-23  Nicolas Richard  <youngfrog@members.fsf.org>

	(cl-union): Do not ignore :test argument when lists are equal.

	* lisp/emacs-lisp/cl-seq.el (cl-union): Do not ignore :test argument when lists are equal.

	* test/automated/cl-seq-tests.el: New file (bug#22729).

2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>

	Add `isearch' to `basic-faces'

	* doc/lispref/display.texi (Basic Faces): Mention the isearch
	and lazy-highlight faces.

	* lisp/replace.el (match): Add `isearch' to the `basic-faces'
	group, too (bug#22760).

2016-02-23  Dmitry Gutov  <dgutov@yandex.ru>

	Make $, : and @ "prefix characters" in ruby-mode

	* lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
	syntax classes of $, : and @ to "prefix character"
	(https://lists.gnu.org/r/emacs-devel/2016-01/msg00272.html).
	(ruby-syntax-propertize): Undo that specifically for colons
	followed by an opening paren or bracket.
	(ruby-font-lock-keyword-beg-re): Include colon character.
	(ruby-font-lock-keywords): Adjust the constants matcher for `:'
	not being a symbol constituent anymore.

2016-02-23  Dmitry Gutov  <dgutov@yandex.ru>

	Make find-tag-default-bounds more strict

	* lisp/subr.el (find-tag-default-bounds): Delegate to
	bounds-of-thing-at-point (bug#22692).

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

	Minor fixes in filenotify.el

	* lisp/filenotify.el (top): Require 'cl-lib.
	(file-notify--rm-descriptor)
	(file-notify--event-watched-file): Use cl-caadr.
	(file-notify-callback): Handle also `ignore' events from inotify.

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

	Additional fixes for file notification

	* lisp/filenotify.el (top): Require 'cl when compiling.
	(file-notify--event-watched-file): New defun.
	(file-notify--rm-descriptor, file-notify-callback):
	Handle case of several monitors running in parallel.

	* test/automated/file-notify-tests.el
	(file-notify--test-event-test): Simplify test.
	(file-notify--test-with-events): Get rid of outer definition.
	Check also results of tests performed in callbacks.
	(file-notify-test02-events): No wrapping when calling
	`file-notify-rm-watch'.  No special checking for callback tests.
	(file-notify-test07-backup): Adapt expected events for gfilenotify.
	(file-notify-test08-watched-file-in-watched-dir): Improve.

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

	Fix documentation of 'global-disable-point-adjustment'

	* src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
	<global-disable-point-adjustment>: Doc fixes.  (Bug#22771)

2016-02-22  Daiki Ueno  <ueno@gnu.org>

	Set file modes of pinentry socket for extra safety

	* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
	(pinentry-start): Change the file modes of the socket file to 0700.
	This is just for extra safety since the parent directory is already
	protected with `server-ensure-safe-dir'.

2016-02-22  Daiki Ueno  <ueno@gnu.org>

	Clarify GnuPG version compatibility chapter

	* doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
	description a bit clearer.

2016-02-22  Daiki Ueno  <ueno@gnu.org>

	Revert "Change the default socket location for pinentry"

	This reverts commit e34fbdee8aca84b98393b06b2450837d175999ca.
	It turned out that the address is fixed in Pinentry itself.

2016-02-21  Dmitry Gutov  <dgutov@yandex.ru>

	Kill off xref--display-history

	Now that the core workflow keeps the xref window visible, there's
	less value in storing this history.  And it never was
	comprehensive enough to undo scrolling changes.
	* lisp/progmodes/xref.el (xref--display-history)
	(xref--save-to-history, xref-quit): Remove.
	(xref--show-pos-in-buf): Update accordingly.
	(xref--xref-buffer-mode-map): Remove xref-quit binding.

2016-02-21  Dmitry Gutov  <dgutov@yandex.ru>

	Keep the xref buffer visible until the user quits it explicitly

	* lisp/progmodes/xref.el (xref--pop-to-location):
	Rename WINDOW argument to ACTION.
	(xref--with-dedicated-window): New macro.
	(xref--show-pos-in-buf): Rename from `xref--display-position'.
	Add and handle new argument, SELECTED.  Use the above macro.
	(xref--show-location): Add SELECTED argument.
	(xref-show-location-at-point): Make an effort to avoid the
	original window when showing the location.
	(xref-goto-xref): Don't quit the xref window (bug#20487 and
	https://lists.gnu.org/r/emacs-devel/2016-01/msg01133.html).
	(xref--query-replace-1): Use xref--with-dedicated-window as well.
	(xref--next-error-function): Call xref--show-location instead of
	xref--pop-to-location.
	(xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION.
	Only pass that value to xref--pop-to-location.  Pass the current
	selected window to xref-show-xrefs-function as the `window'
	property.
	(xref--find-xrefs, xref--find-definitions): Rename WINDOW argument
	to DISPLAY-ACTION as well.

2016-02-21  Daiki Ueno  <ueno@gnu.org>

	Change the default socket location for pinentry

	* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
	(pinentry--socket-dir): Change the default from /tmp/emacsXXX to
	~/.emacs.d/pinentry.
	(pinentry-start): Change the file modes of the socket file to 0700.
	This is just for extra safety since the parent directory is already
	protected with `server-ensure-safe-dir'.

2016-02-21  Daiki Ueno  <ueno@gnu.org>

	Mention how to enable pinentry feature

	* etc/NEWS: Mention "gpgconf --reload gpg-agent".
	* lisp/net/pinentry.el: Likewise.

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

	Sync with gnulib

	This incorporates:
	2016-02-10 stdalign: port to older HP and IBM cc
	* doc/misc/texinfo.tex, lib/stdalign.in.h: Copy from gnulib.

2016-02-21  David Engster  <deng@randomsample.de>

	Remove `semanticdb-save-all-db-idle' from `auto-save-hook'

	* lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
	  `semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
	  not an idle hook, so it's not appropriate to call it there. It will
	  already be called in the `semantic-idle-work-core-handler', which
	  runs when Emacs is actually idle.

2016-02-21  David Engster  <deng@randomsample.de>

	Restore point when writing semantic table to disk

	* lisp/cedet/semantic/db-file.el (object-write): Wrap call to
	  `semantic-fetch-tags' in `save-excursion', since it might move point
	  in current buffer. (Bug #22287)

2016-02-21  Daiki Ueno  <ueno@gnu.org>

	Mention pinentry.el in epa manual

	* doc/misc/epa.texi (GnuPG version compatibility): New chapter,
	describing the differences between three GnuPG branches, and how
	to enable pinentry.el.
	(Caching Passphrases): Add xref to the compatibility chapter.

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

	Fix Bug#22736

	* lisp/filenotify.el (file-notify-callback): Use the proper
	descriptor when calling the callback.  (Bug#22736)

	* test/automated/file-notify-tests.el
	(file-notify--test-event-handler): Deactivate trace.
	(file-notify-test08-watched-file-in-watched-dir): Bind
	`file-notify--test-tmpfile' temporarily in `dir-callback'.

2016-02-21  Wieland Hoffmann  <themineo@gmail.com>  (tiny change)

	Grammar fix in doc string

	* lisp/custom.el (defgroup): Grammar fix in doc string.

2016-02-20  Daiki Ueno  <ueno@gnu.org>

	Naming fix for consistency

	* lisp/epg-config.el (epg-find-configuration): Rename from
	`epg-configuration-find' to be consistent with other epg-* functions.
	Change all callers.

2016-02-20  Daiki Ueno  <ueno@gnu.org>

	Prefer customized value for GnuPG executable

	* lisp/epg-config.el (epg-configuration-find): Don't check GPG
	configuration if it is already set with custom.  (Bug#22747)

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

	Fix memory reservation on MS-Windows

	* src/w32heap.c (mmap_alloc): Reserve memory in 64KB granular
	units.  This avoids leaving gaps in reserved memory regions that
	no one can use, since memory reservation must produce 64KB-aligned
	addresses.  (Bug#22526)

2016-02-20  Anders Lindgren  <andlind@gmail.com>

	Update NextStep readme and add wish list.

	* nextstep/README: Rewritten from scratch. New sections on
	"History", "Overview of Cocoa and Objective-C", "Guidelines",
	"Tracing Support", and "GNUStep". Expanded the "See Also" section.
	* nextstep/WISHLIST: New file containing list of issues and ideas
	associated with the NS port of Emacs.

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

	Report also result in `file-notify--test-event-handler'

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

	Improve file-notify-test08-watched-file-in-watched-dir

	* test/automated/file-notify-tests.el (file-notify--test-desc2):
	New variable.
	(file-notify--test-cleanup): Use it.
	(file-notify--test-event-handler): Enable trace.
	(file-notify-test08-watched-file-in-watched-dir): Tag it as
	:expensive-test.  Rewrite callbacks to use
	`file-notify--test-event-handler'.  Read events in loop.  Check
	`file-notify--test-results'.
	(file-notify-test08-watched-file-in-watched-dir): Fix docstring.

2016-02-20  Stephen Berman  <stephen.berman@gmx.net>

	Fix todo-mode item date editing bugs

	* lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
	range error by making sure the value of the numerical month date
	component cannot be nil.  Prevent wrong type error on trying to edit
	day number in February by making sure numerical instead of string
	value of the year component is passed to todo-read-date.
	(todo-read-date): When using the numerical month date component make
	sure to use `*' for an arbitrary month instead of its numerical value.

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

	Fix "[:upper:]" for non-ASCII characters

	* src/regex.c (re_match_2_internal): Support [:upper:] and
	[:lower:] for non-ASCII characters.  (Bug#18150)

2016-02-20  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow customizing the article mode cursor behavior

	* doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.

	* lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
	(gnus-article-mode): Use it.

2016-02-20  Ari Roponen  <ari.roponen@gmail.com>

	Use pop-to-buffer-same-window in woman.el

	* lisp/woman.el (woman-really-find-file): Work around going to
	the wrong buffer by using `pop-to-buffer-same-window' (bug#22332).
	(WoMan-find-buffer): Ditto.

2016-02-20  Tassilo Horn  <tsdh@gnu.org>

	New filenotify test for bug#22736

	* test/automated/file-notify-tests.el
	(file-notify-test08-watched-file-in-watched-dir):
	(file-notify--test-desc1): New filenotify test for bug#22736

2016-02-20  Marcin Borkowski  <mbork@mbork.pl>

	Report critical battery errors

	* lisp/battery.el (battery-pmset): Report critical battery
	errors (bug#18157).

2016-02-19  Kaushal Modi  <kaushal.modi@gmail.com>  (tiny change)

	Make eww message toggling message clearer

	* lisp/net/eww.el (eww-toggle-fonts): Make the message
	clearer.

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

	* lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.

2016-02-18  Martin Rudalics  <rudalics@gmx.at>

	Fix bugs in window resizing code

	* lisp/window.el (adjust-window-trailing-edge): Fix mismatched
	parenthesis.
	(shrink-window, enlarge-window): Fix bug#22723 where windows
	with preserved size would not get resized.  Also now signal an
	error when the window cannot be shrunk or enlarged as requested.

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

	Fix decoding DOS EOL in a unibyte buffer

	* src/coding.c (decode_eol): Loop over bytes, not characters.
	(Bug#5251)

2016-02-17  Alan Mackenzie  <acm@muc.de>

	Correct c-parse-state cache manipulation error.

	* lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
	comparison bound.  Amend comments.

2016-02-17  Daiki Ueno  <ueno@gnu.org>

	Take advantage of new GnuPG version check function

	* lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
	(package-refresh-contents): Use `epg-configuration-find' to check if EPG
	is usable.

2016-02-17  Daiki Ueno  <ueno@gnu.org>

	Make GnuPG version check robuster

	We changed the default gpg program to "gpg2" from "gpg" in the commit
	f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1.  However, there are two
	maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
	series.  Check the actual version of "gpg2" at run time, and properly
	divert to "gpg" if necessary.
	* lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
	(epg-config--program-alist): New variable.
	(epg--configurations): New variable.
	(epg-configuration-find): New function.
	(epg-config--make-gpg-configuration): New function.
	(epg-config--make-gpgsm-configuration): New function.
	(epg-configuration): Mark as obsolete.
	* lisp/epg.el (epg-context): Use `epg-configuration-find'.

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

	Fix x-load-color-file pointer signedness

	* src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
	For sscanf and int *, use %d, not %u.
	Problem found on Ubuntu 15.10 x32, which lacks X support.

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

	* lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.

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

	Follow convention for greek letter constants.

	* lisp/calc/calc-units.el (math-standard-units):
	Add "sigma" and alias σ to it.

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

	Add Stefan-Boltzmann constant to calc units table.

	* lisp/calc/calc-units.el (math-standard-units):
	Add Stefan-Boltzmann constant.

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

	* lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.

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

	Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw.  (Bug#22669)

	* lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers):
	Prefill with relevant elements for term/xterm.

2016-02-16  Tassilo Horn  <tsdh@gnu.org>

	Fix soffice UserInstallation-URL for Windows

	* lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
	UserInstallation-URL when calling soffice on Windows.

2016-02-16  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix display of <pre> elements

	* lisp/net/eww.el (eww-display-html): Remove CRLF before
	parsing so that <pre> elements don't render with ^M at the end
	of the lines.

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

	Minor fixes in global-auto-composition-mode

	* lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
	Produce prettier names of globalized minor modes.
	* lisp/composite.el (global-auto-composition-mode): Make it a
	globalized mode.  (Bug#22682)

2016-02-15  Alan Mackenzie  <acm@muc.de>

	Allow arithmetic operators inside C++ template constructs.

	Fixes debbugs #22486.  This corrects the previous patch with this message
	which was empty.

	* lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
	variable.
	(c-<>-notable-chars-re): New language variable.

	* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
	c-<>-notable-chars-re in place of the former fixed string in searching for
	places to stop and examine.
	Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
	multichar operator in place of the former c->-op-without->-cont-regexp.
	Add code to skip forwards over a balanced parenthesized expression.

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

	Avoid crashes in semi-malformed 'condition-case'

	* src/eval.c (internal_lisp_condition_case): Treat a handler
	'(nil)' as if it were '(nil nil)'.  (Bug#22675)

2016-02-15  Alan Mackenzie  <acm@muc.de>

	Allow arithmetic operators inside C++ template constructs.

	Fixes debbugs #22486.

	* lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
	variable.
	(c-<>-notable-chars-re): New language variable.

	* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
	c-<>-notable-chars-re in place of the former fixed string in searching for
	places to stop and examine.
	Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
	multichar operator in place of the former c->-op-without->-cont-regexp.
	Add code to skip forwards over a balanced parenthesized expression.

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

	Fix regression with 'recent-keys' and keyboard macros

	* src/keyboard.c (record_char): Don't record in 'recent_keys'
	events that come from executing keyboard macros.  (Bug#22674)

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

	Fix wording in a doc-view.el comment

	* lisp/doc-view.el (doc-view--current-cache-dir): Don't use
	"illegal" for something that is not against the law.

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

	CONTRIBUTE cleanups and updates

	* CONTRIBUTE: Mention URLs and info nodes more consistently,
	avoiding possibly-confusing punctuation adjacent to a URL, and
	giving full shell commands for 'info'.  Start with a brief but
	complete how-to, for people who want to get started right away.
	Then briefly discuss how to join the development process in the
	typical order.  Omit needless words.  Update some of the
	now-obsolete file names, info node names, and quoting styles.
	Better document emacs-NN branches and how they are merged.
	* admin/notes/git-workflow: Change emacs-24 to emacs-25,
	and trunk to master.  This file still needs work.

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

	Port USE_STACK_LISP_OBJECTS fix to Clang

	* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
	Recent versions of Clang claim to be GCC 4.2.1 but do not have
	the GCC bug.

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

	Port to x86 GCC 4.3.1 and earlier

	This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
	* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
	for GCC 4.3.1 and earlier.

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

	Fix point movement under 'scroll-conservatively'

	* src/xdisp.c (redisplay_window): Correct a typo in computing the
	effective number of text lines in a window.  (Bug#22637)

2016-02-14  Thomas Plass  <thomas.plass@arcor.de>

	Replace colon in file name (not legal on Windows)

	* lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
	name (not legal on Windows). [tiny change]

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

	Fix a typo in edt.texi

	* doc/misc/edt.texi: Fix a typo in an email address.  Reported by
	"Herbert J. Skuhra" <herbert@mailbox.org>.

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

	Make 'mmap_realloc' on MS-Windows more reliable

	* src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
	committing fails, return NULL.  Don't call GetLastError twice for
	the same API error.
	(mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
	before calling VirtualQuery, to avoid using garbled values if the
	call fails.  If committing more pages from the same block fails,
	fall back on mmap_alloc + CopyMemory.  Enhance debugging printouts
	if the call to VirtualAlloc to commit more pages fails.
	(Bug#22526)

2016-02-14  Oscar Fuentes  <ofv@wanadoo.es>

	Grep alias `all' shall not match parent directory

	* lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
	  directory for `all'. Fixes bug#22577

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

	Bump version to 25.0.91

	* README:
	* configure.ac:
	* msdos/sed2v2.inp: Bump version to 25.0.91.

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

	* etc/AUTHORS: Update the AUTHORS file

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

	* lisp/dired-aux.el: Require cl-lib.  (Bug#22613)

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

	Index tilde characters in names of backup files

	* doc/emacs/files.texi (Backup Names): Improve indexing.
	(Bug#22625)

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

	Document deprecation of hi-lock-mode's 'C-x w' bindings

	* doc/emacs/display.texi (Highlight Interactively): Deprecate the
	"C-x w" bindings of hi-lock-mode.

	* etc/NEWS: Mark the deprecation entry as documented.

2016-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	Announce that the `C-x w' bindings are deprecated

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

	Suppress GNUstep hardening

	Fedora 23 normally hardens GNUstep applications, which causes
	‘./configure --with-ns’ to break Emacs’s funky way of undumping.
	Fix this by eliding the hardening options (Bug#22518).
	* src/Makefile.in (LIBS_GNUSTEP): Omit options like
	‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
	(GNU_OBJC_CFLAGS): Omit options like
	‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.

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

	Fix redisplay after a large insertion

	* src/xdisp.c (redisplay_internal): Don't accept the results of
	"optimization 3" if the cursor ends up in a partially visible
	glyph row.  (Bug22637)

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.

		* lisp/gnus/nnimap.el (nnimap-change-group): Revert last
		change.  (Bug#22634)

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

	* lib-src/make-docfile.c: Include stdarg.h.

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

	Extend gpm-mouse-mode's doc string and doc to point out limitations.

	* lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
	inability to transfer text between Emacs and other programs which use GPM.

	* doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
	between Emacs and other progrmas which use GPM.

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

	Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"

	* lisp/isearch.el: Turn char-folding back oon by default.

	This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.

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

	Revert "Support integer image rotation and respect EXIF rotations"

	This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.

	This change does not work on Fedora.

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

	Revert "Document EXIF image rotation"

	This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.

	This change does not work on Fedora, for instance.

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

	Document OS X LANG default

	* doc/emacs/cmdargs.texi (General Variables):
	Document OS X Language and Region system preference.
	Suggested by Alan Third.

2016-02-11  Alan Third  <alan@idiocy.org>

	Set locale when run from OS X GUI

	* src/emacs.c (main): Call ns_init_locale.
	* src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
	* src/nsterm.h: Include ns_init_locale.

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

	make-docfile cleanup for I/O, etc.

	* lib-src/make-docfile.c (progname, generate_globals, num_globals)
	(num_globals_allocated, globals): Now static.
	(generate_globals, struct rcsoc_state, read_c_string_or_comment):
	(write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
	Use bool for boolean.
	(verror): New function.
	(fatal, error): Use it.  API is now like printf.  All callers changed.
	(main): Remove err_count local that was always 0.
	(main, scan_c_stream, scan_lisp_file): Check for I/O error.
	(scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
	Return void, not 0.
	(put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
	(scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
	(close_emacs_globals): Use ptrdiff_t for index, not int.
	(scan_c_file, scan_lisp_file): Exit with failure if file cannot be
	opened, rather than diagnosing but exiting with status 0.
	(search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
	portable now.

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

	Memory-management cleanup in make-docfile

	I compiled it with -fsanitize=address and fixed the leaks it detected.
	Also, I changed it to prefer signed to unsigned integer types,
	and to check for integer overflow.
	* lib-src/make-docfile.c:
	Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
	(memory_exhausted): New function.
	(xmalloc, xrealloc): Use it.
	(xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
	(uncompiled, scan_lisp_file):
	Prefer signed integer types to unsigned.
	(xstrdup): Remove.  All uses removed.
	(num_globals, num_globals_allocated, write_globals, scan_c_stream):
	Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
	(add_global): Use const to pacify --enable-gcc-warnings.
	Make a copy here, rather than relying on strdup calls later.
	(add_global, write_globals, scan_c_stream):
	Avoid integer overflow when calculating sizes.
	(write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
	(scan_c_stream): Check for add_global failure.

2016-02-10  Kevin Gallagher  <Kevin.Gallagher@boeing.com>

	Kevin Gallagher has new email address

	* lisp/emulation/edt.el:
	* lisp/emulation/edt-lk201.el:
	* lisp/emulation/edt-mapper.el:
	* lisp/emulation/edt-pc.el:
	* lisp/emulation/edt-vt100.el:
	* etc/edt-user.el:
	* doc/misc/edt.texi: Update Kevin Gallagher's email address.

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

	Improve doc strings of 'forward/backward-word-strictly'

	* lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
	in the doc string.  Suggested by Glenn Morris <rgm@gnu.org>.
	* lisp/subr.el (forward-word-strictly, backward-word-strictly):
	Mention 'subword-mode' in the doc strings.

	* src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
	in the doc string.  (Bug#22560)

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

	Describe Makefile test targets in test/README

	* CONTRIBUTE: Move Makefile test targets to test/README.

	* Makefile.in:
	* test/README: Describe Makefile test targets.

2016-02-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	Backport: * lisp/isearch.el: Turn char-folding off by default

	(search-default-mode): Set default value to nil.

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  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-02-10  Juri Linkov  <juri@linkov.net>

	* lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional.

	Doc fix.
	(replace-search, replace-highlight): Make arg `backward' optional.
	(Bug#18388)

2016-02-10  Juri Linkov  <juri@linkov.net>

	* lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column.

	(previous-line-or-history-element): Reset temporary-goal-column.
	Use end-of-visual-line instead of line-end-position.  (Bug#22544)

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

	Suppress ACL ops if configured with --disable-acl

	Without this patch, some ACL operations were suppressed, but not all.
	* src/fileio.c [!USE_ACL]: Do not include sys/acl.h.
	(Ffile_acl, Fset_file_acl) [!USE_ACL]: Return nil in this case.

2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>

	Mention web bugs

	* doc/misc/emacs-mime.texi (Display Customization):
	Mention web bugs in the mm-html-blocked-images section.

2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>

	Make mm-html-blocked-images default to "" again

	* lisp/gnus/mm-decode.el (mm-html-blocked-images):
	Default to "" that blocks all external images.

	* doc/misc/emacs-mime.texi (Display Customization):
	Mention that mm-html-blocked-images defaults to "".

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

	Minor alignas cleanup

	* src/lisp.h (alignas): Remove now-redundant #ifdef that was left
	over from the old way of doing things, before Bug#20862 was fixed.

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

	Add lmalloc commentary and tweak laligned

	* src/alloc.c (laligned): Help compiler in a tiny way by putting
	the more-commonly-failing disjunct first.

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

	Clarify documentation of key binding conventions

	* doc/lispref/tips.texi (Key Binding Conventions): Clarify which
	"punctuation characters" are reserved after "C-c".  (Bug#22604)

2016-02-09  Oscar Fuentes  <ofv@wanadoo.es>

	* etc/NEWS: mention the `vc-faces' customization group

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

	Sync with gnulib

	This incorporates:
	2016-02-09 stdalign: port to clang 3.7.0
	2016-02-06 misc: port better to gcc -fsanitize=address
	* doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
	Copy from gnulib.

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

	* CONTRIBUTE: Add more examples for $(SELECTOR) make variable.

2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>

	Make mm-html-inhibit-images and mm-html-blocked-images default to nil

	* lisp/gnus/mm-decode.el (mm-html-inhibit-images)
	(mm-html-blocked-images): Default to nil.

	* doc/misc/emacs-mime.texi (Display Customization): Mention that
	mm-html-inhibit-images and mm-html-blocked-images default to nil.

	* etc/NEWS (Gnus): Document mm-html-inhibit-images and
	mm-html-blocked-images.

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

	Increase success rate of fallback lmalloc

	* src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
	larger and larger sizes, to increase the probability that
	the allocator will return a Lisp-aligned pointer.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Make backgrounds extend to the end of the lines in shr

	* lisp/net/shr.el (shr-face-background): Faces can also be on
	the form `(:background "#fff)' (bug#22547).

2016-02-09  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).

	(cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)

	Backport:

2016-02-09  Mike Kupfer  <m.kupfer@acm.org>

	Fix typos in emacs-mime.texi and gnus.texi

	* doc/misc/emacs-mime.texi (Display Customization):
	* doc/misc/gnus.texi (HTML): Fix typo.

2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>

	* doc/misc/emacs-mime.texi (Display Customization):
	Doc fix for mm-html-inhibit-images.

2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix message-cross-post-followup-to group names

	* lisp/gnus/message.el (message-cross-post-followup-to): Don't
	insert group names like "nntp+foo:zot", because those aren't valid.

2016-02-09  David Edmondson  <dme@dme.org>

	Compare recipient and keys case-insensitively

	* lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
	recipient address with that from a key, do so in a case insensitive
	manner (bug#22603).

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

	* lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.

2016-02-08  Katsumi Yamaoka  <yamaoka@jpl.org>

	Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)

	* doc/misc/emacs-mime.texi (Display Customization):
	Remove mm-inline-text-html-with-images; add documentations for
	mm-html-inhibit-images and mm-html-blocked-images.

	* lisp/gnus/gnus-art.el (gnus-article-show-images):
	No need to bind mm-inline-text-html-with-images.
	(gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
	(gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
	bind mm-html-inhibit-images and mm-html-blocked-images.
	(gnus-mime-view-all-parts, gnus-mime-view-part-internally)
	(gnus-mm-display-part, gnus-mime-display-single)
	(gnus-mime-display-alternative): Use gnus-bind-mm-vars.

	* lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
	(mm-html-inhibit-images, mm-html-blocked-images): New user options.
	(mm-shr): Bind shr-inhibit-images and shr-blocked-images with
	mm-html-inhibit-images and mm-html-blocked-images respectively
	instead of gnus-inhibit-images and gnus-blocked-images.

	* lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
	instead of mm-inline-text-html-with-images.

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

	Port to FreeBSD 11-CURRENT i386

	Problem reported by Herbert J. Skuhra in:
	https://lists.gnu.org/r/emacs-devel/2016-02/msg00354.html
	Instead of trying
	* src/alloc.c (lmalloc, lrealloc, laligned): New functions.
	(xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
	(__alignof__) [!__GNUC__ && !__alignof__]: New macro.
	(MALLOC_IS_GC_ALIGNED): New macro.
	* src/lisp.h (NONPOINTER_BITS): Remove.  All uses removed.
	No longer needed now that alloc.c uses lmalloc and lrealloc.

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

	Some fixes in file-notify-tests.el

	* test/automated/file-notify-tests.el
	(file-notify--test-with-events-check)
	(file-notify--test-with-events-explainer): New defuns.
	(file-notify--test-with-events): Use it.
	(file-notify-test07-backup): Fix docstring.  Some of the
	backends fire two `changed' events.  Backup by rename doesn't
	work for kqueue.

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

	Fix Bug#22557

	* lisp/filenotify.el (file-notify-callback): Do not send a
	`stopped' event in case of backup by renaming.  (Bug#22557)

	* test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
	all targets but check and check-maybe.

	* test/automated/file-notify-tests.el
	(file-notify--test-read-event-timeout): New defconst.
	(file-notify--deftest-remote, file-notify--wait-for-events)
	(file-notify-test02-events)
	(file-notify-test04-file-validity)
	(file-notify-test06-many-events): Use it.
	(file-notify--test-cleanup): Make it more robust.  Delete also
	backup file.
	(file-notify-test07-backup): New test.

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

	Fix test for dladdr

	Problem reported by Andreas Schwab in:
	https://lists.gnu.org/r/emacs-devel/2016-02/msg00327.html
	* configure.ac (dladdr): Link with LIBMODULES when checking for
	this function.

2016-02-07  Andreas Schwab  <schwab@linux-m68k.org>

	Fix gnus-group-get-new-news-this-group on group with closed server

	* lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
	method and pass to nnimap-open-server.

2016-02-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring

	While tabs in code are mostly fine because the Emacs sources have a
	.dir-locals file specifying tab-width, the same is not true of tabs in
	code examples inside docstrings.  The docstring is printed on a *Help*
	buffer, which can be created on any directory and won't necessarily have
	the same tab-width set.

2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't inloop gnus-uu-mark-thread on the last thread

	* lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
	final thread in the summary buffer (bug#16666).

2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	Display non-ASCII group names better in prompts

	* lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
	group name, we have to do that before we remove the prefix.

2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	Default to gpg2 instead of gpg

	* lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
	it exists.  This fixes many problems with using the GPG
	authentication agent.

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.

	Backport:

	(cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)

2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-define-mode-toggle): Improve logic

2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/menu-bar.el (menu-bar-options-menu): New search submenu

	(menu-bar-search-options-menu): New variable

2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (search-default-mode)

	(isearch-regexp-function): Improve docstrings.

2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode

	(search-default-mode): New variable.
	(isearch-mode, isearch-define-mode-toggle)
	(isearch--describe-regexp-mode): Update accordingly.
	* lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
	* etc/NEWS: Update accordingly.
	* doc/emacs/search.texi: Update accordingly.

2016-02-06  Oscar Fuentes  <ofv@wanadoo.es>

	Use monitor's resolution for positioning tooltips

	* src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
	  the mouse pointer is to avoid placing the tooltip over the border of
	  the monitor on multi-head displays. Fixes bug#22549.

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

	Fix file-notify-test on MS-Windows

	* test/automated/file-notify-tests.el (file-notify--test-timeout):
	Reduce w32notify timeout to 10 sec.
	(file-notify-test06-many-events): Call read-event after each
	rename, to keep the w32notify backend happy in batch mode.
	(Bug#22534)

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

	Fix issues found by auditing w32notify code

	* src/w32inevt.c (handle_file_notifications): Count the number of
	events to be returned.
	* src/w32notify.c (send_notifications): Don't copy to the file
	notification buffer more than it can hold.  (Bug#22534)

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

	Extend etags Ruby support for accessors

	* lib-src/etags.c (Ruby_functions): Support accessors defined with
	parentheses.  (Bug#22563)

	* test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
	defined with parentheses.
	* 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/CTAGS.good: Adapt to changes in Ruby tests.

2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	Update publicsuffix.txt.

	* etc/publicsuffix.txt: Updated from
	https://publicsuffix.org/list/public_suffix_list.dat.

2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	Ensure that Gnus dribble handling allows removing entries

	* lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
	entry is on a single line.

2016-02-05  OGAWA Hirofumi  <hirofumi@mail.parknet.co.jp>  (tiny change)

	Be consistent when using encoded strings in nnimap data

	* lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
	(nnimap-request-list): Use it.
	(nnimap-request-newgroups): Ditto.

2016-02-05  OGAWA Hirofumi  <hirofumi@mail.parknet.co.jp>  (tiny change)

	Display the decoded Gnus group name

	* lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
	decoded group name in the message.

2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Use completion-ignore-case instead of defining command

	* lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
	that we get case-insensitive completion.
	(erc-completion-at-point): Remove.

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

	* test/automated/file-notify-tests.el (file-notify-test06-many-events):

	Reduce the number of iterations to 250 in case of w32notify.

2016-02-05  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'.

2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix doc string of tls-program

	* lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).

2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>

	Restore window conf in nsm

	* lisp/net/nsm.el (nsm-query-user): Restore the window configuration.

	Backport:

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

	* etc/NEWS: Document new mpc.el features

2016-02-04  Leo Liu  <sdl.web@gmail.com>

	* lisp/custom.el (defface): Revert indentation change.  (Bug#22524)

2016-02-04  Alan Mackenzie  <acm@muc.de>

	Correctly fontify C++ initializations which "look like" functions.

	Fixes bug#7579.

	lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
	parameter to enable handling of "anonymous" declarators in declarations.

	lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
	whether a "(" opens a parameter list of a function, or an initialization of a
	variable.

2016-02-04  Ulf Jasper  <ulf.jasper@web.de>

	Improve newsticker-treeview-selection-face

	* lisp/net/newst-treeview.el (newsticker-treeview-selection-face): Improve
	readability for dark background.

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

	Minor fix in tagging Ruby accessors by etags

	* lib-src/etags.c (Ruby_functions): Don't tag accessors whose
	names are not literal symbols.  (Bug#22241)

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

	Spelling fixes

2016-02-04  Dmitry Gutov  <dgutov@yandex.ru>

	Remove 'def X' from the example

	* test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
	(https://lists.gnu.org/r/emacs-devel/2016-02/msg00167.html).
	* 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: Adjust accordingly.

2016-02-04  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).

	(cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)

	Backport:

2016-02-04  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-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Make erc completion case-insensitive again

	* lisp/erc/erc.el (erc-completion-at-point): Make erc completion
	case-insensitive again (bug#11360).

2016-02-04  Carlos Pita  <carlosjosepita@gmail.com>  (tiny change)

	Make complection in erc use consistent casing

	* lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
	case in the complection consistent (bug#18509).

2016-02-04  Francis Litterio  <flitterio@gmail.com>

	Make /QUIT in erc more robust

	* lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
	issuing /QUIT to disconnected servers (bug#22099).

2016-02-04  Kevin Brubeck Unhammer  <unhammer@fsfe.org>  (tiny change)

	Make tracking faces in Emacs work more reliably

	* lisp/erc/erc-track.el (erc-faces-in): Always return lists of
	faces to avoid later ambiguity (bug#22424).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Make shr not bug out on images on non-graphical displays

	* lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
	images on non-graphical displays (bug#22327).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix bookmark display widths

	* lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
	preparing it so that the widths are computed correctly (bug#22328).

2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix typo in eww-make-unique-file-name

	* lisp/net/eww.el (eww-make-unique-file-name): Make this function
	actually work.

2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>

	Make it possible to TAB to input fields

	* lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
	input fields (bug#22540).

2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>

	Insert complete alt texts when images are disabled

	* lisp/net/shr.el (shr-tag-img): When images are disabled, insert
	the complete alt/title string (bug#22293).

2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>

	Allow eww text fields to grow

	* lisp/net/eww.el (eww-process-text-input): Allow text fields to
	grow when typing in stuff that's longer than the original width.

2016-02-03  Dima Kogan  <dima@secretsauce.net>

	Make erc work when subword-mode is switched on

	* lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
	(erc-bounds-of-word-at-point): New functions to do word-based
	things when subword-mode is switched on.

	* lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
	(bug#17558).

2016-02-03  Teemu Likonen  <tlikonen@iki.fi>

	Fix IMAP doc example

	* doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.

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

	Quoting fixes in doc strings and diagnostics

	* lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
	* lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
	(mml-smime-get-ldap-cert):
	Follow user style preference when quoting diagnostics.

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

	Fix warning message in hack-local-variables

	* lisp/files.el (hack-local-variables): use 'thisbuf' to reference
	the original buffer name in the warning message.  (Bug#21681)

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

	Etags: yet another improvement in Ruby tags

	* lib-src/etags.c (Ruby_functions): Handle continuation lines in
	Ruby accessor definitions.  (Bug#22241)

	* test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
	accessors and multiline definitions.
	* 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/CTAGS.good: Adapt to changes in Ruby tags.

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

	Fix x-popup-menu on TTYs without a mouse

	* src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
	for the TTY case without a mouse.  (Bug#22538)

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

	* lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro

2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Use pop-to-buffer-same-window in eww

	* lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
	switch-to-buffer (bug#22244).

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

	* autogen.sh: Revert all recent changes.

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

	* make-dist: Updates related to nt/.

	* make-dist: Add modules/.

	* make-dist: Update for super-special file that can't live in etc/.

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

	Fix failure to compile ns-win.el in parallel builds

	* src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
	dependency on $(lispsource)/international/charprop.el.
	(Bug#22501)

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

	Fix names of tags generated for Ruby accessors

	* lib-src/etags.c (Ruby_functions): Don't include the leading
	colon ':' in tags for Ruby accessors and aliases.  (Bug#22241)

	* 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/CTAGS.good: Adapt to changes in Ruby tags.

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

	Fix file-name recognition in 'etags'

	* lib-src/etags.c (get_language_from_filename): If FILE includes a
	leading directory, compare only its basename to the known file
	names in lang_names[].

	* test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
	renaming.
	* 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/CTAGS.good: Adapt to changes in Ruby file names and
	to the results in Makefile due to the above etags.c fix.

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

	Change Ruby file names and extensions recognized by 'etags'

	* lib-src/etags.c <Ruby_filenames>: New variable, holds names
	of Ruby files.
	<Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
	<lang_names>: Add Ruby_filenames to the Ruby entry.
	* test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
	(Bug#22241)

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

	More improvements for Ruby support in 'etags'

	* lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
	alias_method.  Identify constants even if the assignment is not
	followed by whitespace.  (Bug#22241)

	* test/etags/ruby-src/test1.ru: Add tests for constants,
	accessors, and alias_method.
	* 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/CTAGS.good: Adapt to changes in Ruby tests.

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

	Add --git-config option to autogen.sh

	* autogen.sh: New options --git-config, --help.
	(git_config): New shell var.  Alter function to respect this var.

2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>

	Fix editing undo changes in eww fields

	* eww.el (eww-tag-form): Don't overwrite initial form data in text
	fields.
	(eww-process-text-input): Make `M-t' at the end of text fields work
	better (bug#19085).

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

	Allow the user more control of popping up the eww window

	* eww.el (eww): Use pop-to-buffer-same-window (suggested by
	Michael Heerdegen) (bug#22244).

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

	Make eww-browse-url with new-window parameter work again

	* eww.el (eww-browse-url): Stay in the same buffer if we're
	already in a eww mode buffer so that eww-browse-url with a
	new-window parameter works (bug#22244).

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

	Clean up eww code slightly

	* eww.el (eww-browse-url): Clean up code slightly.

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

	Don't insert nil faces in shr

	* shr.el (shr-insert-table): Don't add nil faces, because that
	will show up in *Messages* as "Invalid face reference: nil [32
	times]".

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

	Improve the custom type of some user options.

	* lisp/autoinsert.el (auto-insert-alist):
	* lisp/replace.el (query-replace-from-to-separator):
	* lisp/gnus/gnus-art.el (gnus-hidden-properties):
	* lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
	* lisp/gnus/gnus-picon.el (gnus-picon-properties):
	* lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
	(prolog-mode-specificators, prolog-determinism-specificators)
	(prolog-directives, prolog-program-name, prolog-program-switches)
	(prolog-consult-string, prolog-compile-string, prolog-eof-string)
	(prolog-prompt-regexp): Improve custom type.

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

	Mark some risky calendar variables.

	* lisp/calendar/cal-china.el (chinese-calendar-time-zone):
	Remove risky setting for deleted obsolete alias.
	(calendar-chinese-standard-time-zone-name)
	(calendar-chinese-daylight-saving-start)
	(calendar-chinese-daylight-saving-end):
	* lisp/calendar/calendar.el (calendar-iso-date-display-form)
	(calendar-european-date-display-form)
	(calendar-american-date-display-form, calendar-date-display-form):
	* lisp/calendar/diary-lib.el (diary-remind-message)
	(diary-header-line-format):
	* lisp/calendar/solar.el (calendar-time-display-form)
	(calendar-location-name): Mark as risky.

2016-02-01  Simen Heggestøyl  <simenheg@gmail.com>

	Highlight two additional SCSS keywords

	* lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
	identifiers on the form !foo.
	(scss-bang-ids): New defconst holding SCSS identifiers on the form
	!foo.
	(css--font-lock-keywords): Highlight the new SCSS bang identifiers in
	`font-lock-builtin-face'.

	* test/indent/css-mode.css: Add bang rule test case.

	* test/indent/scss-mode.scss: Add test cases for the introduced bang
	rules.

2016-02-01  Karl Fogel  <kfogel@red-bean.com>

	Recommend enabling integrity-checking in git

	* admin/notes/git-workflow:  Recommend setting transfer.fsckObjects.

	This is related to the autogen.sh changes made by Paul Eggert in
	commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
	my edits today to https://www.emacswiki.org/emacs/GitForEmacsDevs and
	to emacswiki.org/emacs/GitQuickStartForEmacsDevs.  See also the thread
	"Recommend these .gitconfig settings for git integrity." at
	https://lists.gnu.org/r/emacs-devel/2016-01/threads.html#01802.

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

	Some corrections in Elisp manual

	* doc/lispref/buffers.texi (Read Only Buffers): Describe optional
	argument POSITION.
	* doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
	is an option.
	* doc/lispref/display.texi (Refresh Screen): Describe optional
	argument FRAME of `redraw-frame'.
	(Attribute Functions): Describe optional argument CHARACTER of
	`face-font'.
	(Defining Images): `image-load-path' is an option.
	(Beeping): `ring-bell-function' is an option.
	* doc/lispref/frames.texi (Size and Position): The PIXELWISE
	argument of `set-frame-size' is optional.
	(Raising and Lowering): The TERMINAL argument of `tty-top-frame'
	is optional.
	* doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
	`set-transient-map'.
	* doc/lispref/minibuf.texi (Text from Minibuffer):
	`read-regexp-defaults-function' is an option.
	(Minibuffer Contents): `delete-minibuffer-contents' is a command.
	* doc/lispref/modes.texi (Mode Line Variables):
	`mode-line-position' and `mode-line-modes' are variables, not
	options.
	* doc/lispref/strings.texi (Creating Strings): The START argument
	of `substring' is optional.
	* doc/lispref/text.texi (Buffer Contents): Describe optional
	argument NO-PROPERTIES of `thing-at-point'.
	(User-Level Deletion): Both arguments of
	`delete-trailing-whitespace' are optional.
	(Margins): Use @key{RET} instead of @kbd{RET}.
	* doc/lispref/windows.texi (Display Action Functions): Write
	non-@code{nil} instead of non-nil.
	(Choosing Window Options): The WINDOW arg of
	`split-window-sensibly' is optional.
	(Choosing Window Options): Write non-@code{nil} instead of
	non-nil.
	(Window Start and End): Both args of `window-group-end' are
	optional.

	* src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
	to POSITION to keep consistent with doc-string.

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

	Chatter when autogen.sh changes Git configuration

	* autogen.sh (git_config): New function.  Use it instead of ‘git config’.

2016-02-01  Kyle Meyer  <kyle@kyleam.com>

	* lisp/org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)

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

	Omit unnecessary history from Lisp intro

	* doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
	(Conclusion): Reword so as not to talk about earlier versions
	of Emacs in what should be an intro.

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

	* etc/HISTORY: Add some more history, plus git tags.

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

	Improve elisp “Security Considerations” doc

	* doc/lispref/os.texi (Security Considerations):
	Mention call-process and rename-file as opposed to shell commands.
	Add some more cross-references.

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

	autogen.sh now arranges for git to check hashes

	Suggested by Karl Fogel in:
	https://lists.gnu.org/r/emacs-devel/2016-01/msg01802.html
	* autogen.sh: Do "git config transfer.fsckObjects true".

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

	Fix (c & 040) typo in emergency escapes

	* src/keyboard.c (handle_interrupt): Fix recently-introduced
	typo (040 should have been ~040) that silently suppressed
	auto-saves after emergency escapes.  Redo comparison to avoid
	similar problems.

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

	Fix display of overlay strings with 'display' and 'box' property

	* src/xdisp.c (get_next_display_element): Take the box face from
	display stack level that comes from a buffer, not an overlay
	string.  (Bug#22499)

2016-01-31  Andreas Schwab  <schwab@linux-m68k.org>

	Fix imap-starttls-open

	* lisp/net/imap.el (imap-starttls-open): Log imap process
	output.  Call imap-parse-greeting.  (Bug#22500)

2016-01-31  Andreas Schwab  <schwab@linux-m68k.org>

	Fix return value of imap-starttls-open

	* lisp/net/imap.el (imap-starttls-open): Fix return value.

2016-01-31  John Wiegley  <johnw@newartisans.com>

	Correct reference to DARWIN_OS preprocessor symbol

	* src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
	  not be defined.

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

	Spelling fix

	Spelling fixes

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

	Pacify GCC on C library without glibc API

	Without this change, with --enable-gcc-warnings GCC would complain
	“error: redundant redeclaration of ‘aligned_alloc’”.
	* configure.ac: Simplify aligned_alloc testing.
	* src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
	since the simplified configure.ac no longer checks for that.
	Don’t declare if HAVE_ALIGNED_ALLOC.
	Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.

2016-01-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	Backport: * lisp/files.el: Remove support for extra .dir-locals file

	(dir-locals-file-2, dir-locals--all-files): Remove.
	(dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
	(dir-locals-read-from-file, hack-dir-local-variables): Revert changes.

	* lisp/files-x.el (modify-dir-local-variable): Revert changes.

	* lisp/help-fns.el (describe-variable): Revert changes.

	* doc/emacs/custom.texi (Directory Variables): Revert changes.

	* etc/NEWS: Revert changes.

2016-01-30  Glenn Morris  <rgm@gnu.org>

	* lisp/net/browse-url.el (browse-url-default-browser):
	Lower priority of non-free Chrome.

2016-01-30  Glenn Morris  <rgm@gnu.org>

	Improve the custom type of some user options.

	* lisp/desktop.el (desktop-minor-mode-table):
	* lisp/man.el (Man-frame-parameters):
	* lisp/midnight.el (midnight-delay):
	* lisp/speedbar.el (speedbar-select-frame-method):
	* lisp/tooltip.el (tooltip-frame-parameters):
	* lisp/tree-widget.el (tree-widget-space-width):
	* lisp/type-break.el (type-break-keystroke-threshold):
	* lisp/woman.el (woman-imenu-generic-expression):
	* lisp/cedet/ede.el (ede-debug-program-function):
	* lisp/cedet/ede/project-am.el (project-am-debug-target-function):
	* lisp/emulation/viper-keym.el (viper-toggle-key):
	* lisp/erc/erc-networks.el (erc-server-alist):
	* lisp/gnus/message.el (message-deletable-headers, message-signature):
	* lisp/mail/mailalias.el (mail-directory-stream):
	* lisp/play/tetris.el (tetris-x-colors):
	* lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.

2016-01-30  Simen Heggestøyl  <simenheg@gmail.com>

	Highlight CSS variables with variable name face

	* lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
	(css--font-lock-keywords): Highlight variables in
	`font-lock-variable-name-face'.

2016-01-30  Glenn Morris  <rgm@gnu.org>

	* lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.

2016-01-30  Glenn Morris  <rgm@gnu.org>

	Mark some user options that can get evalled as risky.

	* lisp/allout.el (allout-title):
	* lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
	* lisp/gnus/message.el (message-mailer-swallows-blank-line):
	* lisp/progmodes/gud.el (gud-tooltip-display):
	* lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
	Mark as risky.

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

	Disable DebPrint in sys_read on MS-Windows

	* src/w32.c (sys_read): Disable a debugging print that is normal
	when non-blocking reads are retried.

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

	;Fix ChangeLog entry

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

	Fix typos in Introduction to Emacs Lisp manual

	* doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
	(kill-new function, Digression into C)
	(Complete forward-sentence, Divide and Conquer, Find a File)
	(lengths-list-many-files, Columns of a graph, defcustom)
	(recursive-count-words): Fix typos.  Reported by Daniel Bastos
	<dbastos@toledo.com>.

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	Bump version to 25.0.90

	* README:
	* configure.ac:
	* msdos/sed2v2.inp: Bump version to 25.0.90.

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Update the AUTHORS file

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	Bump version to 25.0.90

	* README:
	* configure.ac:
	* msdos/sed2v2.inp: Bump version to 25.0.90.

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	* etc/AUTHORS: Update the AUTHORS file

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	authors.el updates

	* admin/authors.el (authors-renamed-files-alist): Additions.

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	Make it possible to run make change-history on emacs-25

	* Makefile.in: Check if the current branch is emacs-25 instead of
	  master.

2016-01-30  lu4nx  <lx@shellcodes.org>

	Support Go language in 'etags'

	* lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
	<Go_help>: New help.
	<Go_suffixes>: New variable.
	(Go_functions): New function.
	<lang_names>: Add entry for Go.  (Bug#22370)

	* doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
	* doc/man/etags.1: Mention Go support.

	* etc/NEWS: Mention Go support.

	* test/etags/go-src/test.go:
	* test/etags/go-src/test1.go: New test files.
	* test/etags/Makefile (GOSRC): New variable.
	(SRCS): Add $(GOSRC).
	* 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/CTAGS.good: Adapt to addition of Go tests.

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

	Improve Ruby support in 'etags'

	* lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
	singleton classes.  Remove class qualifiers from tags generated
	for method and constant names.  (Bug#22241)

	* doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
	are tagged by etags in Ruby.

	* etc/NEWS: Mention that constants are tagged by etags in Ruby.

	* test/etags/ruby-src/test1.ru: Add more tests.
	* 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/CTAGS.good: Adapt to the changes in etags and in Ruby
	tests.

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

	Adjust etags test results to changes in copyright years

	* 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: Adjust to shift in characters and
	in line numbers.

2016-01-30  Andreas Schwab  <schwab@linux-m68k.org>

	Revert "Re-enable checks in member, memql, delete to complain about non-lists"

	This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.

2016-01-30  Nicolas Petton  <nicolas@petton.fr>

	Make it possible to run make change-history on emacs-25

	* Makefile.in: Check if the current branch is emacs-25 instead of
	  master.

2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>

	Don't fiddle with DEFAULT

	* lisp/progmodes/project.el (project--completing-read-strict):
	Don't change DEFAULT, whether is has any matches in
	COLLECTION, or not.

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

	Document xwidget commands and functions

	* doc/lispref/display.texi (Xwidgets): New section, describes some
	of the xwidget primitives.
	* doc/lispref/display.texi (Display): Update the chapter menu.
	* doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
	* doc/emacs/emacs.texi (Top): Update the master menu to include
	the xwidget node.

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

	Build fix for shr.el

	* shr.el (seq): Require.

2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>

	Improve project-find-file yet again!

	* lisp/progmodes/project.el (project--completing-read-strict):
	New function.
	(project-find-file-in): Use it.
	(project-file-completion-table): Move the default
	implementation inside the cl-defgeneric form.
	(https://lists.gnu.org/r/emacs-devel/2016-01/msg01720.html)

2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>

	Don't pass DIR to 'hg status'

	* lisp/vc/vc-hg.el (vc-hg-dir-status-files):
	Don't pass DIR to 'hg status' (bug#22481).

2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>

	Fix typo in previous commits

	* lisp/progmodes/project.el (project-find-file-in):
	* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
	commit.

2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>

	Improve project-find-file

	* lisp/progmodes/project.el (project-file-completion-table): New.
	(project-find-file, project-or-external-find-file): Default to filename
	at point.
	(project-file-completion-table): New, split out from
	project--find-file-in.
	(project-find-file-in): Renamed from project--find-file-in, use
	project-file-completion-table.

	* lisp/progmodes/xref.el (ede-minor-mode): New declaration.
	(xref--find-ignores-arguments): Add doc string.

2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>

	Implement vc-mtn-find-ignore-file, fix some doc strings

	* lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.

	* lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.

	* lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.

	* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.

2016-01-29  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Correct a whole bunch of bugs coming with renamed cell relocation.

	This is the same change as commit on master branch. See
	https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd

	* 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 initialization.
	(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): Make cell new name a buffer local variable.
	(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-29  Andreas Schwab  <schwab@linux-m68k.org>

	Re-enable checks in member, memql, delete to complain about non-lists

	* src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.

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

	Minor doc(-string) tweaks

	* lisp/window.el (window-in-direction): Fix doc-string typo.
	* doc/lispref/frames.texi (Frame Font): Mention canonical
	character width/height.
	* doc/lispref/windows.texi (Windows and Frames): Clarify
	handling of minibuffer window for `window-in-direction'.
	(Window Sizes): Minor tweaks in descriptions of
	`window-max-chars-per-line', `window-min-width' and
	`window-min-size'.
	(Deleting Windows): Minor tweak in `delete-window' description.
	(Selecting Windows): Clarify window use time description.
	(Cyclic Window Ordering): Minor tweak.
	(Switching Buffers): Clarify description of
	`switch-to-buffer-in-dedicated-window'.

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

	Minor improvements to 'pcase' documentation

	* doc/lispref/control.texi (Pattern matching case statement):
	Improve the documentation of 'pcase' per comments.  See two
	discussion threads on emacs-devel@gnu.org for the details:
	https://lists.gnu.org/r/emacs-devel/2016-01/msg01335.html
	https://lists.gnu.org/r/emacs-devel/2016-01/msg01336.html.

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

	Don't use eval to quieten prolog.el compilation.

	* lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
	(prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.

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

	Mark some risky prolog variables.

	* lisp/progmodes/prolog.el (prolog-system-version)
	(prolog-keywords, prolog-types, prolog-mode-specificators)
	(prolog-determinism-specificators, prolog-directives)
	(prolog-program-name, prolog-program-switches)
	(prolog-consult-string, prolog-compile-string)
	(prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
	Mark anything processed by prolog-find-value-by-system as risky.

2016-01-28  Glenn Morris  <rgm@gnu.org>

	* lisp/custom.el (defcustom): Doc fix.

	* doc/lispref/customize.texi (Variable Definitions):
	Defcustom should always have a type.

2016-01-28  Glenn Morris  <rgm@gnu.org>

	* lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
	Fix :type.

	* lisp/emacs-lisp/package.el (package-load-list): Improve :type.

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

	Fix Bug#22452

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

	* lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
	connection property "connected" is set.  (Bug#22452)

2016-01-27  Glenn Morris  <rgm@gnu.org>

	* lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.

	* lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
	if not compiled with xwidgets.

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

	C-u C-x = example doc fix

	* doc/emacs/mule.texi (International Chars):
	Adjust example to match current behavior of C-u C-x =.

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

	malloc.h hygiene

	This attempts to future-proof Emacs a bit against possible glibc
	changes, by having Emacs use <malloc.h> declarations rather than
	coding them up by hand.  Problem noted by Florian Weimer in:
	https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
	Implement this mainly by moving malloc.h-related functions from
	emacs.c (which does not include <malloc.h>) to alloc.c (which does).
	* src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
	New function.
	The remaining changes to this file apply only if DOUG_LEA_MALLOC.
	(alloc_unexec_pre, alloc_unexec_post): New functions.
	(malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
	(__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
	(__malloc_initialize_hook): Use it.
	(malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
	Move here from ...
	* src/emacs.c: ... here.
	(malloc_get_state, malloc_set_state): Remove extern decls.
	(my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
	All uses changed to similarly-named new function.
	(Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
	* src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
	New decls.

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

	* doc/emacs/mark.texi (Using Region): Clarify wording.  (Bug#22467)

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

	Remove never-set var handle_user_signal_hook

	* src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
	Remove never-set var.  All uses removed.

2016-01-26  K. Handa  <handa@gnu.org>

	Backport: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.

	(cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)

2016-01-26  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.

	(cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)

2016-01-26  Anders Lindgren  <andlind@gmail.com>

	Fixed NextStep fullscreen issue (bug#22468)

	When in fullscreen mode, `[screen visibleFrame]' sometimes
	includes, sometimes excludes the menu bar. This could cause
	a frame to be placed too low when in fullscreen mode.

	* src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
	(constrain_frame_rect): New parameter, isFullscreen, when true don't
	query the height of the menu bar.
	(ns_constrain_all_frames): Pass `false' (isFullscreen) to
	`constrain_frame_rect'.
	([EmacsView initFrameFromEmacs:]): Trace.
	([EmacsView isFullscreen]): Trace.
	([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
	state to `constrain_frame_rect'.

2016-01-26  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el: Use a fixed file name for the second dir-locals file

	(dir-locals-file): Revert to its original fixed value.
	(dir-locals-file-2): New const.
	(dir-locals--all-files): Don't use `file-name-all-completions'.
	Instead, just check for the 2 dir-locals files and return a list
	of the ones that exit (if any).

	* etc/NEWS: Document the change.

	* doc/emacs/custom.texi (Directory Variables): Document the change.

	* doc/lispref/variables.texi (Directory Local Variables): Update
	accordingly.

2016-01-26  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files-x.el (modify-dir-local-variable): Small rewrite

	Change a variable name to be more meaningful, and reorder some of
	the code with no change in behavior.

2016-01-26  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (dir-locals-find-file): Refactor return values

	Returning a cache remains unchanged, but the case of returning a
	file (or pattern) is now changed to return the containing
	directory.

	(dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
	and make obsolete.
	(dir-locals-read-from-dir): Simplify accordingly.
	(hack-dir-local-variables): Simplify accordingly and rename a
	variable.

2016-01-26  Glenn Morris  <rgm@gnu.org>

	* lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
	Declare.

	* configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.

	* configure.ac (--with-cairo): Say it's experimental.

	* lisp/xwidget.el (xwidget-webkit-scroll-behavior):
	Rename using American spelling.  Update all uses.

2016-01-26  Glenn Morris  <rgm@gnu.org>

	Yet more xwidget doc fixes.

	* lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
	(xwidget-insert, xwidget-webkit-browse-url)
	(xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
	(xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
	(xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
	(xwidget-webkit-show-id-element)
	(xwidget-webkit-show-id-or-named-element)
	(xwidget-webkit-adjust-size, xwidget-webkit-current-url)
	(xwidget-webkit-execute-script-rv)
	(xwidget-webkit-copy-selection-as-kill, xwidget-get)
	(xwidget-put):  Doc fixes.
	(xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
	(xwidget-webkit-show-id-element)
	(xwidget-webkit-show-id-or-named-element): Prompt fixes.

2016-01-25  Ted Zlatanov  <tzz@lifelogs.com>

	* lisp/gnus/gnus-art.el (gnus-blocked-images):
	Add explicit nil choice and tags.

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

	Spelling fixes

2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	(font-lock-ensure-function): Fix bug#22399

	* lisp/font-lock.el (font-lock-ensure-function): Fix handling when
	font-lock-mode is not enabled (bug#22399).

2016-01-25  Alan Mackenzie  <acm@muc.de>

	Expunge "allow" + infinitive from source and doc, part 2.

	Do the same for "permit", "enable", "prevent", and (where appropriate)
	"require".

	doc/misc/reftex.texi:
	doc/misc/url.texi:
	lib/get-permissions.c:
	lib/strftime.c:
	lisp/org/org-element.el:
	lisp/org/org-mobile.el:
	lisp/textmodes/reftex-vars.el:
	src/bidi.c:
	src/emacs.c:
	src/xdisp.c:
	test/etags/c-src/emacs/src/lisp.h:

	Expunge the likes of "This allows to do something" from the above files.

2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line

	`special-mode' is already read-only.

2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error

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

	Port "$@" to OpenIndiana ksh93

	In https://lists.gnu.org/r/bug-autoconf/2015-12/msg00000.html
	Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
	(derived from ksh 93t+ 2010-03-05).  ${1+"$@"} works around an ancient
	bug in long-dead shells, so remove the workaround.
	* admin/check-doc-strings, configure.ac, lib-src/rcs2log:
	Use plain "$@" rather than ${1+"$@"}.

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

	* src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.

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

	Improve wording for SMB support

	* doc/misc/tramp.texi (External methods): Improve and modernize
	wording for discussion of smbclient.  There is no longer any
	need to mention the laundry list of old MS Windows implementations
	of SMB and CIFS, nor to mention CIFS.  Also, give a URL for Samba.

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

	Merge from gnulib

	This incorporates:
	2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
	2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
	2016-01-15 detect utimes() correctly on OS/2 kLIBC
	2016-01-15 openat_proc_name: port to OS/2 kLIBC
	2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
	2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
	2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
	2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
	2016-01-14 sig2str: list all signals on FreeBSD >= 7
	2016-01-13 acl-permissions: port to USE_ACL==0 platforms
	2016-01-12 mktime: rename macro to avoid glibc clash
	2016-01-12 Port "$@" to OpenIndiana ksh93
	2016-01-12 Port Universal Time settings to strict POSIX
	* build-aux/gitlog-to-changelog, build-aux/update-copyright:
	* doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
	* lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
	* lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
	* lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
	* m4/fcntl.m4, m4/utimes.m4:
	Copy from gnulib.
	* m4/gnulib-comp.m4: Regenerate.

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

	Expunge "allow" + infinitive without direct object from source and doc.

	Do the same for "permit", "enable", and "prevent".

	* doc/emacs/mule.texi:
	* doc/lispref/control.texi:
	* doc/lispref/display.texi:
	* doc/lispref/frames.texi:
	* doc/lispref/functions.texi:
	* doc/lispref/nonascii.texi:
	* doc/lispref/streams.texi:
	* doc/lispref/windows.texi:
	* doc/misc/dbus.texi:
	* doc/misc/eww.texi:
	* doc/misc/flymake.texi:
	* doc/misc/octave-mode.texi:
	* doc/misc/org.texi:
	* doc/misc/reftex.texi:
	* doc/misc/tramp.texi:
	* doc/misc/wisent.texi:
	* etc/NEWS:
	* lisp/autorevert.el:
	* lisp/cedet/mode-local.el:
	* lisp/cedet/semantic/senator.el:
	* lisp/cedet/semantic/wisent.el:
	* lisp/dos-fns.el:
	* lisp/frameset.el:
	* lisp/gnus/gnus-agent.el:
	* lisp/gnus/mm-util.el:
	* lisp/international/characters.el:
	* lisp/ldefs-boot.el:
	* lisp/mail/mailclient.el:
	* lisp/man.el:
	* lisp/mh-e/mh-search.el:
	* lisp/net/tramp-cmds.el:
	* lisp/net/tramp-gvfs.el:
	* lisp/org/org-crypt.el:
	* lisp/org/org-element.el:
	* lisp/org/org-feed.el:
	* lisp/org/org.el:
	* lisp/org/ox-ascii.el:
	* lisp/org/ox-icalendar.el:
	* lisp/org/ox-publish.el:
	* lisp/org/ox.el:
	* lisp/play/gamegrid.el:
	* lisp/play/gomoku.el:
	* lisp/progmodes/antlr-mode.el:
	* lisp/progmodes/python.el:
	* lisp/progmodes/vhdl-mode.el:
	* lisp/strokes.el:
	* lisp/textmodes/ispell.el:
	* lisp/tree-widget.el:
	* lisp/vc/pcvs.el:
	* lisp/window.el:
	* src/lisp.h:
	* src/w32.c:
	* src/w32heap.c:
	* src/w32term.c:
	* src/window.c:
	* src/xfaces.c:

	Replace solecisms like "This allow to do something" with a correct
	alternative, such as "This allow you to do something", "This allows
	something to be done" or "This allows the doing of something".

2016-01-24  Kelvin White  <kwhite@gnu.org>

	Add NEWS entry for asynchronous reconnect in ERC

2016-01-24  Kelvin White  <kwhite@gnu.org>

	browse-url.el: Add 'google-chrome' to supported browsers.

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

	Port Tramp manual to latest Texinfo

	Otherwise, 'make pdf' did not work (Bug#22416).
	* doc/misc/tramp.texi (xxx, yyy): Remove macros.
	(trampfn): Specialize to the case where METHOD is nonempty.
	The 2nd argument is now user@host, not 2nd user and 3rd host args.
	All uses changed.
	(trampf): New macro.

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

	* eww.el (eww-render): Protect against empty content-types.

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

	authors.el updates

	* admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
	  Additions.

2016-01-24  Dmitry Gutov  <dgutov@yandex.ru>

	Rename xref-query-replace to xref-query-replace-in-results

	* lisp/progmodes/xref.el(xref-query-replace):
	Rename to xref-query-replace-in-results.
	(https://lists.gnu.org/r/emacs-devel/2016-01/msg01240.html)

	* lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
	* lisp/dired-aux.el (dired-do-find-regexp-and-replace):
	* doc/emacs/dired.texi (Operating on Files):
	* doc/emacs/maintaining.texi (Xref Commands)
	(Identifier Search, Identifier Search): Update accordingly.

2016-01-24  Dmitry Gutov  <dgutov@yandex.ru>

	Update cl-defgeneric and cl-defmethod docstrings

	* lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
	(cl-defgeneric): Rename BODY to DEFAULT-BODY.
	(cl-defmethod): Mention that multiple dispatch arguments are
	allowed.  Document supported types.  (Bug#22336)

2016-01-23  Dmitry Gutov  <dgutov@yandex.ru>

	Comment out next-error-function integration in xref

	* lisp/progmodes/xref.el (xref--xref-buffer-mode):
	Comment out next-error-function integration
	(https://lists.gnu.org/r/emacs-devel/2016-01/msg01286.html).

2016-01-23  John Wiegley  <johnw@newartisans.com>

	Correct a use of "which" in intro.texi

2016-01-23  Alan Mackenzie  <acm@muc.de>

	Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.

	* lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
	context of case labels (including "default") more rigorously.
	(c-guess-basic-syntax CASE 15): Consequential amendment.

	* lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.

2016-01-23  Oscar Fuentes  <ofv@wanadoo.es>

	Don't operate on menu bar of nonexistent frame

	* src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
	is valid before redisplaying its menu. Fixes bug#22438.

2016-01-23  Anders Lindgren  <andlind@gmail.com>

	Unbreak the GNUstep build.

	* src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
	predefined "caution" image. Add trace.
	(x_set_window_size): Remove unused variables `cols' and `rows'.
	(ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
	GNUstep is used.
	([EmacsView updateFrameSize:]): Remove unused variable `win'.
	([EmacsWindow zoom:]): Remove unused variable `f'.

2016-01-23  Eli Zaretskii  <eliz@gnu.org>
	    John Wiegley  <johnw@gnu.org>
	    Michael Heerdegen  <michael_heerdegen@web.de>

	Improve documentation of 'pcase'

	* doc/lispref/control.texi (Pattern matching case statement):
	Reorganize, expand, and improve wording.

	* etc/NEWS: Mention that 'pcase' changes are documented.

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

	* etc/NEWS: Say that Cairo is experimental.

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

	Report error for PNG under Cairo

	* src/image.c (lookup_rgb_color): Signal a file error instead
	of dumping core when mishandling an image.

2016-01-23  Arash Esbati  <esbati@gmx.de>

	Delete a spurious backquote (tiny change)

	* lisp/textmodes/reftex-ref.el (reftex-label): Delete a
	spurious backquote which raises an error with emacs 25.

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

	Pacify --enable-gcc-warnings --with-cairo

	Problem reported by Alexander Kuleshov in:
	https://lists.gnu.org/r/emacs-devel/2016-01/msg01289.html
	* src/gtkutil.c (xg_get_page_setup):
	Use switch rather than if-then-else.
	* src/image.c (COLOR_TABLE_SUPPORT):
	Define directly rather than via #define and optional later #undef.
	(lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
	Crash when the pixel is undefined, as there is a genuine bug
	here (Bug#22442).
	* src/image.c (tiff_load, gif_load, svg_load_image)
	(x_kill_gs_process) [USE_CAIRO]:
	* src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
	Omit unused locals, or move them to where they’re needed.
	(x_clear_area1): Now ATTRIBUTE_UNUSED.

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

	Update documentation for Dired search and replace

	* doc/emacs/dired.texi (Operating on Files): Update descriptions
	of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
	'dired-do-find-regexp-and-replace'.

	* etc/NEWS: Mention xref-related changes in Dired.

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

	Port recent xdisp.c fix to picky C compilers

	* src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
	putting #if inside the arguments to a standard function, which
	the C standard says has undefined behavior.

2016-01-22  Alan Mackenzie  <acm@muc.de>

	Prevent spurious recognition of K&R argument declarations.  Fixes bug #2203

	* lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
	(c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
	contained in the preceding arg list.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
	`c-forward-declarator' in place of inline code.

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

	Fix the build with --enable-checking=glyphs

	* src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
	build without xwidget support.

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

	Document cl-generic.el

	* doc/lispref/functions.texi (Generic Functions): New section.
	(Bug#22336)
	(Functions): Update the chapter menu.
	* doc/lispref/elisp.texi: Update the master menu.

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

	xwidgets style cleanup

	Adjust the newly-added Xwidgets code so that it uses a more-typical
	Emacs style.  This should not affect behavior, except that in
	a few places it adds runtime checks that Lisp arguments are of
	the proper type, and in one place it uses more-precise arithmetic.
	* src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
	* src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
	Include xwidget.h unconditionally.
	* src/buffer.c (Fkill_buffer):
	* src/dispnew.c (update_window):
	* src/emacs.c (main):
	* src/print.c (print_object):
	* src/window.c (Fdelete_window_internal):
	* src/xdisp.c (handle_single_display_spec, push_it, pop_it)
	(get_next_element, set_iterator_to_next, next_element_from_xwidget)
	(dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
	(BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
	* src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
	Call xwidget functions and macros without worrying about
	HAVE_XWIDGETS when the code is a no-op on non-xwidget
	platforms.
	* src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
	(IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
	(struct it.xwidget):
	* src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
	Always define.
	* src/emacsgtkfixed.h: Omit unnecessary comment.
	* src/keyboard.c: Fix spacing.
	* src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
	Define to be a no-op if not HAVE_XWIDGETS.
	* src/xwidget.c: Include xwidget.h first (after config.h)
	to make sure that it can stand by itself.
	(Fmake_xwidget, Fxwidget_webkit_execute_script):
	Fix typo in doc string.
	(Fmake_xwidget): Check type of args.
	(Fmake_xwidget, offscreen_damage_event)
	(webkit_document_load_finished_cb, webkit_download_cb)
	(webkit_new_window_policy_decision_requested_cb)
	(webkit_navigation_policy_decision_requested_cb)
	(xwidget_osr_draw_cb, xwidget_osr_event_forward)
	(xwidget_osr_event_set_embedder, xwidget_init_view):
	Omit unnecessary casts.
	* src/xwidget.c (Fmake_xwidget, xwidget_hidden)
	(xwidget_show_view, xwidget_hide_view)
	(x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
	(xwidget_touched):
	* src/xwidget.h (struct xwidget.kill_without_query)
	(struct xwidget_view.redisplayed, struct xwidget_view.hidden):
	Use bool for boolean.
	* src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
	Simplify by using list functions.
	(WEBKIT_FN_INIT): Omit unnecessary test for nil.
	(Fxwidget_resize): Check type of integer args
	before doing any work.  Check that they are nonnegative.
	(Fxwidget_set_adjustment): Check type of integer arg.
	Avoid redundant call to gtk_scrolled_window_get_vadjustment.
	Simplify.  Use double, not float.
	(Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
	(valid_xwidget_spec_p): Simplify.
	(xwidget_spec_value): Omit unused arg FOUND.  All callers changed.
	* src/xwidget.h: Include lisp.h first, so that includers do
	not need to worry about doing that before including this file.
	Make this .h file safe to include even on non-HAVE_XWIDGETS
	configurations, to simplify the includers.
	(x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
	(xwidget_end_redisplay, lookup_xwidget)
	(xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
	Now a no-op if !HAVE_XWIDGETS, to simplify callers.
	(struct glyph_matrix, struct glyph_string, struct xwidget)
	(struct xwidget_view, struct window):
	New forward or incomplete decls, so that includers need not
	assume the corresponding .h files are already included, or that
	HAVE_XWIDGETS is defined.
	(struct xwidget_type, xwidget_from_id): Remove; unused.

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

	Backport kqueue integration from master

	* 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.  Add error message for
	gfile on Nextstep.

	* doc/lispref/os.texi (File Notifications): Add kqueue as backend.
	Fix some glitches in the example.

	* etc/NEWS: Mention 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.
	(file-notify--rm-descriptor): Remove WHAT arg.

	* src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.

	* src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.

	* 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.

	* src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.

	* src/kqueue.c: New file.

	* src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.

	* test/automated/file-notify-tests.el
	(file-notify--test-expected-events): Remove.
	(file-notify--test-cleanup): Do not set that variable.
	(file-notify--test-timeout) Use different timeouts for
	different libraries.
	(file-notify--test-library): New defun.
	(file-notify--test-event-test): Make stronger checks.
	(file-notify--test-with-events): EVENTS can also be a list of
	lists.  Flush outstanding events before running the body.
	Make timeout heuristically depend on the number of events.
	(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-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): New test.

2016-01-22  John Wiegley  <johnw@newartisans.com>

	Further corrections to the pcase docstring

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

	* doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.

2016-01-22  Stephen Leake  <stephen_leake@stephe-leake.org>

	In xref-collect-references, force backends to respect the 'dir' arg

	* lisp/progmodes/xref.el (xref-collect-references): Force symref backends
	to use `default-directory'.

2016-01-22  John Wiegley  <johnw@newartisans.com>

	Minor correction to pcase docstring

2016-01-22  John Wiegley  <johnw@newartisans.com>

	Write a new docstring for the pcase macro

	* lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.

2016-01-21  Stephen Berman  <stephen.berman@gmx.net>

	Avoid byte-compiler warning in todo-mode (bug#21953)

	* lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
	to looking-back to comply with advertised-calling-convention.

2016-01-21  Stephen Berman  <stephen.berman@gmx.net>

	Fix desktop support in todo-mode and doc-view (bug#22377)

	* lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
	* lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.

	* lisp/calendar/todo-mode.el (todo-modes-set-2):
	* lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.

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

	No need to configure gobject-introspection

	It wasn’t needed for the recently-installed xwidget_mvp code; see:
	https://lists.gnu.org/r/emacs-devel/2016-01/msg01154.html
	* configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
	(HAVE_GIR):
	* src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
	Remove.  All uses removed.
	* configure.ac (emacs_config_features): Don’t worry about GIR.

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

	Don’t export C symbols not used elsewhere

	These were recently added, mostly as part of xwidget code.
	* src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
	(EMACS_FIXED, EMACS_FIXED_GET_CLASS):
	Now static functions here, not macros in emacsgtkfixed.h.
	* src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
	Remove.  All uses replaced by definiens.
	(EMACS_FIXED, EMACS_FIXED_GET_CLASS):
	Remove; these are now static functions in emacsgtkfixed.c.
	(EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
	Remove; unused.
	(emacs_fixed_get_type): Remove decl; no longer extern.
	* src/xwidget.c (offscreen_damage_event)
	(webkit_mime_type_policy_typedecision_requested_cb)
	(webkit_new_window_policy_decision_requested_cb)
	(webkit_navigation_policy_decision_requested_cb)
	(xwidget_spec_value, xwidget_view_lookup)
	(xwidget_start_redisplay, xwidget_touch):
	Now static.
	* src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
	Remove decls.

2016-01-20  Dmitry Gutov  <dgutov@yandex.ru>

	Support squiggly heredocs in ruby-mode

	* lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
	Support squiggly heredocs added in Ruby 2.3.

	* test/indent/ruby.rb: Add squiggly example.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	* configure.ac (emacs_config_features): Remove WEBKIT.

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

	Port to platforms with gtk3 but not webkitgtk3

	I ran into this problem on my Fedora 23 installation;
	Emacs configured but did not build when --with-xwidgets was specified.
	* configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
	(DOES_XWIDGETS_USE_GIR): New var.
	If --with-xwidgets is specified, report an error if not
	doable, to be consistent with the other --with options.
	Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
	not work at all without webkitgtk3.  Simplify use of
	EMACS_CHECK_MODULES.  Output message about gobject
	introspection only if xwidgets are used.
	* etc/NEWS: Users need webkitgtk3, not merely webkit.
	* src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
	since this file is no longer compiled if webkitgtk3 is not available.

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

	Fix doc string of 'isearch-search-fun-function'

	* lisp/isearch.el (isearch-search-fun-function)
	(isearch-search-string): Doc fixes.  (Bug#22411)

2016-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/xwidget.el: Nitpicks

	* lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
	Use with-current-buffer rather than save-excursion + set-buffer.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	Don't hard-code 1 as point-min.

	* lisp/image-mode.el (image-display-size):
	* lisp/xwidget.el (xwidget-webkit-last-session)
	(xwidget-webkit-current-session): Don't hard-code 1 as point-min.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	* lisp/xwidget.el: Add declarations to silence non-xwidget compilation.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	Trivial doc copyedits.

	* src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
	(Fxwidget_webkit_get_title, Fxwidget_resize)
	(Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
	(Fxwidget_info, Fxwidget_view_lookup)
	(Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	Avoid advising image-display-size for xwidgets.

	* lisp/xwidget.el (xwidget-image-display-size): Remove.
	(image-display-size): Remove advice.
	* lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
	(image-display-size): Incorporate xwidget code directly.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	Avoid breaking non-xwidget Emacs that happen to load xwidget.el.

	* lisp/xwidget.el (window-configuration-change-hook)
	(kill-buffer-query-functions): Only modify these hooks if
	compiled with xwidget support.

2016-01-20  Glenn Morris  <rgm@gnu.org>

	* lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.

2016-01-19  Glenn Morris  <rgm@gnu.org>

	* configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.

	* configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.

	* configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.

2016-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/nnir.el (nnir-request-update-mark):
	Default to the original mark.
	cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
	and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>

2016-01-19  Glenn Morris  <rgm@gnu.org>

	* lisp/xwidget.el (report-xwidget-bug): Remove.

	(top-level): No longer require reporter.

2016-01-19  Joakim Verona  <joakim@verona.se>
	    Grégoire Jadi  <daimrod@gmail.com>

	Support for the new Xwidget feature.

	* configure.ac:
	(HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
	* src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
	* src/xdisp.c:
	(handle_display_spec, handle_single_display_spec, push_it)
	(pop_it, set_iterator_to_next, dump_glyph)
	(calc_pixel_width_or_height, fill_xwidget_glyph_string)
	(BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
	(produce_xwidget_glyph, x_produce_glyphs)
	(get_window_cursor_type):
	* src/window.c (Fdelete_window_internal):
	* src/termhooks.h (e):
	* src/print.c (print_object):
	* src/lisp.h (ptrdiff_t):
	* src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
	(syms_of_keyboard):
	* src/emacs.c (main):
	* src/dispnew.c (update_window, scrolling_window):
	* src/dispextern.h (g, i):
	* Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
	(GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
	* src/keyboard.c (kbd_buffer_get_event):
	* src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
	(emacs_fixed_class_init): Add case for an xwidget view.

	* src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets


	Various improvements to the Xwidget feature.
	* src/xwidget.c:
	* src/emacsgtkfixed.c:
	* lisp/xwidget.el:

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

	Improve documentation of 'alist-get'

	* doc/lispref/variables.texi (Setting Generalized Variables): Add
	'alist-get' to the list of functions that can appear in PLACE
	argument of 'setf'.

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

	Minor copyedits of doc/emacs/maintaining.texi

	* doc/emacs/maintaining.texi (List Identifiers): More accurate
	description of "C-M-i" wrt tags tables.
	(Tags Tables): Move the definition of "tag" to a footnote.

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

	Unbreak the Cygwin-w32 build

	* src/w32fns.c (globals_of_w32fns): Move the initialization of
	resetstkoflw into a part that isn't compiled on Cygwin.
	(Bug#22403)

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

	* shr.el (shr-table-body): Allow tables to have text children.

2016-01-19  Phillip Lord  <phillip.lord@russet.org.uk>

	Cope with multiple overlapping faces.

	* lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
	  left.
	  (hfy-face-resolve-face): Handle font specification as well as font
	  name. Documentation update. (Bug#21990)

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

	Fix spurious escapes in describe-input-method

	Problem reported by Vincent Belaïche (Bug#22309).
	* lisp/international/mule-cmds.el (describe-language-environment):
	* lisp/international/quail.el (quail-help):
	Apply substitute-command-keys to doc strings before displaying them.

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

	Minor improvements to (random t) documentation

	* doc/lispref/numbers.texi (Random Numbers):
	* src/fns.c (Frandom):
	Omit unnecessary details about randomness fallback.
	Say that it is a fallback.

2016-01-19  Dmitry Gutov  <dgutov@yandex.ru>

	Rename methods in Ruby etags example file

	* test/etags/ruby-src/test.rb: Rename the example methods to
	correspond to the common terminology used in Ruby.
	* 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: Adjust accordingly.

2016-01-19  Dmitry Gutov  <dgutov@yandex.ru>

	Propertize backtick in 'def `(abc)' as symbol constituent

	* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
	Propertize backtick in 'def `(abc)' as symbol constituent.
	(ruby-syntax-propertize-function):
	Rename to ruby-syntax-propertize.

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

	Fix scrolling under scroll-preserve-screen-position on TTY

	* src/window.c (window_scroll_line_based): When setting point to
	preserve screen coordinates, don't let cursor enter either of the
	two scroll margins.  (Bug#22395)

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

	Fix shr table rendering of nested tables

	* shr.el (shr-table-body): Don't include all tbodies in nested
	tables in the levels above.

2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/project.el (project--read-regexp): Quote the identifier.

2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>

	Add xref-based replacements for Dired search commands

	* lisp/dired-aux.el (dired-do-find-regexp)
	(dired-do-find-regexp-and-replace): New commands.
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00864.html

	* lisp/dired.el (dired-mode-map): Change bindings for `A' and
	`Q' to the new commands.

	* lisp/progmodes/xref.el (xref-query-replace)
	(xref-collect-matches): Add progress reporters.
	(xref--find-ignores-arguments): Return nil for zero ignores.
	(xref--show-xrefs): Add an optional argument.
	(xref-collect-matches): Drop the assert.  'find' accepts a
	regular file in place of directory argument, too.

2016-01-18  Alan Mackenzie  <acm@muc.de>

	* doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.

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

	Improve user documentation of Xref

	* doc/emacs/maintaining.texi (Xref, Find Identifiers)
	(Looking Up Identifiers, Identifier Search, List Identifiers):
	Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>.  See
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00650.html
	for the details.

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

	Fix scrolling under scroll-preserve-screen-position and margins

	* src/window.c (window_scroll_pixel_based): When setting point to
	preserve screen coordinates, don't let cursor enter either of the
	two scroll margins.  Fix incorrect usage of
	WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
	instead of CURRENT_HEADER_LINE_HEIGHT.  (Bug#22395)

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

	Unbreak the MS-Windows build

	* src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
	WINDOWSNT, to avoid link failure.  (Bug#22202)

2016-01-18  Alan Mackenzie  <acm@muc.de>

	Desktop: protect users against inadvertent upgrading of desktop file.

	An upgraded (version 208) desktop file cannot be read in Emacs < 25.

	* etc/NEWS: Add an entry about upgrading a desktop file.

	* lisp/desktop.el (desktop-file-version): Amend doc string.
	(desktop-native-file-version, desktop-io-file-version): new variables.
	(desktop-clear): Set desktop-io-file-version to nil.
	(desktop-buffer-info): make the presence of the last item on the list
	conditional on (>= desktop-io-file-version 208).
	(desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
	Amend the doc string.  Add code to determine the output file version.
	(desktop-create-buffer): Set desktop-io-file-version to the input file's
	version.

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

	Initialize GnuTLS before calling gnutls_rnd

	* src/gnutls.c (emacs_gnutls_global_init): Now extern.
	Don’t set gnutls_global_initialized if gnutls_global_init fails.
	* src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
	if 2.12 or later, which has gnutls_rnd.
	(emacs_gnutls_global_init, gnutls_rnd): New fallback
	placeholder macros if before 2.12.
	(init_random): Initialize gnutls globals before trying to
	use gnutls_rnd.

2016-01-18  Andreas Schwab  <schwab@linux-m68k.org>

	Don't use GnuTLS before it is initialized

		* src/sysdep.c (init_random): Don't use gnutls_rnd.

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

	Port cleanup attribute to OpenBSD

	The OpenBSD C compiler issues false alarms about strcpy, strcat, and
	sprintf, and this messes up 'configure' when it tests for the cleanup
	attribute.  Work around the problem by using __has_attribute directly.
	Problem reported by Joakim Jalap (Bug#22385).
	* configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
	* m4/ax_gcc_var_attribute.m4: Remove.
	* src/conf_post.h (__has_attribute): Provide a substitute, for
	non-GCC or older GCC compilers.  All uses changed to assume
	the substitute.  Check for the cleanup attribute.
	* src/emacs-module.c (module_has_cleanup): Just use __has_attribute.

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

	Prefer GnuTLS when acquiring random seed

	This attempts to improve on the fix for Bug#22202.
	* configure.ac (HAVE_DEV_URANDOM): Remove.
	Check /dev/urandom existence at run time, not at build time,
	since the device could exist in the former but not the latter.
	* src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
	(gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
	(random_seed): New typedef.
	(set_random_seed): New static function.
	(seed_random): Use them.
	(init_random): Use random_seed instead of uintmax_t, so as to
	not consume more entropy than needed.  Prefer gnutls_rnd if it
	works; this avoids a redundant open of /dev/urandom on
	GNU/Linux with modern GnuTLS.

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

	Improve documentation of dynamic modules

	* doc/lispref/loading.texi (How Programs Do Loading): Update the
	description of searching for files in 'load' when Emacs was built
	with support for dynamic modules.

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

	* INSTALL: Document --with-modules.

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

	Document 'function-put'

	* doc/lispref/symbols.texi (Symbol Plists): Document
	'function-put'.  Update documentation of 'function-get'.

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

	Document 'funcall-interactively'

	* doc/lispref/commands.texi (Interactive Call): Document
	'funcall-interactively'.
	* doc/lispref/functions.texi (Calling Functions): Mention
	'funcall-interactively' and provide a cross-reference.

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

	* doc/lispref/lists.texi (Association Lists): Document 'alist-get'.

	* doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.

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

	Document renaming of selection-related functions

	* doc/lispref/frames.texi (Window System Selections): Rename "x-*"
	functions into the corresponding "gui-*" functions.  Make the
	description slightly less X-centric.

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

	* doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.

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

	Document 'define-inline'

	* doc/lispref/functions.texi (Defining Functions): Document
	'define-inline' and related macros.

	* lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.

2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (dir-locals--all-files): Respect absolute file-names

	* lisp/help-fns.el (describe-variable): Fix a left-over parenthesis

2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable

	instead of manually writing a dir-locals file.

2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (dir-locals--all-files): Use completion instead of wildcards

	(dir-locals-file)
	* lisp/files-x.el (modify-dir-local-variable)
	* lisp/dos-fns.el (dosified-file-name)
	* lisp/help-fns.el (describe-variable): Change accordingly.

2016-01-16  Jussi Lahdenniemi  <jussi@aprikoodi.fi>  (tiny change)

	Fix incompatbilities with MS-Windows 2000 and older

	* src/w32.c <multiByteToWideCharFlags>: New global variable.
	(filename_to_utf16, filename_from_ansi, check_windows_init_file):
	Use it instead of the literal MB_ERR_INVALID_CHARS.
	(maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
	appropriate for the underlying OS version.  For details, see
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00835.html.
	* src/w32.h: Declare multiByteToWideCharFlags.
	* src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
	(add_tray_notification): Use multiByteToWideCharFlags instead of
	the literal MB_ERR_INVALID_CHARS.
	(_resetstkoflw_proc): New typedef.
	(w32_reset_stack_overflow_guard): Call _resetstkoflw via a
	pointer, as this function is absent in msvcrt.dll shipped with W2K
	and older systems.

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

	Mention in PROBLEMS an issue with MS-Windows NT4

	* etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
	on Windows NT4.  For the details, see
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00835.html.

2016-01-16  Jussi Lahdenniemi  <jussi@aprikoodi.fi>  (tiny change)

	Ensure 8-byte aligned memory allocation on MS-Windows 9X

	* src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
	special functions on Windows 9X.  Refuse to dump Emacs on Windows 9X.
	(malloc_after_dump_9x, realloc_after_dump_9x)
	(free_after_dump_9x): New functions.  (Bug#22379)  See also
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00852.html
	for more details about the original problem.

	* nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
	(free_after_dump_9x): Add prototypes.

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

	Fix tests for active region in hideif.el

	* lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
	'use-region-p' to test whether to operate on region, instead of
	testing 'mark-active'.

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

	Fix interactive specs in some hideif.el commands

	* lisp/progmodes/hideif.el (hif-evaluate-macro)
	(hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
	in commands that should only act on the region if it's active.

2016-01-15  Phillip Lord  <phillip.lord@russet.org.uk>

	Enable test selector from command line

	* test/automated/Makefile.in: Change variable manipulation to avoid
	  over-writing selector.

2016-01-15  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.el (c-:$-multichar-token-regexp): New language
	variable.

2016-01-15  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)

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

	Fix crashes when mini-window has non-zero margins

	* src/window.c (resize_frame_windows): Use 'new_size' to set
	minibuffer window's 'total_cols' value, as 'size' might be in
	pixels.  (Bug#22356)

2016-01-15  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'.

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

	Make 'random' seeds cryptographically secure if possible

	* configure.ac: Check for "/dev/urandom".

	* src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
	for the seed from "/dev/urandom".
	[WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
	* src/fns.c (Frandom): Update the doc string to indicate that
	system entropy is used when available.
	* src/w32.c: Include wincrypt.h.
	(w32_init_crypt_random, w32_init_random): New functions, use the
	CryptGenRandom API.
	(globals_of_w32): Initialize w32_crypto_hprov handle to zero.
	* src/w32.h (w32_init_random): Add prototype.

	* doc/lispref/numbers.texi (Random Numbers): Document more details
	about 't' as the argument to 'random'.

	* etc/NEWS: Mention that '(random t)' now uses a cryptographically
	strong seed if possible.

	(Bug#22202)

2016-01-15  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.

2016-01-15  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)

2016-01-15  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-01-14  Simen Heggestøyl  <simenheg@gmail.com>

	Disallow parenthesis in non-pseudo CSS selectors

	* lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
	parenthesis in selectors except for in the function notation that
	might appear right after a pseudo-class.
	* test/indent/scss-mode.scss: Add a test for it.

2016-01-14  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/nntp.el (nntp-request-newgroups): Simplify

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

	check-maybe shall run only default tests

	* test/automated/Makefile.in (check, check-expensive): Depend on
	mostlyclean.
	(check-maybe): Re-run only default tests.
	(check-doit): Use code of check-maybe.
	(mostlyclean): Move *.log files away.

2016-01-14  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"

2016-01-14  Dmitry Gutov  <dgutov@yandex.ru>

	Un-obsolete tags-loop-continue

	* lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00682.html

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

	Document obsoletion of 'intangible' and 'point-entered/left'

	* doc/lispref/text.texi (Special Properties): Document the new
	properties 'cursor-intangible' and 'cursor-sensor-functions'.
	Document the obsolete status of 'intangible', 'pointer-left',
	and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
	* doc/lispref/display.texi (Overlay Properties): Document that
	'intangible' overlay property is obsolete.

	* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.

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

	Updater documentation of 'looking-back'

	* doc/lispref/searching.texi (Regexp Search): Update documentation
	of 'looking-back'.  Fix markup.

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

	Document 'pre-redisplay-functions'

	* doc/lispref/hooks.texi (Standard Hooks):
	* doc/lispref/display.texi (Forcing Redisplay): Document
	'pre-redisplay-functions'.

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

	Document the new default value of 'load-read-function'

	* doc/lispref/loading.texi (How Programs Do Loading): Document the
	change in the default value of 'load-read-function'.

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

	Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'

	* doc/lispref/nonascii.texi (Text Representations): Document
	'bufferpos-to-filepos' and 'filepos-to-bufferpos'.

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

	Document the new prefix-command hooks

	* doc/lispref/hooks.texi (Standard Hooks): Document
	`prefix-command-echo-keystrokes-functions' and
	`prefix-command-preserve-state-hook'.

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

	Fix one more misuse of time-stamp-time-zone

	* test/etags/html-src/softwarelibero.html: Use "UTC0" rather
	than the unportable "GMT" for time zone.

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

	Fix NNTP NEWGROUPS off-by-a-few-hours bug

	* lisp/gnus/nntp.el (nntp-request-newgroups): Format string
	in Universal Time, since we’re telling the server “GMT”.

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

	Update publicsuffix.txt from upstream

	* etc/publicsuffix.txt: Update from
	https://publicsuffix.org/list/effective_tld_names.dat
	dated 2016-01-12 11:52:01 UTC.

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

	Fix some declarations.

	* lisp/descr-text.el (internal-char-font):
	* lisp/cedet/mode-local.el (xref-item-location):
	* lisp/gnus/mml-smime.el (epg-key-sub-key-list)
	(epg-sub-key-capability, epg-sub-key-validity):
	* lisp/international/mule-util.el (internal-char-font):
	Fix declarations.

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

	Fix some custom types.

	* lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
	* lisp/gnus/gnus.el (gnus-valid-select-methods):
	* lisp/mail/rmail.el (rmail-get-coding-function):
	* lisp/net/newst-treeview.el (newsticker-groups-filename):
	* lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
	* lisp/textmodes/tildify.el (tildify-space-predicates):
	* lisp/url/url-tramp.el (url-tramp-protocols):
	Fix custom types.

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

	Add some missing version tags.

	* lisp/electric.el (electric-quote-comment)
	(electric-quote-string, electric-quote-paragraph):
	* lisp/epg-config.el (epg-gpgconf-program):
	* lisp/rect.el (rectangle-preview):
	* lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
	* lisp/emacs-lisp/package.el (package-selected-packages)
	(package-hidden-regexps):
	* lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
	* lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
	* lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
	(mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
	(mml-smime-encrypt-to-self, mml2015-sign-with-sender)
	(mml-smime-sign-with-sender, mml2015-always-trust)
	(mml-secure-fail-when-key-problem, mml-secure-key-preferences):
	* lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
	(browse-url-conkeror-arguments):
	* lisp/net/newst-reader.el (newsticker-download-logos):
	* lisp/progmodes/gud.el (gud-guiler-command-name):
	* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
	* lisp/progmodes/project.el (project-vc):
	* lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
	(python-shell-remote-exec-path, python-shell-first-prompt-hook)
	(python-shell-completion-native-disabled-interpreters)
	(python-shell-completion-native-enable)
	(python-shell-completion-native-output-timeout)
	(python-shell-completion-native-try-output-timeout):
	* lisp/progmodes/xref.el (xref):
	* lisp/term/screen.el (xterm-screen-extra-capabilities):
	* lisp/term/xterm.el (xterm-max-cut-length):
	Add missing version tags.

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

	* test/automated/core-elisp-tests.el
	(core-elisp-tests-1-defvar-in-let): Add a custom type.

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

	* src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.

	Remove comments that do not apply since 2005-08-09.  (Bug#22349)

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

	Merge from gnulib

	This mostly just changes "UTC" to "UTC0" for POSIX conformance.
	It also updates to the latest version of texinfo.tex.
	* build-aux/gitlog-to-changelog, build-aux/move-if-change:
	* build-aux/update-copyright, doc/misc/texinfo.tex:
	Update from gnulib.

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

	Update documentation of 'process-running-child-p'

	* doc/lispref/processes.texi (Input to Processes): Document the
	changes in return value of 'process-running-child-p'.

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

	Update documentation of 'deactivate-mark'.

	* doc/lispref/markers.texi (The Mark): Document that
	'deactivate-mark' is now buffer-local when set.

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

	Update documentation of 'completion-table-dynamic'

	* doc/lispref/minibuf.texi (Programmed Completion): Document the
	new optional argument to 'completion-table-dynamic'.

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

	Document changes in 'read-buffer' and 'read-buffer-function'

	* doc/lispref/minibuf.texi (High-Level Completion): Document the
	4th argument to 'read-buffer' and 'read-buffer-function'.

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

	Fix time-stamp-time-zone bugs introduced in July

	This fixes a bug introduced when the July changes to
	format-time-string installed, as the changes were not
	correctly handled in this module (Bug#22302).
	Also, document time stamp time zones.
	* lisp/time-stamp.el (time-stamp-time-zone): Document values better.
	(time-stamp--format): New private function.
	(time-stamp-string, time-stamp-string-preprocess)
	(time-stamp-do-number): Use it.
	* doc/emacs/files.texi (Time Stamps): Mention time zones.
	* doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.

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

	Make piping to subprocesses more robust on MS-Windows

	* src/w32.c (sys_write): Don't write to a pipe more stuff than its
	buffer can hold.  Don't return -1 if something has been written to
	the pipe.  Zero out 'errno' before calling '_write', to avoid
	returning a stale value.  (Bug#22344)
	* src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
	* src/w32.c (pipe2): Use it to request a user-defined size for the
	pipe being created.

	* etc/NEWS: Mention 'w32-pipe-buffer-size'.

	* doc/emacs/msdos.texi (Windows Processes): Document
	'w32-pipe-buffer-size'.

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

	test/automated/vc-hg.el: Support out-of-tree build

	* test/automated/vc-hg.el
	(vc-hg-annotate-extract-revision-at-line-with-filename)
	(vc-hg-annotate-extract-revision-at-line-with-both):
	Don't refer to source-directory.
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00755.html

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

	Minor change in tramp-tests.el

	* test/automated/tramp-tests.el (tramp-test29-vc-registered):
	Use `dired-uncache' instead of a Tramp internal function.

2016-01-11  Peter Feigl  <peter.feigl@nexoid.at>

	* etc/HELLO: Add Armenian and Mongolian greetings.

	(Bug#22346)

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

	Java Mode: Fontify identifiers in the presence of annotations.

	* lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
	Don't move point when the defun fails.
	(c-forward-decl-or-cast-1): Correct a usage of match data.

	* lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
	(c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
	removed variable.

	* lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.

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

	Avoid an infloop when we run out of memory

	* src/alloc.c (garbage_collect_1): Don't bother saving and
	restoring the echo-area message if we are GC'ing after running out
	of memory.  This avoids an infloop due to repeated attempts to
	allocate memory for the cons cell needed to save the message,
	which signals the memory-full error, which attempts to save the
	echo-area message, which signals memory-full again, etc.

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

	Avoid unnecessary failures of auto-saving after fatal error

	* src/w32.c (map_w32_filename): Avoid non-trivial system calls for
	the benefit of FAT volumes if we are called as part of shutting
	down due to a fatal error, which probably means we are trying to
	auto-save the session.
	* src/lread.c (check_obarray): Don't bother making the obarray
	valid if we are shutting down due to a fatal error.  This avoids
	interfering with auto-saving the crashed session.

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

	Simplify HAVE_MODULES use in mark_maybe_pointer

	* src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
	so that later code can use 'if' rather than '#ifdef'.
	(mark_maybe_pointer): Simplify based on HAVE_MODULES now
	always working.

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

	Revert attempt to use 'noexcept' in typedef

	This use of 'noexcept' runs afoul of the C++11 standard.
	Problem reported by Philipp Stephani in:
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00706.html
	* src/emacs-module.c (emacs_finalizer_function):
	Move this typedef here ...
	* src/emacs-module.h: ... from here, and use only the C
	version of the typedef.  The typedef is now private since it
	is never used in the .h file now and anyway it seemed to be
	causing more confusion than it cured.
	(make_user_ptr, get_user_finalizer, set_user_finalizer):
	Open-code the type instead.

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

	Update documentation of 'indirect-function'

	* doc/lispref/eval.texi (Function Indirection): Update the
	documentation of 'indirect-function'.

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

	Update documentation for obsoleting 'syntax-begin-function'

	* doc/lispref/syntax.texi (Position Parse): Undocument
	'syntax-begin-function' that is now obsolete.

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

	Document new features if Eshell

	* doc/misc/eshell.texi (Input/Output): Document the new
	'#<bufname>' syntax.
	(Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
	Disable "Key Index" generation, as there are no @kindex entries in
	this manual.

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

	Handle too long commands in Tramp

	* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
	(tramp-do-file-attributes-with-ls): Send sequence of commands, in
	order to not exceed shell command line limit.

	* test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
	(tramp--test-utf8): Include Arabic file name, again.

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

	* .gitattributes: *.cur and *.pif are binary files too.

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

	* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined

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

	* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)

	* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
	within $(...).
	* test/indent/shell.sh: Add corresponding test.

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

	* src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value

	(mark_memory): Simplify loop.  Don't assume a pointer-sized word can be
	cast to Lisp_Object.

2016-01-10  Dmitry Gutov  <dgutov@yandex.ru>

	Use short date for 'hg annotate', and output the author

	* lisp/vc/vc-hg.el (vc-hg-annotate-command):
	Change '-d' to '-dq'.  (Bug#21805)
	(vc-hg-annotate-switches): Default to "-u" "--follow".
	(vc-hg-annotate-re): Update to recognize the short date format
	and the optional username.
	(vc-hg-annotate-time)
	(vc-hg-annotate-extract-revision-at-line): Update accordingly.

	* test/automated/vc-hg.el: New file.

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

	Spelling fix

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

	Document user-level functions in project.el

	* lisp/progmodes/project.el (project-find-file)
	(project-or-external-find-file): Add doc strings.

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

	Document the user-level features of the Xref package

	* doc/emacs/maintaining.texi (Maintaining): Add a list of
	described features.
	(Xref): New section, made out of thoroughly rewritten "Tags"
	section.
	(Find Identifiers, Looking Up Identifiers, Xref Commands)
	(Identifier Search, List Identifiers): New subsections,
	incorporating the old tags commands and the new xref commands.
	(Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
	Section and subsections demoted to a lower level.
	* doc/emacs/search.texi (Search):
	* doc/emacs/windows.texi (Pop Up Window):
	* doc/emacs/frames.texi (Creating Frames):
	* doc/emacs/programs.texi (Imenu, Symbol Completion):
	* doc/emacs/building.texi (Grep Searching):
	* doc/emacs/dired.texi (Operating on Files):
	* doc/emacs/glossary.texi (Glossary): All references to tags changed.

2016-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc/lispref/loading.texi: Add `define-type' entry for load-history

	* doc/lispref/loading.texi (Where Defined): Remove incorrect
	cl-defmethod description, and add missing define-type entry.

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

	Improve doc strings and prompts in xref.el

	* lisp/progmodes/xref.el (xref-backend-functions)
	(xref-find-definitions): Doc fixes.
	(xref-query-replace): Doc fix.  Improve prompts for arguments.

2016-01-09  Alan Mackenzie  <acm@muc.de>

	Allow the use of `font-lock-extend-region-multiline' in CC Mode.

	* lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
	`font-lock-extend-regions-wholelines' from
	`font-lock-extend-region-functions' rather than setting the latter to
	nil.

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

	Fix coding system for Tramp on OS X.

	* lisp/net/tramp-compat.el: Require ucs-normalize.

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Set coding system to `utf-8-hfs' for Mac OS X.

	* test/automated/tramp-tests.el (tramp-test29-vc-registered):
	Flush directory properties when needed.
	(tramp--test-utf8): Include Chinese file name, again.

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

	Update 'load-history' docs

	* doc/lispref/loading.texi (Where Defined): Update the list of
	forms in 'load-history' by adding the forms created for the
	'cl-generic' generics.  (Bug#21422)

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

	Fix (error ...) error

	Problem reported by Glenn Morris in:
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00561.html
	* lisp/vc/add-log.el (change-log-goto-source): Fix typos
	introduced in my Aug 28 change, where I got confused by the
	two meanings of (error ...).

2016-01-08  Alan Mackenzie  <acm@muc.de>

	Correctly analyze brace arguments in templated C++ function declarations.

	* lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
	POS and LIMIT parameters, like the other c-go-list-* functions have.

	* lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
	for a ?\( rather than a ?<.  (c-looking-at-inexpr-block): Handle names
	followed by template specifiers.

2016-01-08  Glenn Morris  <rgm@gnu.org>

	* lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.

	* lisp/ffap.el (ffap-latex-mode): Avoid free variable.

2016-01-08  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.

2016-01-08  Alan Mackenzie  <acm@muc.de>

	Respect fontification region calculated by major mode.  Fixes bug #22316.

	* lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
	fontification region has been calculated by a function on
	font-lock-extend-after-change-region-function use this region rather than
	changing the end position to somewhere else.

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

	Improve documentation of Delete Selection mode

	* lisp/delsel.el (delete-selection-mode)
	(delete-selection-helper): Update and expand the doc strings.
	(Bug#22296)

	* doc/emacs/mark.texi (Using Region): Document the behavior of
	delete commands in Delete Selection mode.  (Bug#22296)

	* doc/lispref/markers.texi (The Mark): Document how to add the
	support for Delete Selection mode to Lisp programs. (Bug#22296)

2016-01-08  Dmitry Gutov  <dgutov@yandex.ru>

	Fix two project-find-file issues

	* lisp/progmodes/project.el (project--value-in-dir):
	Temporarily set enable-local-variables to :all.
	(project-find-file, project-or-external-find-file):
	All autoloads.
	(project--find-file-in): Require xref.

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

	Clarify doc string of 'dired-current-directory'

	* lisp/dired.el (dired-current-directory): Doc fix: clarify that
	the return value might not end in a slash when called with the
	optional argument non-nil.  (Bug#6273)

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

	Use the face of preceding text for displaying the ellipsis

	* src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
	text in it->saved_face_id for displaying the ellipsis, and ignore
	the face, if any, of the invisible text.  (Bug#22320)

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

	Suppress Chinese file name test for OSX in tramp-tests.el

	* test/automated/tramp-tests.el (tramp--test-utf8):
	Remove instrumentation.  Suppress Chinese file name test for OSX.

2016-01-08  Glenn Morris  <rgm@gnu.org>

	* admin/admin.el (set-version): Also handle the NEWS file.

2016-01-08  Dmitry Gutov  <dgutov@yandex.ru>

	apropos-library: Skip obvious duplicates; don't error on generics

	* lisp/apropos.el (apropos-library): Skip "was an autoload"
	entries, to avoid obvious duplicates.  For each cl-defmethod
	entry, take just its function symbol (bug#21422).

2016-01-07  Dmitry Gutov  <dgutov@yandex.ru>

	Add project-find-file and project-or-external-find-file

	* lisp/minibuffer.el (completion-category-defaults):
	Add `project-file' category.

	* lisp/progmodes/project.el (project-find-file)
	(project-or-external-find-file): New commands.
	(project--find-file-in): New private function.

	* lisp/progmodes/xref.el (xref-collect-matches): Use
	`expand-file-name' on DIR, to expand the tildes.
	(xref--find-ignores-arguments): Extract from
	`xref--rgrep-command'.

2016-01-07  Leo Liu  <sdl.web@gmail.com>

	Add defvar-local to lisp-imenu-generic-expression

	* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
	  defvar-local.

2016-01-07  Leo Liu  <sdl.web@gmail.com>

	Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd

	* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
	  Don't declare (indent 1).

2016-01-07  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.

2016-01-07  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/autoload.el (autoload-find-destination):

	Avoid specifying the length of a time object (it has not been "2"
	for some time).

2016-01-06  Andreas Schwab  <schwab@linux-m68k.org>

	Properly encode/decode base64Binary data in SOAP

		* lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
		base64Binary value as utf-8.
		(soap-decode-xs-basic-type): Decode base64Binary value as utf-8.

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

	Obey coding-system-for-write when writing stdout/stderr in batch

	* src/print.c (printchar_to_stream):
	* src/xdisp.c (message_to_stderr): If coding-system-for-write has
	a non-nil value, use it to encode output in preference to
	locale-coding-system.  See the discussions in
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00048.html
	for the details.

	* doc/lispref/os.texi (Terminal Output): Document how to send
	non-ASCII text via 'send-string-to-terminal'.
	(Batch Mode): Document how text written to standard streams is
	encoded.  Fix inaccuracy regarding which output streams are used
	by output functions in batch mode.

2016-01-06  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/misc/efaq.texi (Packages that do not come with Emacs):
	Update the URI of MELPA and marmalade-repo.  Reported by CHENG Gao
	<chenggao@royau.me> in
	https://lists.gnu.org/r/emacs-devel/2016-01/msg00390.html.

2016-01-06  Maksim Golubev  <maksim.golubev72@gmail.com>  (tiny change)

	* lisp/progmodes/opascal.el (opascal-mode-syntax-table):

	Fix backslash.  (Bug#22224)

2016-01-06  Federico Beffa  <beffa@ieee.org>  (tiny change)

	* lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):

	Make it actually work.  (Bug#22265)

2016-01-05  Alan Mackenzie  <acm@muc.de>

	Remove function wrongly on AWK Mode value of context fontification hook.

	* lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
	swap order of entries so that awk's entry isn't superseded by the default.

	* lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
	to handle nil value of c-before-context-fontification-functions.

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

	* src/buffer.c: Stick with ASCII in doc string.

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

	Reword transient-mark-mode doc string

	* src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
	The value 'lambda (literally) can be interpreted as (quote lambda),
	which is not intended here; we want just the lambda symbol.

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

	Update doc string of 'selective-display'

	* src/buffer.c (syms_of_buffer) <selective-display>: Say that
	using it with the value of 't' is obsolete.  (Bug#1092)

2016-01-05  Alan Mackenzie  <acm@muc.de>

	Make C++ buffers writable when writing their initial text properties.

	This is a correction to yesterday's CC Mode patch.

	* lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
	c-save-buffer-state around the function rather than a mere `let'.

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

	Additional changes for "make check-expensive"

	* CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
	Explain make target `check-expensive'.

	* etc/NEWS: Mention new make target `check-expensive'.

	* test/automated/Makefile.in (check-doit): New target.
	(check, check-expensive): Use it.

2016-01-04  Alan Mackenzie  <acm@muc.de>

	Apply text properties for <, > in new after-change function (C++ Java Modes).

	These are category/syntax-table properties to give < and > paren syntax.
	Also apply certain `c-type' text properties to the insides of <..> constructs
	to ensure that identifiers contained by them get fontified.  This patch fixes
	bug #681.

	* lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
	after-change action.

	* lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
	change region to include <s and >s which might not be already marked as
	parens, rather than just when paren text properties are removed.
	(c-restore-<>-properties): New after-change function, which applies text
	properties marking < and > with paren syntax.

	* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
	properties are applied to the interiors of <...> constructs, to ensure
	fontification of identifiers there.

	* lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
	c-restore-<>-properties to this list for C++ and Java.

	* lisp/progmodes/cc-mode.el (c-common-init): When invoking
	c-before-font-lock-functions, exclude c-restore-<>-properties from the
	functions invoked.
	(c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
	to allow modification by before-change functions.
	(c-after-change): Amend c-new-END here, rather than initializing it and
	c-new-BEG.

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

	Introduce check-expensive tests.

	* Makefile.in (check-expensive):
	* test/automated/Makefile.in (check-expensive): New target.

	* test/automated/auto-revert-tests.el
	(auto-revert-test01-auto-revert-several-files):
	* test/automated/file-notify-tests.el (file-notify--deftest-remote):
	* test/automated/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-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	shr-tag-video bug fix

	* shr.el (shr-tag-video): Protect against the `poster' being
	empty.

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

	Minor fixes in tramp-tests.el

	* test/automated/tramp-tests.el (tramp-test26-process-file):
	Move point properly.
	(tramp-test29-vc-registered): Work with relative file names.

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

	Ensure redisplay when 'truncate-lines' is set

	* lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
	(Bug#22303)

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

	Fix a doc string of 'transient-mark-mode'

	* src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
	"lambda" in doc string from becoming a link to lambda expressions.

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

	MS-Windows followup to latest gnulib update

	* nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.

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

	Spelling fix

2016-01-04  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>

	Do secure signed Bcc handling

	* lisp/gnus/message.el (message-send): Do secure signed Bcc handling
	(bug#18718).

2016-01-04  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-04  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/misc/texinfo.tex: Revert unwanted copyright change.

2016-01-03  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/align.el (align): Simplify a lambda

	* lisp/align.el (align): Fix arg order in call to `align-region'

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

	Fix compilation next-error in buffers with selective-display

	* lisp/progmodes/compile.el (compilation-beginning-of-line): New
	function.
	(compilation-internal-error-properties)
	(compilation-next-error-function, compilation-set-window): Use
	it.  (Bug#1092)

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

	* lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.

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

	Add SHA1 warnings for high network security settings

	* lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
	about SHA1 certificates, which are now believed to be open to
	spoofing.

2016-01-03  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-02  Glenn Morris  <rgm@gnu.org>

	* lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):

	Explicitly ignore case.  (Bug#22262)

2016-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	(semantic-symref-derive-find-filepatterns): Return a list

	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-derive-find-filepatterns): Return a list.
	(semantic-symref-perform-search): Quote the result here once and for all.

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

	Fix xref-find-references on MS-Windows

	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-derive-find-filepatterns): Use
	'shell-quote-argument' instead of manually quoting in a way that
	only works with Posix shells.  (Bug#22289)

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

	Document new features of tildify-mode

	* lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
	(tildify-mode): Spelling fixes in doc strings.

	* etc/NEWS: Reformat the tildify-mode entry.

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

	Document new features of Whitespace mode

	* doc/emacs/display.texi (Useless Whitespace): Document
	'whitespace-toggle-options' and the new 'big-indent' style.
	Document 'whitespace-big-indent-regexp'.  Document the Global
	Whitespace mode.

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

	Improve documentation of new Hide-IfDef features

	* etc/NEWS: Expand and reword Hide-IfDef section.

2016-01-02  Leo Liu  <sdl.web@gmail.com>

	Fix regression in font-locking cl-assert and cl-check-type

	* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
	  el-errs-re.

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

	Spelling and grammar fixes

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

	Fix copyright years by hand

	These are dates that admin/update-copyright did not update, or
	updated incorrectly.

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

	Update copyright year to 2016

	Run admin/update-copyright.

2016-01-01  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.

2015-12-31  Mark Oteiza  <mvoteiza@udel.edu>

	lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.

2015-12-31  Mark Oteiza  <mvoteiza@udel.edu>

	Port chart.el methods to cl-generic.

	cl-call-next-method cannot be used inside EIEIO's defmethod.
	* lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
	* lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
	(chart-draw-title, chart-size-in-dir, chart-draw-axis):
	(chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
	(chart-translate-namezone, chart-draw-data, chart-add-sequence):
	(chart-trim, chart-sort): Use cl-defmethod instead of defmethod.

2015-12-31  Brian Burns  <bburns.km@gmail.com>

	Add nt/INSTALL.W64 build instructions

	* nt/INSTALL.W64: New file.
	* nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.

2015-12-31  Joakim Jalap  <joakim.jalap@fastmail.com>

	Add new input method 'programmer-dvorak'

	* lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
	input method.

	* etc/NEWS: Mention it.

2015-12-31  Eli Zaretskii  <eliz@gnu.org>

	Allow to invoke original M-TAB binding in 'flyspell-prog-mode'

	* lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
	original M-TAB binding in a buffer-local variable.
	(flyspell-auto-correct-word): Invoke the original binding of M-TAB
	if that is recorded, when point is in a place where flyspell
	should not be active (e.g., because the user turned on
	'flyspell-prog-mode').  (Bug#18533)

2015-12-31  Eli Zaretskii  <eliz@gnu.org>

	Fix EWW rendering of long RTL lines

	* lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
	of the selected window before filling its lines.  (Bug#22250)

2015-12-31  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	fix  bug#21054

	* lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally

2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Clean up cairo printing code

	* src/gtkutil.c (xg_get_page_setup): Use listn.
	* src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix.  Use
	decode_window_system_frame and FRAME_VISIBLE_P.
	(Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
	of Fdisplay.
	* src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
	instead of Fdisplay.  Temporarily unblock_input around QUIT.

2015-12-31  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.

2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Add handle_user_signal_hook

	* src/keyboard.h (handle_user_signal_hook): New declaration.
	* src/keyboard.c (handle_user_signal_hook): New variable.
	(handle_user_signal): Call it.

2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Avoid writing to purespace

	* src/alloc.c (Fmake_string): Don't write to empty string contents.
	(allocate_vector): Don't write to empty vector size.
	* src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
	Don't call unnecessary XSETCAR or XSETCDR.
	* src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
	write to empty string size_byte.

2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Remove unused variable

	* lisp/international/mule-cmds.el: Remove unused variable
	`mac-system-coding-system'.

2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.

2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Use posix_openpt instead of openpty on Darwin

	* configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
	(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
	Darwin-specific definitions.  Use posix_openpt instead.

2015-12-30  Shakthi Kannan  <shakthimaan@gmail.com>

	Document support for ':documentation' in Lisp mode

	* lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
	(lisp-string-after-doc-keyword-p)
	(lisp-font-lock-syntactic-face-function): Add doc strings.

2015-12-30  Shakthi Kannan  <shakthimaan@gmail.com>

	Document new features of TeX mode

	* doc/emacs/text.texi (TeX Print): Document
	'tex-print-file-extension'.
	* doc/emacs/programs.texi (Misc for Programs): Document support
	for Prettify Symbols mode in TeX mode.

2015-12-30  Eli Zaretskii  <eliz@gnu.org>

	Clarify docs of hscroll in RTL text

	* doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
	meaning of a window's horizontal scroll amount for RTL paragraphs.

2015-12-30  Eli Zaretskii  <eliz@gnu.org>

	Fix rendering of HTML pages that use character composition

	* src/indent.c (Fvertical_motion): Fix the case when point starts
	in the middle of a composition, as in shr-vertical-motion.
	(Bug#22250)

2015-12-30  Eli Zaretskii  <eliz@gnu.org>

	Avoid some compiler warnings in w32.c

	* src/w32.c (codepage_for_filenames, crlf_to_lf)
	(ansi_encode_filename, socket_to_fd, sys_write)
	(check_windows_init_file): Avoid compiler warnings about
	differences in pointer signedness.

2015-12-30  Dmitry Gutov  <dgutov@yandex.ru>

	Undo ill-advised change

	* lisp/progmodes/xref.el (xref-collect-matches): Undo
	ill-advised change.  The hits come in the order that `find'
	produces them in, which isn't alphabetical.

2015-12-30  Dmitry Gutov  <dgutov@yandex.ru>

	Unbreak completion in python-mode buffers

	* lisp/progmodes/python.el (python-shell-completion-at-point):
	Unbreak in python-mode buffers.

2015-12-29  Eli Zaretskii  <eliz@gnu.org>

	Fix typos in CC Mode manual

	* doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
	typos.  (Bug#22267)

2015-12-29  Eli Zaretskii  <eliz@gnu.org>

	Avoid assertion violations in compact_font_cache_entry

	* src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
	avoid assertion violation in ASIZE.  (Bug#22263)

2015-12-29  Eli Zaretskii  <eliz@gnu.org>

	Fix filling text with bidirectional characters in shr.el

	* lisp/net/shr.el (shr-insert-document): Bind
	bidi-display-reordering to nil while filling lines.  This is
	required for when a line includes characters whose bidi
	directionality is opposite to the base paragraph direction,
	because columns are counted in the logical order.  (Bug#22250)

2015-12-29  Martin Rudalics  <rudalics@gmx.at>

	* src/xfns.c (x_create_tip_frame): Process alpha parameter.

2015-12-29  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.13

	* doc/misc/trampver.texi: Change version to "2.2.13.25.1".

	* lisp/net/tramp-compat.el (tramp-compat-delete-dups):
	Use `tramp-compat-funcall'.

	* lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
	Make `split-string' call compatible with older Emacsen.

	* lisp/net/trampver.el: Change version to "2.2.13.25.1".

2015-12-29  Lambda Coder  <sjLambda@gmail.com>

	* doc/misc/tramp.texi: Editorial revisions to the Tramp manual

2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Mention that tls.el is secure by default, and will fail

2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Make tls.el use trustfiles by default

	* lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
	(open-tls-stream): Insert the trustfile by looking at
	`gnutls-trustfiles'.

2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Refactor out gnutls-trustfiles

	* lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.

2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>

	Remove --insecure from gnutls-cli invocation

	* tls.el (tls-program): Default to using secure TLS
	connections (bug#19284).

2015-12-29  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fix

2015-12-29  Paul Eggert  <eggert@cs.ucla.edu>

	Port report-emacs-bug to deterministic builds

	* lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
	recent "built on" change to deterministic builds where
	emacs-build-system will be nil.  See:
	https://lists.gnu.org/r/emacs-devel/2015-12/msg01369.html

2015-12-29  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)

	Fix URL auth error message

	* lisp/url/url-http.el (url-http-handle-authentication): Make the error
	message more correct (bug#20069).

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	shr link traversal fixup

	* shr.el (shr-next-link): Don't bug out on adjacent links.

	Backport:

	(cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)

2015-12-28  Tom Tromey  <tom@tromey.com>

	set :safe on css-indent-offset

	* lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	* eww.el (eww-mode): Remove superfluous bidi reset.

2015-12-28  James Stout  <james.wolf.stout@gmail.com>  (tiny change)

	Make chunked encoding trailer detection more compliant

	* lisp/url/url-http.el
	(url-http-chunked-encoding-after-change-function): Make
	trailer detection more compliant (bug#16345).

2015-12-28  Martin Rudalics  <rudalics@gmx.at>

	Fix Bug#10873 in `report-emacs-bug'

	* lisp/mail/emacsbug.el (report-emacs-bug): If
	`report-emacs-bug-no-explanations' is nil, make sure we can show
	mail and warnings buffer on this frame (Bug#10873).

2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>

	Always reset the bidi direction

	* eww.el (eww-display-html): Always reset the bidi direction
	to `left-to-right' (bug#22257).

2015-12-28  Alan Mackenzie  <acm@muc.de>

	Allow line comments ending with escaped NL to be continued to the next line.

	Use this in C, C++, and Objective C Modes.  Fixes bug#22246

	* src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
	(forw-comment, back-comment): On encountering an end of comment character,
	test whether it is escaped when `comment-end-can-be-escaped' is non-nil.

	* doc/lispref/syntax.texi (Control Parsing): Describe
	`comment-end-can-be-escaped'.

	* etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.

	* lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.

2015-12-28  Dmitry Gutov  <dgutov@yandex.ru>

	Rename project-library-roots to project-external-roots

	* lisp/progmodes/project.el (project-library-roots): Rename to
	project-external-roots.
	(project-library-roots-function): Rename to
	project-vc-external-roots-function.  Only use it in the VC
	backend, for now.  Update project-external-roots accordingly.
	(project-vc-library-roots): Remove.
	(project-or-libraries-find-regexp):
	Rename to project-or-external-find-regexp.

	* lisp/progmodes/elisp-mode.el (elisp-library-roots):
	Rename to elisp-load-path-roots.

	* lisp/progmodes/etags.el (etags-library-roots): Remove.  Use
	an anonymous function for the default value of
	project-vc-external-roots-function.

2015-12-27  Deniz Dogan  <deniz@dogan.se>

	Clear erc user list upon disconnection

	* lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
	lists upon disconnection.  This prevents invalid channel
	user lists when reconnecting (bug#10947).

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't bug out in erc after waking from sleep

	* lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
	closed connection, this may already have been detected and
	`erc-server-last-received-time' has been set to nil (bug#13608).

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).

	Backport:

	(cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)

2015-12-27  Dima Kogan  <dima@secretsauce.net>

	Ensure that we don't have several timers in erc

	* lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
	for existing timers in the alist before adding new ones.  If a
	timer already exists, it is canceled and
	overwritten. (bug#19292).

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).

	Backport:

	(cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't insert erc logs at the end

	* lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
	at the start of the buffer, not at the end (bug#20496).

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.

	Backport:

	(cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)

2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	Don't join erc channels doubly

	* lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
	more than once (if you have several nicks) (bug#20695).

2015-12-27  Eli Zaretskii  <eliz@gnu.org>

	Avoid leaving "ghost" of mouse pointer on MS-Windows

	* src/w32term.c (frame_set_mouse_pixel_position):
	* src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
	disable "mouse trails" when moving the mouse pointer.  (Bug#22247)
	* src/w32term.c (frame_set_mouse_pixel_position): Include
	w32common.h.

2015-12-27  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)

	Fix auth source lookups from erc with port numbers

	* lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
	numbers (bug#20541).

2015-12-27  Fran Litterio  <flitterio@gmail.com>

	Run erc-kill-channel-hook always on exit

	* lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
	when erc-kill-queries-on-quit is set (bug#21187).

2015-12-27  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fix

	* test/automated/url-parse-tests.el:
	(url-generic-parse-url/same-document-reference):
	Rename from url-generic-parse-url/same-decument-reference.

2015-12-27  Paul Eggert  <eggert@cs.ucla.edu>

	Reword initial *scratch* for brevity, appearance

	* lisp/startup.el (initial-scratch-message):
	Reword to avoid apostrophes, and to make it shorter.
	See the thread starting in:
	https://lists.gnu.org/r/emacs-devel/2015-12/msg01241.html

2015-12-26  Leo Liu  <sdl.web@gmail.com>

	Add ert-deftest to lisp-mode.el

	* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
	  lisp-el-font-lock-keywords-1): Add ert-deftest.

2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>

	Mark imap changes as not needing doc changes

	* lisp/net/imap.el (imap-ssl-open): Remove

2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>

	Use built-in encryption in imap.el

	* lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
	(imap-starttls-open): Use open-network-stream instead of starttls.el.
	(imap-tls-open): Use open-network-stream instead of tls.el.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Don't try using /bin/sh in artist.el on MS-Windows

	* lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
	New function.
	(artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
	(Bug#20167)

2015-12-26  Wolfgang Jenkner  <wjenkner@inode.at>

	Always define gmalloc etc. in src/gmalloc.c

	This is a work-around to prevent the compiler from using semantic
	knowledge about malloc for optimization purposes.  E.g., gcc 5.2
	with -O2 replaces most of calloc's definition by a call to calloc;
	see Bug#22085.
	* src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
	(aligned_alloc, free): Do not undef.  Instead, define these as
	functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of browse-url browser-related functions

	* lisp/net/browse-url.el (browse-url)
	(browse-url-default-browser, browse-url-default-windows-browser)
	(browse-url-default-macosx-browser, browse-url-chromium)
	(browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
	and NEW-WINDOW arguments in these functions.  (Bug#19421)

2015-12-26  Paul Eggert  <eggert@cs.ucla.edu>

	Propagate Bug#14412 fix to backtrace_eval_unrewind

	* src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
	becomes accurate again. This shouldn’t affect behavior.
	(backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Don't produce non-ASCII characters in *scratch*

	* lisp/startup.el (initial-scratch-message): Quote apostrophes to
	avoid producing non-ASCII characters in the *scratch* buffer's
	commentary.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Document changes in 'compare-windows'

	* lisp/vc/compare-w.el (compare-windows-removed)
	(compare-windows-added): Doc fix.

	* doc/emacs/files.texi (Comparing Files): Document the changes in
	window selection by 'compare-windows'.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Document 'vc-annotate-background-mode'

	* doc/emacs/maintaining.texi (Old Revisions): Document
	'vc-annotate-background-mode'.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Document 'vc-region-history'

	* doc/emacs/maintaining.texi (VC Change Log): Document
	'vc-region-history'.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of 'vc-push'

	* doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
	improve the documentation of 'vc-push'.

	* lisp/vc/vc.el (vc-pull, vc-push): Doc fix.

2015-12-26  Alain Schneble  <a.s@realize.ch>

	Include the tests for the URL parsing fixes

2015-12-26  Alain Schneble  <a.s@realize.ch>

	Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)

	* test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
	* test/automated/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.

	Backport:

	(cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Document 'url-user-agent'.

	* lisp/url/url-http.el (url-user-agent): Move from here...
	* lisp/url/url-vars.el (url-user-agent): ...to here.  This is to
	keep all the URL defcustoms in one place, and also have it defined
	whenever the URL library is loaded.

	* doc/misc/url.texi (Customization): Document 'url-user-agent'.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Document protocols supported by URL library via Tramp

	* doc/misc/url.texi (Tramp): New node, describes the URL schemes
	supported via Tramp.
	(Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
	Tramp.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Document changes in Shell-script mode

	* lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
	the 'sh-shell' file-local variable.
	(top level): Add an auto-load form to avoid byte-compiler warning
	about 'comint-send-string'.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of 'ses-define-local-printer'

	* doc/misc/ses.texi (Printer functions): Fix whitespace between
	sentences and punctuation.  Add an index entry for
	'ses-define-local-printer'.

2015-12-26  Shakthi Kannan  <shakthimaan@gmail.com>

	Document 'ert-summarize-tests-batch-and-exit'

	* doc/misc/ert.texi (Running Tests in Batch Mode): Document
	'ert-summarize-tests-batch-and-exit'.

2015-12-26  Eli Zaretskii  <eliz@gnu.org>

	Avoid assertion violation in unbind_to

	* src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
	if we get here with an object that is not a symbol.  (Bug#14412)

2015-12-25  Andreas Schwab  <schwab@linux-m68k.org>

	Don't treat /foo/bar:mumble as ange-ftp address

		* lisp/net/browse-url.el (browse-url-filename-alist): Match colons
		only in the first component.  (bug#5362)

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Follow <meta> redirects in eww

	Merge conflict, but I think I resolved it.

	    Follow meta refresh tags in eww

	    * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).

	Backport:

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).

	Backport:

	(cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)

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)

	Backport:

	(cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)

2015-12-25  Eli Zaretskii  <eliz@gnu.org>

	Make sure *scratch* etc. use forward slashes in its default-directory

	* lisp/startup.el (normal-top-level): On MS-Windows, convert
	backslashes to forward slashes while decoding default-directory
	of the initially-created buffers.

2015-12-25  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.

	Backport:

	(cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)

2015-12-25  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).

	Backport:

	(cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)

2015-12-25  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).

	Backport:

	(cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Make toggling checkboxes work again

	* eww.el (eww-update-field): Make toggling checkboxes work
	again (bug#21881).

	Backport:

	(cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)

2015-12-25  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).

	Backport:

	(cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)

2015-12-25  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).

	Backport:

	(cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	Use cl-reduce, not reduce.

	Backport:

	(cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)

2015-12-25  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).

	Backport:

	(cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)

2015-12-25  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.

	Backport:

	(cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)

2015-12-25  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.

	Backport:

	(cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)

2015-12-25  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.

	Backport:

	(cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)

2015-12-25  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.

	Backport:

	(cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)

2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	shr table rendering fix

	* shr.el (shr-tag-table): Allow rendering body-less tables
	that have headers.

	Backport:

	(cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)

2015-12-25  Eli Zaretskii  <eliz@gnu.org>

	Restore info about the build host in bug reports

	* lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
	which Emacs was built.  This is important information for
	investigating bug reports reported by users who don't build their
	Emacs.

2015-12-25  Eli Zaretskii  <eliz@gnu.org>

	Fix bootstrap broken by changes related to OS X file-name encoding

	* lisp/international/ucs-normalize.el (eval-when-compile): Make
	sure char-code-property-alist includes elements that allow access
	to 'decomposition' and 'canonical-combining-class' Unicode
	properties, as compiling ucs-normalize.el requires that.
	* lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
	only of charprop.el was already loaded.

	* src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
	New order-only dependency.

2015-12-25  Leo Liu  <sdl.web@gmail.com>

	* lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.

2015-12-25  Michael Albinus  <michael.albinus@gmx.de>

	Make tramp-test29-vc-registered more robust

	* test/automated/tramp-tests.el (tramp-test29-vc-registered):
	Move `bzr' case down.  Skip test when `vc-create-repo' fails.
	Remove instrumentation.

2015-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* lisp/term/x-win.el (x-gtk-stock-map): Fix typo.

2015-12-24  Katsumi Yamaoka  <yamaoka@jpl.org>

	Fix `gnus-union' so as to behave like `cl-union'

	* lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
	Make gnus-union use `equal' to compare items in lists.

	* lisp/gnus/gnus-util.el (gnus-union):
	Make it behave like cl-union partially.

2015-12-23  Paul Eggert  <eggert@cs.ucla.edu>

	Fix dired.c typo with ptrdiff_t vs Lisp_Object

	* src/dired.c (file_name_completion): Don't assume Lisp_Object is
	an integer type, fixing a problem introduced in the recent fix for
	Bug#22169.

2015-12-23  Eli Zaretskii  <eliz@gnu.org>

	Document default process sentinel more prominently

	* doc/lispref/processes.texi (Asynchronous Processes): Mention the
	defaults for process filter and sentinel.  Provide cross-references.
	(Process Information): Provide cross-references to where filters
	and sentinels are described.
	(Filter Functions): Add an index entry for "default filter".
	(Sentinels): Add a few status messages not documented previously.
	Resolve the "killed" confusion.  Document and describe the default
	sentinel.  (Bug#22220)

2015-12-23  Eli Zaretskii  <eliz@gnu.org>

	Fix file-name completion on OS X

	* src/dired.c (file_name_completion): Reject false matches due to
	file-name-coding-systems that decompose characters when encoding
	file names, by comparing decoded file names as well.  (Bug#22169)
	(syms_of_dired) <Qdecomposed_characters>: New DEFSYM.

	* lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
	non-nil 'decomposed-characters' property.

2015-12-23  Anders Lindgren  <andlind@gmail.com>

	File-name completion of non-ASCII characters on OS X (bug#22169)

	The coding system `utf-8-nfd', locally defined in ns-win.el,
	didn't provide a :pre-write-conversion method, causing file name
	completion of non-ASCII characters to fail.  Solved by using the
	`utf-8-hfs' coding system provided by `ucs-normalize'.

	* lisp/loadup.el: Load international/ucs-normalize (when building
	for ns).

	* lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
	`utf-8-hfs' and removed the old implementation.  Set `utf-8-hfs'
	as the file name coding system.

	* src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.

2015-12-23  Tom Tromey  <tom@tromey.com>

	Fix bug #18588 by making bug-reference-bug-regexp more lenient

	* lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
	"bug NNNN".  (Bug #18588)

2015-12-23  Tom Tromey  <tom@tromey.com>

	add some cl-* aliases to lisp-mode imenu

	* (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
	cl-defgeneric, and cl-defmethod.

2015-12-22  Tom Tromey  <tom@tromey.com>

	Make a variable buffer-local

	* lisp/generic-x.el (generic-rul-mode-setup-function): Make
	font-lock-syntax-table buffer-local.  (Bug #21627)

2015-12-22  Eli Zaretskii  <eliz@gnu.org>

	Fix decoding of text in URLs retrieved by EWW

	* lisp/net/eww.el (eww-render): Pass 'charset' to
	'eww-display-raw'.  Use the value of 'last-coding-system-used', if
	non-nil, to set 'buffer-file-coding-system' of the buffer where we
	show the URL.
	(eww-display-html, eww-display-raw): Decode the text correctly,
	using the charset found in the headers, and defaulting to UTF-8.
	If the user told us to use a specific encoding, override the
	charset from the headers.  (Bug#22222)

2015-12-22  Alan Mackenzie  <acm@muc.de>

	Fix a coding error in c-forward-<>-arglist-recur.  Fixes bug#22156

	* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
	variable `tmp'.
	After a failed search for a matching ">", restore point before continuing.

2015-12-22  Michael Albinus  <michael.albinus@gmx.de>

	Instrument Tramp tests

	* test/automated/tramp-tests.el (tramp-test29-vc-registered)
	(tramp--test-utf8): Instrument tests.

2015-12-22  Martin Rudalics  <rudalics@gmx.at>

	Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)

	* lisp/simple.el (display-message-or-buffer): Call
	`display-buffer' with ACTION instead of NOT-THIS-WINDOW
	(Bug#22221).

2015-12-22  Juri Linkov  <juri@linkov.net>

	* lisp/saveplace.el (toggle-save-place, save-place-to-alist)

	(save-places-to-alist, save-place-dired-hook):
	Check for dired-subdir-alist.  (Bug#19851)

2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>

	Add FIXME comment re stack overflow and modules

2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>

	Revert some recent emacs-module commentary

	Most of the recently-added commentary was incorrect, due to the
	possibility of stack overflow.

2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fix: prefer "cooperate" to "co-operate"

2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>

	Port undo fixes to -fno-common

	Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
	* src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
	(buffer_before_last_command_or_undo):
	Declare in keyboard.h, and define in keyboard.c,
	instead of assuming the traditional Unix relaxed ref-def linkage.

2015-12-20  Philipp Stephani  <phst@google.com>

	Improve commentary for emacs-module.c

	* src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
	* src/emacs-module.c (module_non_local_exit_get): Document that we
	cannot use the current implementation.
	(module_is_not_nil, module_eq): Document assumptions about EQ and
	NILP.

2015-12-20  Michael Albinus  <michael.albinus@gmx.de>

	Suppress test on Mac OS X

	* test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
	(tramp--test-utf8): Use it.

2015-12-20  Alan Mackenzie  <acm@muc.de>

	Merge branch 'scratch/follow' into emacs-25

	This allows Isearch, etc., to work well when Follow Mode is active.

2015-12-19  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Fix last commit

	* doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
	with numeric argument.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Document new features of Rmail

	* doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
	Document new behavior of 'd' and 'C-d' with numeric argument.
	(Rmail Display): Document the rendering of HTML MIME parts.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of new cl-lib functions

	* doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
	Fix wording.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Document the new feature of 'minibuffer-with-setup-hook'

	* lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
	added to `minibuffer-setup-hook'.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Document new features of Font Lock

	* doc/lispref/modes.texi (Other Font Lock Variables): Document
	'font-lock-flush-function' and 'font-lock-ensure-function'.
	(Font Lock Basics): Document the basic fontification functions
	referenced in "Other Font Lock Variables".

	* lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Document new features of Rectangle mode

	* doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
	rectangle-mark-mode.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Manual followup to last change

	* doc/lispref/display.texi (Displaying Messages): Sync with the
	doc string.  (Bug#22210)

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Clarify doc string of 'display-message-or-buffer'

	* lisp/simple.el (display-message-or-buffer): Doc fix.  Suggested
	by Sebastian Wiesner <swiesner@lunaryorn.com>.  (Bug#22210)

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	* doc/emacs/emacs.texi (Top): Update top-level menus.

	* doc/lispref/elisp.texi (Top): Update top-level menus.

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Document how to avoid file-local variables that aren't

	* doc/emacs/custom.texi (Specifying File Variables): Describe how
	to prevent Emacs from interpreting unrelated text as file-local
	variables.  (Bug#22166)

2015-12-19  Dave Thomas  <dave@pragprog.org>  (tiny change)

	Fix a typo in eterm-color's termcap entry

	* lisp/term.el (term-termcap-format): Fix a typo in the "ue="
	entry.  (Bug#22184)

2015-12-19  Eli Zaretskii  <eliz@gnu.org>

	Allow 'browse-url-emacs' visit non-existent URLs

	* lisp/url/url-handlers.el (url-insert-file-contents): Don't
	signal an error if VISIT is non-nil, to more faithfully emulate
	the behavior of 'insert-file-contents'.  (Bug#22160)

2015-12-19  Paul Eggert  <eggert@cs.ucla.edu>

	Remove SunOS 4.x cruft

	Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
	* lib-src/pop.c [sun]: Remove no-longer-needed include.
	* lwlib/xlwmenu.c (SUNSO41): Remove.

2015-12-19  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib

	This mostly commentary fixes.
	* doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
	* lib/gnulib.mk: Regenerate with new gnulib-tool.

2015-12-18  Michael Albinus  <michael.albinus@gmx.de>

	Minor fixes in Tramp

	* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
	Reorder ls arguments.

	* lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.

2015-12-18  Michael Albinus  <michael.albinus@gmx.de>

	Make tramp a built-in package

	* lisp/finder.el (finder-compile-keywords): Update
	`package--builtins' also when Version: keyword is available.

	* lisp/net/trampver.el: Add Version: keyword.
	(tramp-version): Change it to "2.2.13.25.1", in order to be
	compatible with `version-to-list'.

2015-12-18  Lele Gaifax  <lele@metapensiero.it>

	* etc/tutorials/TUTORIAL.it: Update and fix typos.

2015-12-18  Alan Mackenzie  <acm@muc.de>

	Rename `recenter-group' to `recenter-window-group'

	* doc/lispref/windows.texi (Textual Scrolling)
	* lisp/window.el (top level, recenter-group)
	* lisp/follow.el (follow-mode)
	* lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
	`recenter-window-group' and `recenter-group-function' to
	`recenter-window-group-function'.

2015-12-18  Eli Zaretskii  <eliz@gnu.org>

	Fix vertical-motion in tabulated-list mode

	* src/indent.c (Fvertical_motion): When moving from line beginning
	to point under line truncation, assume overshoot by one line only
	if point actually lies beyond the window's right margin.
	(Bug#22194)

2015-12-18  Martin Rudalics  <rudalics@gmx.at>

	Don't have help functions call x-display-pixel-width/-height on ttys

	* lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
	Don't call x-display-pixel-width/-height on ttys.

2015-12-18  Dmitry Gutov  <dgutov@yandex.ru>

	Use 'hg id' in vc-hg-previous-revision

	* lisp/vc/vc-hg.el (vc-hg-previous-revision):
	Use 'hg id' to retrieve it (bug#22032).

2015-12-17  Alan Mackenzie  <acm@muc.de>

	* lisp/follow.el (follow-sit-for): Remove (it's redundant).

2015-12-17  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in the Emacs manual

	* doc/emacs/trouble.texi (Sending Patches): Fix a typo.  Reported
	by Lele Gaifax <lele@metapensiero.it>.  (Bug#22193)

2015-12-17  Eli Zaretskii  <eliz@gnu.org>

	Fix parsing netrc entries with ports

	* lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
	make a list out of 't'.  (Bug#22188)

	* test/automated/auth-source-tests.el
	(auth-source-test-netrc-parse-entry): New test.

2015-12-17  Paul Eggert  <eggert@cs.ucla.edu>

	Fix typo in Doug Lea malloc configure log

	* configure.ac (emacs_cv_var_doug_lea_malloc):
	Fix typo that confused the log output of 'configure'.

2015-12-16  Nicolas Petton  <nicolas@petton.fr>

	* etc/NEWS: Mention the new pcase patterns `seq' and `map'.

2015-12-16  Alan Mackenzie  <acm@muc.de>

	* etc/NEWS: Move entry on pcase to correct section

	(Accidentally omitted from previous commit)

2015-12-16  Alan Mackenzie  <acm@muc.de>

	Add documentation for changes to Show Paren mode.

	* lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.

	* doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
	options, including the new show-paren-when-point-inside-paren and
	show-paren-when-point-in-periphery.

	* etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
	Move an entry on pcase to the Lisp Changes section.

2015-12-16  Eli Zaretskii  <eliz@gnu.org>

	Document Eldoc changes

	* doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.

2015-12-16  Eli Zaretskii  <eliz@gnu.org>

	Fix invocation of Python and Guile interpreters from gdb-mi

	* lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
	commands for interactive Python and Guile interpreters.
	(gdb-send): Recognize various ways of exiting from Python and
	Guile interpreters and returning to GDB.  For details, see
	https://lists.gnu.org/r/emacs-devel/2015-12/msg00693.html
	and https://stackoverflow.com/questions/31514741.

2015-12-16  Paul Eggert  <eggert@cs.ucla.edu>

	Remove attempt to use C11 threads

	C11 threads are not needed for Emacs now, and their use is causing
	hassles on FreeBSD 10.x.  Problem reported by Ashish SHUKLA in:
	https://lists.gnu.org/r/emacs-devel/2015-12/msg00648.html
	* configure.ac: Do not check for C11 threads. Remove unnecessary
	fiddling with CPPFLAGS when configuring pthreads.
	* src/emacs-module.c (main_thread, check_main_thread)
	(module_init): Do not worry about C11 threads.

2015-12-15  Michael Albinus  <michael.albinus@gmx.de>

	Set utf8 encoding with stty in Tramp

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Move up uname check.  Handle Mac OS X eol encoding.  Set utf8
	encoding with stty.

2015-12-15  Alan Mackenzie  <acm@muc.de>

	Tidy up documentation associated with window groups.

	* doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
	Groups".  Correct example function to `window-group-start'.
	(Window Start and End, Textual scrolling): Point to the new anchor.  State
	that (most of) the args in window group functions have the same meaning as for
	the corresponding window primitives.

	* doc/lispref/positions.texi (Screen Lines).  Same as above.

2015-12-15  Michael Albinus  <michael.albinus@gmx.de>

	Complete last commit

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Move uname check up.  Handle Mac OS X eol encoding.

2015-12-15  Michael Albinus  <michael.albinus@gmx.de>

	Handle Mac OS X eol encoding in Tramp

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Handle Mac OS X eol encoding.

2015-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Fix variable name typo in compute_tip_xy

	* src/w32fns.c (compute_tip_xy):
	* src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
	when `right' is integer.

2015-12-14  foudfou  <foudil.newbie+git@gmail.com>

	* lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.

2015-12-14  Tassilo Horn  <tsdh@gnu.org>

	Revert "Fix rx matcher overflow without limiting"

	This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.

2015-12-14  Alan Mackenzie  <acm@muc.de>

	Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop

	* lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
	isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.

2015-12-14  Tassilo Horn  <tsdh@gnu.org>

	Fix rx matcher overflow without limiting

	* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
	change to the regexp without imposing a limit on the length of the
	options.

2015-12-14  Alan Mackenzie  <acm@muc.de>

	Enhance ispell-skip-region-alist by generating part of it at runtime.

	* lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
	(ispell--make-filename-or-URL-re): New functions which generate a regexp.
	(ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
	(ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
	Include the result of ispell--make-filename-or-URL-re in regexps.

2015-12-14  Glenn Morris  <rgm@gnu.org>

	* build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.

2015-12-14  Alan Mackenzie  <acm@muc.de>

	Replace GROUP argument in six window primitives by new functions.

	* doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
	* doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
	from description of six window functions.  Add in description of new functions
	window-group-start, window-group-end, set-window-group-start,
	pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
	together with the six variables indirecting to the pertinent group
	functions.

	* src/window.c
	* src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
	applies to these two files, which added the GROUP argument to six window
	primitives.

	* lisp/follow.el (follow-mode): Use updated variable names for the indirected
	functions.

	* lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
	(isearch-back-into-window, isearch-lazy-highlight-new-loop)
	(isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
	to window primitives (e.g. window-start) with a GROUP argument by calls to
	new functions (e.g. window-group-start).

	* lisp/textmodes/ispell.el (ispell-command-loop): Replace call to
	pos-visible-in-window-p with pos-visible-in-window-group-p.

	* lisp/window.el (window-group-start, window-group-end)
	(set-window-group-start, recenter-group, pos-visible-in-window-group-p)
	(selected-window-group, move-to-window-group-line): New functions.
	(window-group-start-function, window-group-end-function)
	(set-window-group-start-function, recenter-group-function)
	(pos-visible-in-window-group-p-function, selected-window-group-function)
	(move-to-window-group-line-function): New variables.

2015-12-14  Vitorio Miguel  <vdrbandeiras@gmail.com>  (tiny change)

	* etc/tutorials/TUTORIAL.pt_BR: Fix a typo.  (Bug#22165)

2015-12-13  Tassilo Horn  <tsdh@gnu.org>

	Improve regex to not trigger stack overflow

	* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
	order not to trigger a stack overflow in regex matcher with unbalanced
	brackets (bug#22146).

2015-12-13  Eli Zaretskii  <eliz@gnu.org>

	Fix visiting files with raw-text

	* src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
	when some stuff was actually read.  (Bug#22162)

2015-12-13  Tassilo Horn  <tsdh@gnu.org>

	Fix regex matching keyval labels

	* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
	matching keyval labels.

2015-12-13  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error

	... in case of Tramp.  (Bug#20821)

2015-12-13  Paul Eggert  <eggert@cs.ucla.edu>

	Fix performance regression with gcc -O0

	This fixes the smaller performance hit that I noted in:
	https://lists.gnu.org/r/emacs-devel/2015-12/msg00357.html
	* src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
	* src/puresize.h (puresize_h_PURE_P)
	(puresize_h_CHECK_IMPURE):
	New macros, with the old contents of the functions.
	* src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
	* src/puresize.h (PURE_P, CHECK_IMPURE):
	Use the new macros.  Also macros, if DEFINE_KEY_OPS_AS_MACROS.
	* src/conf_post.h (ATTRIBUTE_UNUSED):
	* src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.

2015-12-12  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-unpack): Security check

	Check that we received the package we were offered.

2015-12-12  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--compile): Don't activate

	`package-unpack' takes care of all activations now (other than
	`package-initialize).  `package--compile' now only compiles.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document the new bindings of <UP> and <DOWN> in the minibuffer

	* doc/emacs/mini.texi (Minibuffer History): Describe the new
	bindings of <UP> and <DOWN> in the minibuffer.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document new features of Ido

	* doc/misc/ido.texi (Misc): Document 'C-S-b'.

2015-12-12  Martin Rudalics  <rudalics@gmx.at>

	Fix frame height calculations with added menu bar on Windows (Bug#22105)

	* doc/lispref/frames.texi (Parameter Access): Mention pitfalls
	when simultaneously specifying multiple parameters for
	`modify-frame-parameters' that all may change the frame's size.
	* src/w32fns.c (x_set_menu_bar_lines): Don't set
	windows_or_buffers_changed here.
	(my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
	with third argument false.
	* src/w32menu.c (set_frame_menubar): Set
	windows_or_buffers_changed here.
	* src/w32term.c (x_set_window_size): Determine third argument of
	AdjustWindowRect from whether the frame has a menu bar and not
	from whether it wants one.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document the change in interactive shell mode

	* doc/emacs/misc.texi (Interactive Shell): Document that the
	'*shell*' buffer by default displays in a new window.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document new features of package.el

	* doc/emacs/package.texi (Package Menu): Document the 'external'
	status and the new menu commands.
	(Package Installation): Document archive priorities.

	* lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
	(package-menu-hide-low-priority): Doc fix.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Update and document new features of xterm support

	* doc/emacs/frames.texi (Text-Only Mouse): Document that
	track-mouse is supported by newer xterm versions.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document new features of Prettify Mode

	* doc/emacs/programs.texi (Misc for Programs): Document
	'prettify-symbols-compose-predicate' and
	'prettify-symbols-unprettify-at-point'.

	* lisp/progmodes/prog-mode.el (prettify-symbols-alist)
	(prettify-symbols-default-compose-p)
	(prettify-symbols-compose-predicate)
	(prettify-symbols--compose-symbol): Doc fixes.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document multi-mode indentation facilities

	* doc/lispref/text.texi (Mode-Specific Indent): Document
	'prog-indentation-context', 'prog-first-column', and 'prog-widen'.

	* lisp/progmodes/prog-mode.el (prog-indentation-context)
	(prog-widen): Doc fixes.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Document 'vc-refresh-state'

	* doc/emacs/maintaining.texi (Version Control): Document
	'vc-refresh-state'.

	* lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.

2015-12-12  Eli Zaretskii  <eliz@gnu.org>

	Fix echo for "C-u"

	* src/keyboard.c (command_loop_1): Undo last change.  It caused
	duplicate echo of C-u.  (Bug#22107)

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Avoid errors when creating files under SVN in new directory

	* lisp/vc/vc-svn.el (vc-svn-registered): Use
	file-accessible-directory-p, to avoid cd'ing to a non-existing
	directory, which signals an error on some systems.  (Bug#21984)
	(vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
	Use declare-function to avoid byte-compiler warnings.

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Improve Lua support in etags

	* lib-src/etags.c (Lua_functions): Skip spaces before looking for
	"function".

	* etc/NEWS: Mention improved Lua support by 'etags'.

	* test/etags/lua-src/test.lua (test): Add tests for indented
	function definitions.
	* 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/CTAGS.good: Adapt to the modified Lua tests.

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Fix 'this-command-keys' wrt prefix argument

	* src/keyboard.c (command_loop_1): Restore the feature whereby C-u
	was part of this-command-keys, but not of this-single-command-keys.
	(Bug#22107)

	* lisp/simple.el (internal-echo-keystrokes-prefix): Add
	commentary about the function's return value.

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	* lisp/files.el (load-library): Doc fix.  (Bug#22140)

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Improve and document Ruby support in 'etags'

	* lib-src/etags.c (Ruby_suffixes): Add ".ruby".
	(Ruby_functions): Support "module" and overloaded operators.
	(Ruby_help): Mention "module".

	* test/etags/ruby-src/test.rb:
	* test/etags/ruby-src/test1.ru: New files.
	* test/etags/Makefile (RBSRC): New tests.
	(SRCS): Add ${RBSRC}.
	* 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/CTAGS.good: Adapt to the new Ruby tests.

	* doc/man/etags.1: Mention Ruby support.
	* etc/NEWS: Mention Ruby support.

2015-12-11  Xi Lu  <lx@shellcodes.org>

	Initial support for Ruby in 'etags'

	* lib-src/etags.c <Ruby_suffixes>: New variable.
	(lang_names): Add an entry for Ruby.
	(Ruby_functions): New function.  (Bug#22116)

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of 'modify-frame-parameters'

	* doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
	PARMs" mean for 'modify-frame-parameters'.

	* src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
	PARMs" mean for this function.  (Bug#22104)

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Fix setting buffer unibyte when reading from a device

	* src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
	to make a (possibly non-empty) buffer unibyte.  (Bug#22096)

2015-12-11  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of 'values'

	* doc/lispref/eval.texi (Eval): Clarify that 'values' are not
	updated by any evaluation commands in 'lisp-interaction-mode'.
	(Bug#22056)

2015-12-11  Anders Lindgren  <andlind@gmail.com>

	Fixed subversion vc error when opening file in new directory (bug#21984).

	* lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.

2015-12-09  Eli Zaretskii  <eliz@gnu.org>

	Yet another fix for when point ends up in invisible text

	* src/xdisp.c (redisplay_window): When someone forced
	window-start, and honoring that failed to show the cursor, try
	moving out of invisible text, before falling back to the middle of
	the window.  (Bug#22098)

2015-12-09  Michael Albinus  <michael.albinus@gmx.de>

	Fix error in Tramp perl script for cygwin

	* lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
	error if file doesn't exist.

2015-12-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Remove font workaround for limited outdated versions

	* src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
	workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.

2015-12-09  Anders Lindgren  <andlind@gmail.com>

	Don't add "." to load path (bug#21104)

	When configured with --enable-locallisppath=no, which is the
	default for OS X, the load-path incorrectly was populated with ".".

	* src/lread.c (init_lread): Don't call `decode_env_path' when
	PATH_SITELOADSEARCH is empty.

2015-12-08  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--with-response-buffer):

	Search for the blank-line in the right buffer.

2015-12-08  Glenn Morris  <rgm@gnu.org>

	* test/automated/simple-test.el (undo-auto-boundary-timer): Update
	for recent change.

2015-12-08  Glenn Morris  <rgm@gnu.org>

	Fix some display-warning usage.

	* lisp/files.el (hack-local-variables, hack-dir-local-variables):
	* lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
	* lisp/calendar/holidays.el (calendar-holiday-list):
	* lisp/mail/rmailout.el (rmail-output-read-file-name):
	Fix display-warning usage.

2015-12-08  Glenn Morris  <rgm@gnu.org>

	* lisp/calendar/cal-html.el: Require diary-lib.

	(cal-html-list-diary-entries): Handle no diary.  (Bug#21994)

2015-12-08  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Add Obsolete-since header to eudcb-ph.el

	* lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.

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

	Spelling fixes

	* doc/misc/calc.texi (Predefined Units): Use the bland modern
	scientific style for spelling the units “ampere” and
	“angstrom” rather than the older style “Ampere” and
	“Ångstrom”.  The latter spelling was wrong anyway (it should
	have been “Ångström”).
	* lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
	Fix misspelling of ‘atom’ in code.

2015-12-07  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of kill commands

	* lisp/simple.el (region-extract-function, delete-backward-char)
	(delete-forward-char, kill-region, copy-region-as-kill)
	(kill-ring-save): Better document the optional argument REGION in
	the doc strings.  Mention in the doc strings that text put in the
	kill-ring can be filtered by 'filter-buffer-substring'.

	* doc/lispref/text.texi (Kill Functions): Mention that functions
	described in this subsection can filter text they put in the
	kill-ring.  Add a cross-reference to "Buffer Contents" and an
	index entry.  Document the optional argument 'region' and its
	effect.
	(Bug#21315)

2015-12-07  Alan Mackenzie  <acm@muc.de>

	Further progress making Isearch, Ispell, Replace work with Follow Mode.

	* lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
	no longer exists.  Add follow-post-command-hook to  three special purpose
	hooks at setup, and remove them at tear down.

	* lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
	isearch-lazy-highlight-new-loop.
	(isearch-lazy-highlight-new-loop): Restore this function to what it previously
	was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
	it.
	(isearch-lazy-highlight-maybe-new-loop): function removed.

	* lisp/replace.el: (replace-update-post-hook): New hook variable.
	(perform-replace): Add second (nil) argument to looking-back.  Invoke
	replace-update-post-hook before calling replace-highlight.

	* lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
	(ispell-command-loop): invoke ispell-update-post-hook.  Add GROUP argument to
	call of pos-visible-in-window-p.
	(ispell-display-buffer): Place *Choices* window at the top of the last window
	in a window group.

2015-12-07  Alan Mackenzie  <acm@muc.de>

	Amend doc of `mapconcat': it can take sequences, not merely strings.

	* doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
	to say that SEPARATOR and the results from FUNCTION may be any character
	sequences, not just strings.  Add an @xref to "Sequences Arrays Vectors".

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

	Fix an utf8 problem for Tramp on BSD

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Make lax check for utf8.
	(tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.

2015-12-07  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Make eudcb-ph.el obsolete

	* doc/misc/eudc.texi: Bump version to 1.40.0.
	Remove PH/QI sections and mentions.
	* lisp/obsolete/eudcb-ph.el: Make obsolete.
	* lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
	(eudc-ph-bbdb-conversion-alist): Make obsolete.
	* etc/NEWS: Mention this.  (Bug#21191)

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

	Remove overenthusiastic eassert

	* src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
	previous change.  It breaks on MS-Windows --with-wide-int.
	Problem reported by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-12/msg00275.html

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

	Pacify gcc -Wparentheses

	* src/xdisp.c (row_containing_pos): Reparenthesize.

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

	Port mod-test to 32-bit Emacs --without-wide-int

	* modules/mod-test/test.el (mod-test-sum-test):
	Bring back the 2**29 tests, but port them to 32-bit Emacs
	--without-wide-int.

2015-12-06  Michael Albinus  <michael.albinus@gmx.de>

	Fix minor Tramp problems found on BSD

	* lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
	trailing slash.  Quote apostrophes.
	(tramp-sh-handle-file-truename): Do not append trailing slash in
	the "ls" case.
	(tramp-get-ls-command-with-w-option): New defun.
	(tramp-do-file-attributes-with-ls)
	(tramp-do-directory-files-and-attributes-with-stat): Use it.

	* test/automated/tramp-tests.el
	(tramp-test31-special-characters-with-perl)
	(tramp-test31-special-characters-with-ls)
	(tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
	Suppress also readlink.

2015-12-06  Eli Zaretskii  <eliz@gnu.org>

	Fix cursor display when invisible text is at line beginning

	* src/xdisp.c (redisplay_window): When scrolling fails to show
	point, prefer using the desired matrix if possible for finding the
	fallback glyph row for displaying the cursor.  (Bug#22098)
	(row_containing_pos): Exit the loop as soon as we hit the first
	disabled glyph row.  Otherwise we risk accessing garbled data and
	departing to the no-no land.

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

	Improve module interface when WIDE_EMACS_INT

	* src/emacs-module.c (plain_values): New constant.
	(module_nil): Now a constant.
	(Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
	(syms_of_module): Use if, not #ifdef, so that both sides are
	checked at compile-time, and so that GCC doesn’t complain
	about an unused var in the typical case.  Also, depend on
	plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
	that WIDE_EMACS_INT implies !USE_LSB_TAG.
	(value_to_lisp_bits, lisp_to_value_bits): New functions.
	Sign-extend integers rather than zero-extending them, as small
	negative integers are more likely.
	(value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
	functions.
	(HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
	(mark_modules): Remove.  All uses removed.
	(lisp_to_value): Don’t assume Fcons returns a pointer aligned
	to GCALIGNMENT.
	(syms_of_module): Check that module_nil converts to Qnil.
	* src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
	we prefer signed to unsigned when either will do.
	(TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
	a bit better for emacs-module.c.

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

	Port mod-test to x86-64 GNU/Linux running 32-bit

	* modules/mod-test/test.el (mod-test-sum-test):
	Don’t attempt to match descriptions to operating systems.
	It didn’t work on Fedora x86-64 running a 32-bit executable,
	and it’s not worth the trouble anyway.
	Port to 32-bit platforms by removing an assumption about
	fixnum widths.

2015-12-06  Michael Albinus  <michael.albinus@gmx.de>

	Fix auto-revert-tests.el when filenotify isn't used

	* test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
	Make it working also when filenotify isn't used.

2015-12-06  Juri Linkov  <juri@linkov.net>

	* lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):

	Let-bind isearch-regexp-function to nil.  (Bug#22097)

2015-12-05  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)

	(package--with-response-buffer): NOERROR and ERROR-FORM only
	handle connection errors.
	(bad-signature): New error type.
	(package--check-signature-content): Use it.
	(package--check-signature): Properly distinguish connection errors
	from bad-signature errors.  Do the check for
	`package-check-signature' `allow-unsigned' here instead of forcing
	the callbacks to do it.  Add a new argument, UNWIND.
	(package--download-one-archive, package-install-from-archive):
	Update usage of `package--check-signature'.

2015-12-05  Ulf Jasper  <ulf.jasper@web.de>

	Fix Bug#22092.

	* lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
	  Clean up inconsistent line endings. (Bug#22092)
	  (icalendar--clean-up-line-endings): New.
	* test/automated/icalendar-tests.el (icalendar-real-world): Add test
	  for Bug#22092.

2015-12-05  Eli Zaretskii  <eliz@gnu.org>

	Document 'bookmark-set-no-overwrite'

	* doc/emacs/regs.texi (Bookmarks): Document the new command
	'bookmark-set-no-overwrite' and its keybinding.

2015-12-05  Eli Zaretskii  <eliz@gnu.org>

	Document new binding of 'mouse-buffer-menu'

	* doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
	now also on C-F10.

2015-12-05  Eli Zaretskii  <eliz@gnu.org>

	Initial documentation of dynamic modules

	* doc/lispref/loading.texi (Dynamic Modules): New section with
	initial documentation for dynamic modules.
	* doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
	detailed menu

	* etc/NEWS: Fix typos in dynamic modules' entry.

2015-12-05  Artur Malabarba  <bruce.connor.am@gmail.com>

	Remove copyright statements from trivial test files

2015-12-05  Eli Zaretskii  <eliz@gnu.org>

	Add "Preliminaries" section to etc/DEBUG

	* etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
	Most of the content was suggested by Phillip Lord
	<phillip.lord@russet.org.uk>.  Remove the section about debugging
	with the Visual Studio, as building Emacs with the Microsoft
	compilers is no longer supported.  Minor fixes in some other
	sections.

2015-12-05  Alex Dunn  <dunn.alex@gmail.com>  (tiny change)

	Improve parsing of version strings

	* lisp/subr.el (version-regexp-alist): Allow "." as priority separator
	(version-to-list): More helpful error messages.
	(version-to-list): ".5" is valid (update docstring).  Make
	"22.8X3" invalid, as the doc string says.

	* test/automated/subr-tests.el (ert-test-version-parsing): New
	tests for version string processing.

2015-12-05  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of 'undo' changes

	* doc/lispref/text.texi (Undo): Minor wording changes.  Use US
	English conventions for spelling and whitespace between sentences.

	* etc/NEWS: Fix wording and spelling of undo-related entries.
	Mark them as documented.

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

	* lisp/net/net-utils.el: Small improvements.

	(net-utils--executable-find-sbin): New function.
	(ifconfig-program): Check sbin directories.
	Fallback to "ip".  (Bug#22091)
	(ifconfig-program-options): Check the actual program in use.
	(arp-program): Check sbin directories.

2015-12-04  Arash Esbati  <esbati@gmx.de>  (tiny change)

	Fix wrong-type-argument integer-or-marker-p nil error

	* lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
	Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).

2015-12-04  Alan Mackenzie  <acm@muc.de>

	lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.

2015-12-04  Alan Mackenzie  <acm@muc.de>

	First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.

	doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
	Windows" and new @defun selected-window-group.
	(Window Start and End): Describe new &optional parameter GROUP and
	...-group-function for window-start, window-end, set-window-start, and
	pos-visible-in-window-p.
	(Textual Scrolling) Describe the same for recenter.
	doc/lispref/positions.texi (Screen Lines): Describe the same for
	move-to-window-line.

	src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
	(Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
	new optional parameter "group".  At the beginning of each, check whether the
	corresponding ...-group-function is set to a function, and if so execute this
	function in place of the normal processing.
	(syms_of_window): Define symbols for the six new variables below.
	(window-start-group-function, window-end-group-function)
	(set-window-start-group-function, recenter-group-function)
	(pos-visible-in-window-p-group-function, move-to-window-line-group-function):
	New permanent local buffer local variables.
	src/keyboard.c (Fposn_at_point): Add extra parameter in call to
	Fpos_visible_in_window_p.

	lisp/window.el (selected-window-group-function): New permanent local buffer
	local variable.
	(selected-window-group): New function.

	lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
	enable, kill them at mode disable.  Add/remove follow-after-change to/from
	after-change-functions.
	(follow-start-end-invalid): New variable.
	(follow-redisplay): Manipulate follow-start-end-invalid.
	(follow-after-change, follow-window-start, follow-window-end)
	(follow-set-window-start, follow-pos-visible-in-window-p)
	(follow-move-to-window-line, follow-sit-for): New functions.

	lisp/isearch.el (isearch-call-message): New macro.
	(isearch-update, with-isearch-suspended, isearch-del-char)
	(isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
	(with-isearch-suspended): Rearrange code such that isearch-call-message is
	invoked before point is moved.
	(isearch-message): Add comment about where point must be at function call.
	(isearch-search): Remove call to isearch-message.
	(isearch-lazy-highlight-window-group): New variable.
	(isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
	the battery of tests to ...
	(isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
	Note: (sit-for 0) is still called.
	(isearch-lazy-highlight-update): Check membership of
	isearch-lazy-highlight-window-group.  Don't set the `window' overlay
	property.
	(isearch-update, isearch-done, isearch-string-out-of-window)
	(isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
	(isearch-lazy-highlight-search, isearch-lazy-highlight-update)
	(isearch-lazy-highlight-update): Call the six amended primitives (see
	src/window.c above) with the new `group' argument set to t, to cooperate
	with Follow Mode.

2015-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase

	* lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
	(ert--explain-format-atom, ert--explain-equal-rec)
	(ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
	(ert--insert-human-readable-selector): Prefer pcase over cl-typecase.

2015-12-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Remove special case-folding support

	(character-fold-to-regexp): Remove special code for
	case-folding.  Char-fold search still respects the
	`case-fold-search' variable (i.e., f matches F).  This only
	removes the code that was added to ensure that f also matched
	all chars that F matched.  For instance, after this commit, f
	no longer matches 𝔽.

	This was necessary because the logic created a regexp with
	2^(length of the string) redundant paths.  So, when a very
	long string "almost" matched, Emacs took a very long time to
	figure out that it didn't.  This became particularly relevant
	because isearch's lazy-highlight does a search bounded by (1-
	match-end) (which, in most circumstances, is a search that
	almost matches).  A recipe for this can be found in bug#22090.

2015-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-macs.el (character): Can't be negative

	Fixes (bug#21701)

2015-12-04  Daiki Ueno  <ueno@gnu.org>

	lisp/gnus/qp.el: Don't replace "from " at bol

	* lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
	to nil when looking for "^From ".  Problem reported by Simon Josefsson.

2015-12-03  Phillip Lord  <phillip.lord@russet.org.uk>

	Externalize some symbols in undo-auto

	 * doc/lispref/text.texi: Update symbols.
	 * lisp/simple.el (undo-auto--amalgamate,
	   undo-auto--current-boundary-timer): Make symbols public.
	 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
	   updated symbol.

2015-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"

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

	Some error message improvements in tramp-sh.el

	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Suppress error messages for "mesg" and "biff" calls.
	(tramp-get-remote-path): Ignore errors when expanding
	`tramp-own-remote-path'.  Raise a warning instead.

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

	Document 'nacl' value for 'system-type'

	* doc/lispref/os.texi (System Environment): Document the 'nacl'
	value of 'system-type'.

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

	Document 'window-max-chars-per-line'

	* doc/lispref/windows.texi (Window Sizes): Document
	'window-max-chars-per-line'.

2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>

	Fix some file headers for the purpose of `package--builtins'

	* lisp/emacs-lisp/cl-preloaded.el
	* lisp/emacs-lisp/eieio-compat.el
	* lisp/net/sasl-scram-rfc.el: Add a "Package:" header

	* lisp/ielm.el: Fix summary line.

2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-unpack): Load before compiling

	Reload any previously loaded package files before compiling
	the package (also reload the same files after compiling).
	This ensures that we have the most recent definitions during
	compilation, and avoids generating bad elc files when a macro
	changes and it is used in a different file from the one it's
	defined in.

2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Refactor package activation code

	(package-activate): Move code that activates dependencies into
	package-activate-1.
	(package--load-files-for-activation): New function.
	(package-activate-1): Add code for (optionally) activating
	dependencies, and move file-loading code into
	`package--load-files-for-activation'.

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

	Document new font-related functionality

	* doc/lispref/display.texi (Low-Level Font): Document
	'default-font-width', 'default-font-height', 'window-font-width',
	and 'window-font-height'.

	* etc/NEWS: Move entries for 'default-font-width',
	'default-font-height', 'window-font-width', and 'window-font-height'
	to their place and mark them documented.

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

	Fix documentation and implementation of 'directory-name-p'

	* lisp/files.el (directory-name-p): Modify to recognize
	backslashes on MS-Windows and MS-DOS.  Adjust the doc string
	accordingly.  Use '=', not char-equal, for comparison, as
	letter-case cannot possibly be an issue here.

	* doc/lispref/files.texi (Directory Names): Move the documentation
	of directory-name-p here from "Relative File Names".  Update the
	description per the changes in implementation.

	* etc/NEWS: Move the entry for 'directory-name-p' to its proper
	place and mark it documented.

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

	Minor copyedit in Emacs manual

	* doc/emacs/search.texi (Lax Search): Make wording about character
	folding by default less definitive.  (Bug#22043)

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

	More emacs-module.c fixes for wide ints

	* src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
	unsigned data types to manipulate pointers, to avoid sign
	extension coming after us with a vengeance.

	* modules/mod-test/test.el (mod-test-sum-test): Add tests for
	Emacs with wide ints that verify integer values near the critical
	value that requires us to switch to a cons cell.

2015-12-02  Stephen Leake  <stephen_leake@stephe-leake.org>

	Fix bug#22069 in cl-generic.el

	* lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
	not run thru `format'.

2015-12-02  Dmitry Gutov  <dgutov@yandex.ru>

	APPEND etags--xref-backend to xref-backend-functions

	* lisp/progmodes/xref.el (xref-backend-functions):
	Use APPEND when adding the default element
	(https://lists.gnu.org/r/emacs-devel/2015-12/msg00061.html).

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

	More accurate documentation of lax whitespace matching

	* lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
	(word-search-backward, word-search-forward)
	(word-search-backward-lax, word-search-forward-lax): Mention in
	doc strings that toggling lax whitespace matching has no effect on
	these commands.

	* doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
	lax whitespace matching has no effect on these commands.

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

	Fix emacs-module.c for wide ints

	* src/emacs-module.c (lisp_to_value): Compare the produced value
	with the original Lisp object, not with the one potentially
	converted into a Lisp_Cons.  Fixes assertion violations when
	working with integers larger than fit into a 32-bit value.

	* modules/mod-test/test.el (mod-test-sum-test): Add tests for
	large integers, to test --with-wide-int.

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

	Document 'directory-files-recursively'

	* lisp/files.el (directory-files-recursively): Doc fix.  Rename
	the argument MATCH to REGEXP, to be more explicit about its form.

	* doc/lispref/files.texi (Contents of Directories): Improve the
	documentation of 'directory-files-recursively'.  Add
	cross-references.

	* etc/NEWS: Move the entry for 'directory-files-recursively' to
	its place and mark it documented.

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

	Document 'inhibit-read-only' property

	* doc/lispref/text.texi (Special Properties): Describe the new
	'inhibit-read-only' text property.  Add cross-reference to where
	read-only buffers are described.
	* doc/lispref/buffers.texi (Read Only Buffers): Mention that
	'inhibit-read-only' property exempts text from being read-only.
	Add cross-reference to "Special Properties".

	* etc/NEWS: Move the entry about 'inhibit-read-only' property to
	its place and mark it documented.

2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Update header comments

2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Add back multi-char matching

	(character-fold-to-regexp): Uncomment recently commented code
	and make the algorithm "dummer" by not checking every possible
	combination.  This will miss some possible matches, but it
	greatly reduces regexp size.

	* test/automated/character-fold-tests.el
	(character-fold--test-fold-to-regexp): Comment out test of
	functionality no longer supported.

2015-12-01  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/ack.texi (Acknowledgments): Update.

2015-12-01  Michael Albinus  <michael.albinus@gmx.de>

	Check `file-remote-p' over absolute files names in files.el

	* lisp/files.el (directory-files-recursively)
	(get-free-disk-space): Check `file-remote-p' over absolute files names.

2015-12-01  Andreas Schwab  <schwab@linux-m68k.org>

		* src/lread.c (syms_of_lread): Doc fix.

2015-12-01  Dmitry Gutov  <dgutov@yandex.ru>

	Don't mistake certain JS method calls for keywords

	* lisp/progmodes/js.el (js--ctrl-statement-indentation):
	Braceless keyword can't come after a period (bug#22063).

2015-12-01  David Reitter  <david.reitter@gmail.com>

	Read frame_title_format from buffer-local variable for NS port

	* src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
	icon-title-format variables from buffer in appropriate window.
	(Bug#22048)

2015-12-01  Juri Linkov  <juri@linkov.net>

	* lisp/replace.el (occur-engine): Count matches in empty lines.

	(Bug#22062)

2015-11-30  Aurélien Aptel  <aurelien.aptel@gmail.com>

	* src/emacs-module.h: Fix finalizer typedef for C++11

	C++11 standard doesn't allow exception-specification in typedef.
	The workaround is to declare a dummy function prototype and use
	decltype on it.

2015-11-30  Eli Zaretskii  <eliz@gnu.org>

	Fix last change

	* src/emacs-module.c (lisp_to_value, value_to_lisp)
	[WIDE_EMACS_INT]: Avoid compiler warnings.

2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	Rely on conservative stack scanning to find "emacs_value"s

	* src/emacs-module.c (struct emacs_value_tag)
	(struct emacs_value_frame, struct emacs_value_storage): Remove.
	(value_frame_size): Remove constant.
	(struct emacs_env_private): Use Lisp_Object for non_local_exit info.
	(lisp_to_value): Remove first arg.
	(module_nil): New constant.
	Use it instead of NULL when returning an emacs_value.
	(module_make_function): Adjust to new calling convention of
	Qinternal_module_call.
	(DEFUN): Receive args in an array rather than a list.
	Use SAFE_ALLOCA rather than xnmalloc.  Skip the lisp_to_value loop when
	we don't have WIDE_EMACS_INT.  Adjust to new type of non_local_exit info.
	(module_non_local_exit_signal_1, module_non_local_exit_throw_1):
	Adjust to new type of non_local_exit info.
	(ltv_mark) [WIDE_EMACS_INT]: New constant.
	(value_to_lisp, lisp_to_value): Rewrite.
	(initialize_frame, initialize_storage, finalize_storage): Remove functions.
	(allocate_emacs_value): Remove function.
	(mark_modules): Gut it.
	(initialize_environment): Don't initialize storage any more.
	Keep the actual env object on Vmodule_environments.
	(finalize_environment): Don't finalize storage any more.
	(syms_of_module): Initialize ltv_mark and module_nil.

	* src/emacs-module.h (emacs_value): Make it more clear that this type
	is really opaque, including the fact that NULL may not be valid.

	* modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
	Don't assume that NULL is a valid emacs_value.

2015-11-30  Eli Zaretskii  <eliz@gnu.org>

	Yet another doc improvement for search commands

	* doc/emacs/search.texi (Word Search, Symbol Search)
	(Regexp Search): Document commands that don't support lax
	whitespace matching or character folding.
	(Nonincremental Search): Mention the search commands that can be
	invoked from the menu bar.

	* lisp/isearch.el (isearch-define-mode-toggle-word)
	(isearch-define-mode-toggle-symbol)
	(isearch-define-mode-toggle-character-fold): Note in the doc
	string that turning these on exits the regexp mode.
	(isearch-forward-regexp, isearch-forward-word)
	(isearch-forward-symbol, isearch-backward-regexp)
	(word-search-backward, word-search-forward)
	(word-search-backward-lax, word-search-forward-lax): State in the
	doc string which commands don't support character folding and/or
	lax-whitespace matching.

2015-11-30  Martin Rudalics  <rudalics@gmx.at>

	Run `window-size-change-functions' also when reading from minibuffer

	* src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
	also when reading from minibuffer.

2015-11-30  Ulf Jasper  <ulf.jasper@web.de>

	Fix scrambling of html-rendered item buffers

	* lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
	  scrambling of contents by wrapping call to html-renderer in
	  save-selected-window.

2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>

	Fix font typo in previous doc fix.

2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>

	A bit more security doc, esp. file local vars

	* doc/emacs/emacs.texi (Top):
	* doc/emacs/misc.texi (Miscellaneous Commands):
	Refer to new Host Security section.
	(Host Security): New section.
	* doc/lispref/os.texi (Security Considerations):
	Mention file local variables.

2015-11-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Comment out branching code

	(character-fold-to-regexp): Comment out code that uses multi-char
	table.  The branching caused by this induces absurdly long regexps,
	up to 10k chars for as little as 25 input characters.

2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling and grammar fixes

2015-11-30  Dmitry Gutov  <dgutov@yandex.ru>

	Make lisp-completion-at-point a wrapper instead of an alias

	* lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
	Turn into an obsolete wrapper around elisp-completion-at-point
	(bug#20455).

2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-search-fun-default): Nicer error

	message when the search fails.

2015-11-29  Dmitry Gutov  <dgutov@yandex.ru>

	Update menu-bar-goto-uses-etags-p for the current xref API

	* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
	xref-backend-functions, instead of now-nonexistent
	xref-find-function.

2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-define-mode-toggle): Advertise binding

2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/menu-bar.el: Use folding in searches

	(nonincremental-search-forward): Use `isearch-search-fun-default'
	to determine the search function.
	(nonincremental-search-backward)
	(nonincremental-repeat-search-forward)
	(nonincremental-repeat-search-backward): Use it.

2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning

2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el (character-fold-to-regexp): Be careful

	not to return huge regexps.

2015-11-29  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of string-collate-* functions

	* doc/lispref/strings.texi (Text Comparison): Improve wording and
	indexing of 'string-collate-equalp' and 'string-collate-lessp'.

	* etc/NEWS: Move the entry of 'string-collate-equalp' and
	'string-collate-lessp' to "Lisp Changes" section and mark it as
	documented.

2015-11-29  Eli Zaretskii  <eliz@gnu.org>

	Document truncate-string-ellipsis

	* doc/lispref/display.texi (Size of Displayed Text): Document
	'truncate-string-ellipsis'.

	* lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
	(truncate-string-to-width): Mention in the doc string that the
	default for ELLIPSIS comes from 'truncate-string-ellipsis'.

	* etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
	Changes" section.

2015-11-29  Eli Zaretskii  <eliz@gnu.org>

	Fix confusion wrt character folding in the Emacs manual

	* doc/emacs/search.texi (Nonincremental Search, Regexp Search):
	Document that invoking search-forward/backward and
	re-search-forward/backward supports only case folding, but not the
	rest of the lax-search features.  Reported by Mike Kupfer
	<m.kupfer@acm.org>.

2015-11-29  Ken Brown  <kbrown@cornell.edu>

	Update mod-test-sum-test

	* modules/mod-test/test.el (mod-test-sum-test): Update to
	accommodate the lack of dladdr on Cygwin.

2015-11-29  Alan Mackenzie  <acm@muc.de>

	Byte compiler: Catch missing argument to `funcall'.  Fixes bug#22051.

	* lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
	to `funcall', (i) Output an error message; (ii) Generate code to signal a
	`wrong-number-of-arguments' error.

2015-11-29  Martin Rudalics  <rudalics@gmx.at>

	* lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.

2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el (character-fold-to-regexp)

	Warn about using long strings.

	* test/automated/character-fold-tests.el
	(character-fold--test-lax-whitespace)
	(character-fold--test-consistency): Reduce string size for tests.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Document renaming of x-select-enable-* variables

	* doc/emacs/killing.texi (Clipboard): Rename
	x-select-enable-clipboard to select-enable-clipboard and
	x-select-enable-primary to select-enable-primary.  Update index
	entries.

	* etc/NEWS: Mark entry as documented.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Document the shorthand hints displayed by M-x

	* doc/emacs/m-x.texi (M-x): Document the numeric meaning of
	suggest-key-bindings.  Document the shorthand hints for commands
	that have no key bindings.  Document that M-x completion ignores
	obsolete commands.

	* etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
	documented.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Update docs of character folding

	* doc/emacs/search.texi (Lax Search): Update the description of
	character folding for the latest changes.

2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Also play nice with case-folding

	(character-fold-to-regexp): Take `case-fold-search' into account.

2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Add support for multi-char matches

	(character-fold-table): Now has an extra-slot. This is a second
	char-table that holds multi-character matches.  See docstring for
	details.
	(character-fold-to-regexp): Can build branching regexps when a
	character's entry the extra slot of `character-fold-table' matches the
	characters that succeed it.

2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Code simplifications

	(character-fold-table): Reduce the scope of a variable.
	(character-fold-to-regexp): Change logic to work directly on the
	input string.  It's a little easier to understand, probably
	faster, and sets us up for implementing multi-char matches.

	* test/automated/character-fold-tests.el
	(character-fold--test-fold-to-regexp): New test.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Document changes in "C-h l"

	* doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".

	* etc/NEWS: mark "C-h l" changes as documented.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Finalize documentation of 'custom-prompt-customize-unsaved-options'

	* doc/emacs/custom.texi (Saving Customizations): Index the new
	function 'custom-prompt-customize-unsaved-options'.

	* etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
	is useful.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Document 'comment-line'

	* doc/emacs/programs.texi (Comment Commands): Document
	'comment-line'.

	* etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Document new checkdoc features

	* doc/lispref/tips.texi (Tips, Library Headers): Document the
	keyword-checking features of checkdoc and the commands
	'checkdoc-file' and 'checkdoc-current-buffer'.

	* etc/NEWS: Move the checkdoc-related entries to their own
	section.

2015-11-28  Philipp Stephani  <p.stephani2@gmail.com>

	Simplify the prologue of emacs-module.c functions

	* src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
	(module_make_global_ref)
	(module_free_global_ref, module_make_function, module_funcall)
	(module_intern, module_type_of, module_extract_integer)
	(module_make_integer, module_extract_float, module_make_float)
	(module_copy_string_contents, module_make_string)
	(module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
	(module_get_user_finalizer, module_set_user_finalizer)
	(module_vec_set, module_vec_get, module_vec_size): Use new helper
	macro MODULE_FUNCTION_BEGIN.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Don't reject module calls with no arguments

	* src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.

2015-11-28  Philipp Stephani  <p.stephani2@gmail.com>

	Make module-call be visible from Lisp

	* src/emacs-module.c (module_make_function): Use internal--module-call.
	(Finternal_module_call): Renamed from Fmodule_call.  Add safety
	checks.
	(syms_of_module): DEFSYM save-value-p and save-pointer-p.  Do
	defsubr internal--module-call.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Add etags tests for the recent Lua-related bugfix

	* test/etags/lua-src/test.lua: New file, tests the issues raised
	by bug#21934.
	* test/etags/Makefile (LUASRC): Add test.lua.
	* 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/CTAGS.good: Adapt to the new Lua test.  Also, an old
	regression fix, resolved around 25 May 2015, required changes to
	the "good" ETAGS files.

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Fix Lua tags when a function name includes '.' or ':'

	* lib-src/etags.c (Lua_functions): Add a tag for the last element
	of a function name after a dot or a colon.  (Bug#21934)

2015-11-28  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of search and replace commands

	* doc/emacs/search.texi (Replacement and Lax Matches): Document
	which commands are affected by 'replace-character-fold'.
	(Lax Search): Add a cross reference to "Replacement and Lax
	Matches".  Improve wording.  Fix lost extra whitespace.
	(Search Customizations): Improve wording.  (Bug#22036)
	See also comments in
	https://lists.gnu.org/r/emacs-devel/2015-11/msg02376.html.

	* lisp/replace.el (query-replace, query-replace-regexp)
	(query-replace-regexp-eval, replace-string, replace-regexp):
	Mention 'replace-character-fold' in the doc strings.

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

	Fix minor problems found by static checking

	* src/undo.c (prepare_record): Add proper prototype for C.

2015-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/emacs-module.c (struct env_storage): Delete

	(struct emacs_runtime_private): Keep an emacs_env instead.
	(Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
	(initialize_environment): Split the arg in two.	 Adjust all callers.
	Only store the private part in Vmodule_environments.
	(finalize_environment): Change the arg to only be the private env.
	Adjust all callers.

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of 'replace-character-fold'

	* lisp/replace.el (replace-character-fold): Clarify which commands
	are affected by this variable.

2015-11-27  Mark Oteiza  <mvoteiza@udel.edu>

	Backport: 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-27  Dmitry Gutov  <dgutov@yandex.ru>

	Autoload etags when using its xref backend

	* lisp/progmodes/xref.el (xref--etags-backend):
	Rename to etags--xref-backend.  Move to etags.el.  Autoload.
	(Bug#22026)

2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Allow complex chars to match their decomposition

	(character-fold-table): When a character's decomposition does not
	involve a formatting tag (i.e., if it has an "exact" description via
	other characters), then this character is allowed to match the
	decomposition.

2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: More descriptive variable names

	(character-fold-table): Rename a lot of the lexical variables to
	make the code easier to read.

2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Ensure we still support `isearch-new-word'

	(isearch-new-regexp-function): Define variable.
	(isearch-new-word): Define as an obsolete alias. (Bug#22018)

2015-11-27  Lee Bochicchio  <lboc.home@gmail.com>

	* test/automated/abbrev-tests.el: Define more tests

	(abbrev-table-name-test, kill-all-abbrevs-test)
	(clear-abbrev-table-test): New tests.

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Add module tests for wrong-type-argument

	* modules/mod-test/test.el (mod-test-sum-test): Add tests for
	wrong-type-argument.

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Improve handling of signals and 'throw' in modules

	* src/emacs-module.c: Add commentary explaining how to write
	functions in this file.
	(module_make_global_ref, module_free_global_ref)
	(module_non_local_exit_signal, module_non_local_exit_throw)
	(module_make_function, module_funcall, module_intern)
	(module_type_of, module_is_not_nil, module_eq)
	(module_extract_integer, module_make_integer)
	(module_extract_float, module_make_float)
	(module_copy_string_contents, module_make_string)
	(module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
	(module_get_user_finalizer, module_set_user_finalizer)
	(module_vec_set, module_vec_get, module_vec_size)
	(module_non_local_exit_signal_1, module_non_local_exit_throw_1):
	Do nothing and return with failure indication immediately, if some
	previous module call signaled an error or wants to throw.  See
	https://lists.gnu.org/r/emacs-devel/2015-11/msg02133.html
	for the relevant discussions.

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Add ':version' tag to 'checkdoc-package-keywords-flag'

	* lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
	Add a ':version' tag.

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of 'eval-buffer' and 'eval-region'

	* src/lread.c (Feval_buffer, Feval_region): Doc fixes.  (Bug#22023)

	* doc/lispref/eval.texi (Eval): Mention narrowing to clarify
	"accessible portion of buffer".

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Unbreak the Cygwin w32 build

	* src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
	build as well.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

2015-11-27  Eli Zaretskii  <eliz@gnu.org>

	Improve commentary in character-fold.el

	* lisp/character-fold.el (character-fold-to-regexp): Move detailed
	description from commit log message to comments.  (Bug#22019)

2015-11-26  Alan Mackenzie  <acm@muc.de>

	Byte Compiler: generate code to adjust stack count after call to `signal'.

	Corrects change from earlier today.

	* lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
	`byte-compile--for-effect' as argument to `byte-compile-form'.

2015-11-26  Eli Zaretskii  <eliz@gnu.org>

	Improve commentary of prepare_to_modify_buffer_1

	* src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
	that this function runs Lisp.  Suggested by Richard Stallman
	<rms@gnu.org>.

2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>

	Fix regression after merge.

	 * src/undo.c (prepare_record): Remove call to run_undoable_change.

2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>

	After delete, record point location in undo.

	Addresses Bug #21968.

		* lisp/simple.el (undo-auto--add-boundary): Clean up code to
		better support intercalating calls.
		* src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
		point and current buffer before each command.
		* src/undo.c (record_point): Now only record the point.
		* src/undo.c (prepare_record): Functionality removed form
		record_point.
		* src/undo.c (record_delete): Check if point needs recording.
		* src/undo.c (undo-boundary): Record value of point before each
		boundary.
		* test/automated/simple-test.el: New tests.

	Conflicts:
		src/undo.c

2015-11-26  Eli Zaretskii  <eliz@gnu.org>

	Fix compiler warnings in w32.c

	* src/w32.c (sys_socket): In case of error, use -1 as return
	value, not INVALID_SOCKET, which causes compiler warnings.
	(maybe_load_unicows_dll): Cast the return value of GetProcAddress
	to the appropriate function signature, to avoid compiler errors.
	Reported by Andy Moreton <andrewjmoreton@gmail.com>.  (Bug#21953)

2015-11-26  Dmitry Gutov  <dgutov@yandex.ru>

	Check if the file exists on disk before producing the revert diff

	* lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
	exists on disk (bug#20558).

2015-11-26  Alan Mackenzie  <acm@muc.de>

	Byte compiler: on setq with an odd number of arguments, generate a `signal'

	* lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
	it has an odd number of arguments, to allow bytecomp to handle the error.

	* lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
	odd number of arguments, generate a `signal' instead of the normal code.

2015-11-26  Dmitry Gutov  <dgutov@yandex.ru>

	Use find-tag-default for xref-backend-identifier-at-point

	* lisp/progmodes/etags.el (find-tag-tag)
	(tags-completion-at-point-function): Extract common code as
	find-tag--default.
	(xref-backend-identifier-at-point): Define in terms of the new
	function.

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

	* src/undo.c (record_property_change): Remove now-unused local.

2015-11-25  Phillip Lord  <phillip.lord@russet.org.uk>

	run_undoable_changes now called from insdel.

	The original calls from inside undo.c are not always at a safe position
	to call lisp, as they originate in varied positions within insdel.c.
	Calling them directly from prepare_to_modify_buffer_1 ensures that they
	are always run at the same point.

	 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
	 and symbol used.
	 * src/insdel.c (run_undoable_changes): Add function and symbol.

2015-11-25  Eli Zaretskii  <eliz@gnu.org>

	Improve and update documentation of search commands

	* doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
	all references changed.  Move the description of lax-whitespace
	here.  Add description of the new character folding features and
	additional customizable options.
	(Isearch Yank): Move before "Error in Search".
	(Basic Isearch): Improve wording.  Add index entries.  Add short
	description of how to abandon search, making this subsection a
	complete introduction to search basics.
	(Repeat Isearch): Add index entries.  Describe additional
	customizable options.  Describe mouse clicks.
	(Isearch Yank): Add index entries.  Describe mouse-2 click in echo
	area.  Describe more customizable options.
	(Error in Isearch): Add index entries.
	(Special Isearch): Move actual description of some isearch
	commands to other sections, leaving here just the summary of the
	commands.  Add command that toggles character folding.  Describe
	commands, like "C-h C-h", that were previously omitted for some
	reason.
	(Not Exiting Isearch): Describe search-exit-option.  Add index
	entries.
	(Word Search): Describe eww-search-word and eww-search-prefix.
	(Symbol Search): Add index entries.
	(Regexp Search): Describe regexp-search-ring-max.
	(Replacement and Lax Matches): Renamed from "Replacement and
	Case"; all references changed.  Describe lax-whitespace matching
	in replace commands and related options.  Describe character
	folding in replace commands and related options.
	(Query Replace): Describe query-replace-from-to-separator and the
	new history features.  Add index entries for highlighted text.
	Describe query-replace-skip-read-only.  Describe more keys
	accepted by query-replace.
	(Other Repeating Search): More index entries for Occur.  Describe
	list-matching-lines-default-context-lines.
	(Search Customizations): New section, documents customizable
	options that were not documented until now.
	* doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
	"Character Folding".

	* etc/NEWS: Move search- and replace-related entries to a single
	parent section.

	* lisp/replace.el (query-replace-show-replacement): Doc fix.
	* lisp/isearch.el (search-nonincremental-instead)
	(isearch-hide-immediately): Doc fixes.

2015-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>

	Remove nnml-retrieve-groups that is unnecessary and somewhat problematic

	* lisp/gnus/nnml.el (nnml-retrieve-groups): Remove.  See:
	<http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
	<http://thread.gmane.org/gmane.emacs.gnus.general/86321>

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

	Fix module_format_fun_env when dynlib_addr fails

	* src/emacs-module.c (module_format_fun_env):
	exprintf doesn’t support %p, so use %x.  Reported by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-11/msg02122.html

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

	Disambiguate variable help a bit better

	* lisp/help-fns.el (describe-variable): Quote the
	variable’s value if it is a symbol other than t or nil.
	See: T.V Raman in:
	https://lists.gnu.org/r/emacs-devel/2015-11/msg02147.html

2015-11-25  Dmitry Gutov  <dgutov@yandex.ru>

	Pass SVN commit message through log-edit-extract-headers

	* lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
	log-edit-extract-headers (bug#18954).

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

	CC Mode: Eliminate compiler warning messages.

	* lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
	`font-lock-syntactic-keywords' (which CC Mode doesn't use).
	* lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
	(c-awk-set-syntax-table-properties): Clarify comments about
	`font-lock-syntactic-keywords'.

	* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
	of this before the real (interpreted) one, to satisfy the byte compiler.

2015-11-24  Simen Heggestøyl  <simenheg@gmail.com>

	Extend the test suite for json.el

	* lisp/json.el (json-plist-p): Clarify docstring.

	* test/automated/json-tests.el (json-tests--with-temp-buffer): New
	macro.
	(test-json-join, test-json-alist-p)
	(test-json-plist-p, test-json-advance, test-json-peek)
	(test-json-pop, test-json-skip-whitespace)
	(test-json-read-keyword, test-json-encode-keyword)
	(test-json-read-number, test-json-encode-number)
	(test-json-read-escaped-char, test-json-read-string)
	(test-json-encode-string, test-json-encode-key)
	(test-json-new-object, test-json-add-to-object)
	(test-json-read-object, test-json-encode-list)
	(test-json-read-array, test-json-encode-array)
	(test-json-read, test-json-read-from-string)
	(test-json-encode): New tests.
	(json-read-simple-alist): Merged into `test-json-read-object'.
	(json-encode-string-with-special-chars): Merged into
	`test-json-encode-string'.
	(json-read-string-with-special-chars): Split into
	`test-json-encode-string' and `test-json-read-from-string'.

2015-11-24  Anders Lindgren  <andlind@gmail.com>

	Fixed bug#18283: Enable applescript in NextStep.

	* nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.

2015-11-24  Eli Zaretskii  <eliz@gnu.org>

	Allow completion on dynamic module files in load-library

	* lisp/files.el (load-library): Bind completion-ignored-extensions
	to nil, to allow completion on dynamic modules typed as file
	names.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

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

	CC Mode: eliminate almost all byte compilation warnings

	* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
	(cc-require): Remove the crude hack that saved and restored
	byte-compile-noruntime-functions.
	(cc-conditional-require, cc-conditional-require-after-load): New macros.

	* lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
	cc-fix.el using the new macros in cc-bytecomp.el.

	* lisp/progmodes/cc-langs.el (c++-template-syntax-table)
	(c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
	forms to remove the superfluous quotes.

2015-11-24  Eli Zaretskii  <eliz@gnu.org>

	Add one more mod-test test

	* modules/mod-test/test.el (mod-test-sum-test): Test the error
	signaled when the function is invoked with a wrong number of
	arguments.

2015-11-24  Philipp Stephani  <phst@google.com>

	* modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.

2015-11-24  Eli Zaretskii  <eliz@gnu.org>

	Implement dynlib_addr for MS-Windows

	* src/dynlib.c [WINDOWSNT]: Include w32common.h.
	<g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
	(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
	(GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
	if undefined.
	(dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
	zero.
	(dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
	the full file name of the module for a given address.

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

	Squashed commit of the following:

	commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
	Author: Alan Mackenzie <acm@muc.de>
	Date:   Tue Nov 24 16:50:09 2015 +0000

	    Byte compile: minor amendments.

	    * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
	    add a comment to explain the binding of variables around a subsidiary
	    compilation.
	    (byte-compile-new-defuns): Amend the doc string.

	commit c537bfed1dda1593d218956ff00c6105a3ff0316
	Author: Alan Mackenzie <acm@muc.de>
	Date:   Sat Nov 21 18:43:57 2015 +0000

	    Byte compiler: fix spurious warnings "might not be defined at runtime".

	    Also initialize byte-compile-noruntime-functions between runs.

	    * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
	    (byte-compile-initial-macro-environment): For eval-when-compile: bind
	    byte-compile-unresolved-functions and byte-compile-new-defuns around
	    byte-compile-top-level, to prevent spurious entries being made.
	    (byte-compile-warn-about-unresolved-functions): Check whether function is
	    in byte-compile-new-defuns before emitting a warning about it.
	    (byte-compile-from-buffer): Initialize new variable and
	    byte-compile-noruntime-functions to nil.
	    (byte-compile-file-form-require): record all new functions defined by a
	    `require' in byte-compile-new-defuns.
	    (byte-compile-file-form-defmumble): record the new alias in
	    byte-compile-new-defuns.

2015-11-24  Eli Zaretskii  <eliz@gnu.org>

	Fix crash at startup related to GC of font entities

	* src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
	(GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
	(GC_XFONT_OBJECT): New macros, for use in garbage collector.
	* src/alloc.c (compact_font_cache_entry, compact_font_caches):
	Don't ifdef away font cache compaction on NT_GUI, as the problems
	which led to that seem to have been solved.
	(compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
	GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
	cousins.  (Bug#21999)

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

	Byte compile: Output an error, not a warning, for odd number of args to setq

	* lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.

2015-11-24  Ken Raeburn  <raeburn@raeburn.org>

	Fix kbd_buffer iteration loop in readable_events

	* src/keyboard.c (readable_events): Wrap the event pointer back to the
	start of the kbd_buffer array inside the top of the loop instead of
	right before checking the loop condition, since kbd_fetch_ptr and
	kbd_store_ptr point past the end of the array to mean that element 0
	is next. (bug#21935)

2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>

	Improve text-quoting-style doc again

	* doc/lispref/help.texi (Keys in Documentation):
	Omit overkill discussion of ‘setq’.  Mention Emacs versions
	where ‘grave’ style was standard.

2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>

	Improve text-quoting-style doc

2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify module_make_function

	* src/emacs-module.c (module_make_function):
	Simplify by calling build_unibyte_string.

2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>

	Port better to FreeBSD’s dlfunc vs dlsym

	This avoids warnings when converting between void * and
	function pointers, which strict C11 does not allow.
	* configure.ac (dlfunc): Check for existence.
	* src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
	(dynlib_func): New function.
	* src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
	* src/emacs-module.c (Fmodule_load): Use dynlib_func, not
	dynlib_sym, for function pointers.

2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify use of emacs_finalizer_function type

	* src/emacs-module.h (emacs_finalizer_function):
	Now EMACS_NOEXCEPT.  All users simplified to omit EMACS_NOEXCEPT.
	(struct emacs_env_25): Use emacs_finalizer_function where applicable.

2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>

	module_format_fun_env fixes

	* src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
	* src/emacs-module.c (module_format_fun_env):
	Convert path and sym to UTF-8.
	Don’t use VLAs, as the C11 standard says they’re optional,
	and anyway they can cause core dumps with large allocations.
	Use exprintf rather than snprintf, as exprintf handles arbitrarily
	long strings.  Simplify the code a bit.

2015-11-23  Dmitry Gutov  <dgutov@yandex.ru>

	Don't use package-user-dir in elisp-library-roots if it's not bound

	* lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
	use package-user-dir if it's not bound (bug#19759).

2015-11-23  Anders Lindgren  <andlind@gmail.com>

	New visible-bell for NextStep (OS X El Capitan compatible).

	Instead of inverting a rectangle in the middle of the frame, use
	the standard NextStep image "caution", represented using an
	warning sign with an exclamation mark.  (Bug#21662)

	Implemented based on a suggestion drafted by Mustafa Kocaturk.

	* src/nsterm.m (EmacsBell): New class for managing the caution
	image.  Support multiple active bells, the image is removed once
	all bells have timed out.
	(ns_timeout): Removed, no longer used.
	(ns_ring_bell): Reimplemented to use EmacsBell.

2015-11-23  Johan Bockgård  <bojohan@gnu.org>

	* lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.

	(remove-function): Ditto. (Bug#20376)

2015-11-23  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.

2015-11-23  Eli Zaretskii  <eliz@gnu.org>

	Improve how non-ASCII strings are accepted from modules

	* src/emacs-module.c (module_make_function, module_make_string):
	Build a unibyte Lisp string and then decode it by UTF-8, instead
	of building a multibyte string without decoding.  This is more
	tolerant to deviations from UTF-8.

2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>

	Port recent module changes to pickier compilers

	* src/emacs-module.c (module_make_function)
	(module_make_string): Add casts to fix pointer signedness issues.

2015-11-23  Philipp Stephani  <phst@google.com>

	Fix how strings are accepted from modules

	* src/emacs-module.c (module_make_function, module_make_string): Use
	make_multibyte_string.
	(module_copy_string_contents): Encode before reading the byte
	size.  Return false if and only if an error occurred.

2015-11-23  Shakthi Kannan  <shakthimaan@gmail.com>

	Add the tamil-dvorak input method

	* lisp/leim/quail/tamil-dvorak.el: New file.  (Bug#21768)

	* etc/NEWS: Mention the new input method.

2015-11-23  Martin Rudalics  <rudalics@gmx.at>

	Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.

	* src/frame.c (adjust_frame_size): Don't set
	FRAME_WINDOW_SIZES_CHANGED here ...
	* src/window.c (resize_frame_windows): ... but here, as suggested
	by Stefan Monnier.  Also remove some dead code along the way.

2015-11-23  Alan Mackenzie  <acm@muc.de>

	* etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.

2015-11-23  Alan Mackenzie  <acm@muc.de>

	Signal an error when `setf' gets an odd number of arguments.

	* lisp/emacs-lisp/gv.el (setf): Amend.

2015-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.

2015-11-23  Alan Mackenzie  <acm@muc.de>

	* etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.

2015-11-23  Alan Mackenzie  <acm@muc.de>

	Expunge occurrences of `setq' with an odd number of arguments.

	* lisp/apropos.el (apropos-documentation):
	* lisp/obsolete/complete.el (PC-include-file-all-completions):
	* lisp/progmodes/compile.el (compilation-goto-locus):
	* lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
	Insert missing nil at end of `setq' forms.

	* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
	erroneous trailing variable name from a setq, thus allowing a compilation
	properly to track functions not defined at runtime.

2015-11-23  John Wiegley  <johnw@newartisans.com>

	Add a note about a questionable use of bool in xdisp.c

2015-11-23  Alan Mackenzie  <acm@muc.de>

	Issue a warning from the byte compiler on a malformed `setq' form.

	Partly fixes bug#20241.
	* lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
	`setq' form with an odd number of arguments is compiled.

2015-11-23  Alan Mackenzie  <acm@muc.de>

	Don't let cconv_convert insert a nil argument into a `setq' form.

	Fixes bug#21983.
	* lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
	argument into a `setq' when there're an odd number of args.  This enables the
	byte compiler to issue a message in this case.

2015-11-23  Alan Mackenzie  <acm@muc.de>

	Signal an error when `setq' has an odd number of arguments.  Fixes bug#20241.

	* src/eval.c (Fsetq): Signal an error on an odd number of arguments.
	(syms_of_eval): Add a DEFSYM for Qsetq.

2015-11-23  Martin Rudalics  <rudalics@gmx.at>

	* doc/lispref/windows.texi (Window Sizes): Fix indices and references.

	* src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).

2015-11-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Add EUDC BBDB 3 entry in NEWS

	* NEWS: Mention EUDC BBDB backend support for BBDB 3.

2015-11-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Improve EUDC to BBDB 3 export

	* lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
	entry to single item.  Add company conversion.
	* lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
	(bbdb-parse-phone): Declare function.
	(eudc-bbdbify-phone): Add BBDB 3 support.
	(Bug#21971)

2015-11-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Add BBDB 3 support for EUDC export

	* lisp/net/eudc.el: Add bbdb-version defvar.
	(eudc--using-bbdb-3-or-newer-p): New function.
	* lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
	bbdb-create-internal argument list changes introduced in BBDB 3.
	* lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
	(eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
	(Bug#21971)

2015-11-22  Eli Zaretskii  <eliz@gnu.org>

	Allow loading modules by 'load-file'

	* src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
	2nd arg, to avoid the "binding stack not balanced" error.
	(syms_of_lread) <module-file-suffix>: New Lisp variable.

	* lisp/files.el (module-file-suffix): Declare.
	(load-file): Remove 'module-file-suffix' from
	'completion-ignored-extensions', to allow completion on modules.

	* etc/NEWS: Mention 'module-file-suffix'.

2015-11-22  Eli Zaretskii  <eliz@gnu.org>

	Fix unoptimized builds

	* src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
	builds.

2015-11-22  Dmitry Gutov  <dgutov@yandex.ru>

	Work around the asynchronous-empty-diff problem

	* lisp/vc/vc-rcs.el (vc-rcs-diff):
	* lisp/vc/vc-mtn.el (vc-mtn-diff):
	* lisp/vc/vc-hg.el (vc-hg-diff):
	* lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
	do a synchronous process call (bug#21969).

2015-11-22  Karl Fogel  <kfogel@red-bean.com>

	Finish excising electric indent from `open-line'

	* lisp/simple.el (open-line): Remove INTERACTIVE argument.

	* test/automated/simple-test.el (open-line-indent, open-line-hook):
	  Adjust accordingly.

	This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
	(git commit c59353896) started.  It turns out that having INTERACTIVE
	cause `post-self-insert-hook' to run (via `newline') meant `open-line'
	still had the electric indent behavior, as `post-self-insert-hook'
	normally contains `electric-indent-post-self-insert-function' ever
	since `electric-indent-mode' has been on by default.  Tracing the code
	change in `open-line' is mildly twisty, because Artur Malabarba's
	earliest two commits of 24 Oct 2015 first removed the `interactive'
	form entirely (git commit 6939896e2) and then restored it with the new
	extra "p" already added (git commit bd4f04f86), such that there is no
	single-commit diff in which one sees the second "p" appear.  Thus this
	change is effectively a reversion of parts of each of those commits.

	This could close bug#21884, at least until further discussion.

2015-11-22  Dmitry Gutov  <dgutov@yandex.ru>

	Adhere closer to the "implicit tag name" definition

	* lisp/progmodes/etags.el (etags-tags-completion-table):
	Adhere closer to the "implicit tag name" definition.  Simplify
	the regexp.  Search for the explicit tag name first, and when
	not found, search locally for the implicit one.  (Bug#21934)

2015-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	Unrevert most of regexp reentrancy abort patch

	The problem was in:
	  * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
	which is hence not unreverted.
	The rest is:
	* src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
	(UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
	All callers in regex.c changed back to the _FAST versions.

	* test/automated/message-mode-tests.el: Tweak the test to rely on auto
	propertization in backward-sexp.

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

	Revert regexp reentrancy abort patch

	Although the patch does fix Bug#21688 and prevents a core dump,
	it also makes the message-mode-propertize test fail; see:
	https://lists.gnu.org/r/emacs-devel/2015-11/msg01667.html
	Perhaps someone else can come up with a better fix some day.
	* src/syntax.c (update_syntax_table_forward):
	Propertize even when truncated.
	* src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
	(UPDATE_SYNTAX_TABLE_FAST): Remove.
	All callers changed back to the non-_FAST versions.

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

	Add a few safety checks when ENABLE_CHECKING

	This was motivated by the recent addition of module code,
	which added some ENABLE_CHECKING-enabled checks that are
	useful elsewhere too.
	* src/alloc.c (compact_font_cache_entry):
	* src/fns.c (sweep_weak_table):
	* src/lread.c (oblookup):
	Use gc_asize rather than doing it by hand.
	* src/emacs-module.c (module_make_global_ref)
	(module_free_global_ref, module_vec_size):
	Omit assertions that lisp.h now checks.
	* src/lisp.h (XFASTINT, ASIZE): In functional implementations,
	check that the result is nonnegative.  Use eassume, as this
	info can help a bit when optimizing production code.
	(XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
	to be consistent with the USE_LSB_TAG case.
	(gc_asize): New function, when ASIZE is needed in the gc.
	(gc_aset): Use it.
	(HASH_TABLE_P): Move definition up, so that it can be used ...
	(XHASH_TABLE): ... here, to assert that the arg is a hash table.

2015-11-21  Eli Zaretskii  <eliz@gnu.org>

	Simplify recording of main thread's ID on MS-Windows

	* src/w32term.c (w32_initialize):
	* src/w32console.c (initialize_w32_display):
	* src/w32fns.c (globals_of_w32fns): Don't record the main thread
	ID independently for each type of session (GUI, TTY, batch).
	* src/w32term.c (w32_init_main_thread): New function, records the
	main thread's thread ID.
	* src/w32term.h: Add prototype for w32_init_main_thread.
	* src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.

	* src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
	main_thread, for consistency with other threading libraries.  All
	users changed.  Include w32term.h.
	(check_main_thread) [WINDOWSNT]: Simplify the test: no need to
	make sure the main thread is alive, as we hold a handle on it
	opened by w32_init_main_thread.
	(module_init) [WINDOWSNT]: Reuse the thread ID recorded by
	w32_init_main_thread, instead of calling the requisite APIs once
	more.

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

	Backport: Fix issue where a new tempfile was created every refresh

	* lisp/mpc.el (mpc-format): Leave dir as relative path

2015-11-21  Eli Zaretskii  <eliz@gnu.org>

	Call 'window-size-change-functions' for mini-windows

	* src/window.c (grow_mini_window, shrink_mini_window): Set the
	frame's 'window_sizes_changed' flag.
	* src/xdisp.c (redisplay_internal): Call the hooks on
	'window-size-change-functions' if the call to 'echo_area_display'
	sets the frame's 'window_sizes_changed' flag.
	(syms_of_xdisp) <window-size-change-functions>:
	Update doc string to indicate the mini-window resizes trigger a
	call to the hooks, and don't promise that will happen "before
	redisplay".  (Bug#19576, Bug#21333)

	* doc/lispref/windows.texi (Window Hooks): Update the description
	of 'window-size-change-functions'.

2015-11-21  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of dynamic modules

	* src/fns.c (Frequire): Doc fix to include the dynamic module
	support.
	* src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
	dynamic module support.
	(Fload): Treat the module suffix the same as '*.el' and '*.elc'
	wrt the MUST-SUFFIX argument.

	* etc/NEWS: Expand documentation of dynamically loaded modules.

2015-11-21  Philipp Stephani  <phst@google.com>  (tiny change)

	Initial documentation for dynamic modules

	* etc/NEWS: Mention the new support for dynamically loaded modules.

2015-11-21  Dmitry Gutov  <dgutov@yandex.ru>

	Add xref--etags-backend to xref-backing-functions using add-hook

	* lisp/progmodes/xref.el (xref-backend-functions): Move the
	default value into a separate `add-hook' call (bug#21964).

	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
	Don't declare the xref-backend-functions variable.
	It doesn't make any difference.

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

	Fix double-decrement bug when freeing global refs

	* src/emacs-module.c (module_free_global_ref): Add a FIXME
	comment about error reporting.  Fix a recently-introduced typo
	that double-decremented the refcount.

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

	Declare emacs_module_init in the module API

	* src/emacs-module.h (emacs_module_init): New decl.
	Without it, GCC might complain about a module that defines
	emacs_module_init without using it.  This also checks the
	API better.

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

	Fix module test to use ptrdiff_t nargs too

	* modules/mod-test/mod-test.c (Fmod_test_return_t)
	(Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
	(Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
	(Fmod_test_string_a_to_b, Fmod_test_userptr_make)
	(Fmod_test_userptr_get, Fmod_test_vector_fill)
	(Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
	(finalizer): Remove; no longer used.

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

	Fix reindent-introduced typo in module code

	* src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
	introduced while reindenting the code earlier, and add a
	comment explaining the unusual use of do-while here.

2015-11-20  Anders Lindgren  <andlind@gmail.com>

	Fixed bug#19576: `write-file' saves wrong buffer.

	If a function on the hook `window-size-change-functions' doesn't
	restore the current buffer, functions that save and restore the
	current window configuration (like `y-or-no-p') could silently
	change the current buffer.  When `write-file' asked the user
	confirmation to overwrite a file, `y-or-no-p' changed the current
	buffer, and the wrong buffer was saved to the file.

	* lisp/follow.el (follow-windows-start-end): Call `select-frame'
	using the `norecord' parameter.
	(follow-window-size-change): Restore current buffer. Call
	`select-frame' using the `norecord' parameter. Cleanup.

2015-11-20  John Wiegley  <johnw@newartisans.com>

	Correct a documentation error in frames.texi

2015-11-20  Stephen Leake  <stephen_leake@stephe-leake.org>

	* lisp/cedet/mode-local.el: Delete obsolete comment

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

	Module function arg counts are ptrdiff_t, not int

	* src/emacs-module.c (struct module_fun_env)
	(module_make_function, module_funcall, Fmodule_call):
	* src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
	Use ptrdiff_t, not int, for arg counts.
	* src/emacs-module.c (module_make_function): Don’t bother
	checking arity against MOST_POSITIVE_FIXNUM, as that’s
	unnecessary here.  Make the checking clearer by negating it.
	(module_make_function, Fmodule_call): No need to use xzalloc
	since the storage doesn’t need to be cleared.
	(module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
	for it, and many implementations are buggy with large VLAs anyway.
	Use SAFE_ALLOCA_LISP instead.
	(module_vec_set): Don’t crash if i < 0.
	(module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
	(module_vec_set, module_vec_get): Do fixnum checks only when
	i is out of array bounds, for efficiency in the usual case.
	(Fmodule_load): Simplify fixnum range check.
	(Fmodule_call): Simplify arity check.  Use xnmalloc to detect
	integer overflow in array allocation size.

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

	Minor improvements in module test

	* modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
	about missing prototype of malloc.
	* modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
	compiler warnings.

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

	Improve MS-Windows implementation in dynlib.c

	* src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
	No need to include windows.h, as w32.h already does that.
	<dynlib_last_err>: New static variable.
	(dynlib_reset_last_error): New function.
	(dynlib_open): Convert forward slashes to backslashes.  Convert
	file names from UTF-8 to either UTF-16 or the current ANSI
	codepage, and call either LoadLibraryW or LoadLibraryA.  If the
	argument is NULL, return a handle to the main module, like
	'dlopen' does.  Record the error, if any, for use by dynlib_error.
	(dynlib_sym): Check the handle for validity. Record the error, if
	any, for use by dynlib_error.
	(dynlib_error): Call w32_strerror to produce the error string, and
	zero out the last error code, like dlerror does.
	(dynlib_close): Check the handle for validity.  Record the error,
	if any, for use by dynlib_error.  Don't call FreeLibrary with a
	handle for the main module.
	* src/w32.c (globals_of_w32): Call dynlib_reset_last_error.

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

	Include-file tweaks for modules

	* src/dynlib.c, src/emacs-module.c: Include <config.h> first.
	* src/dynlib.h: Do not include config.h.
	It’s every .c file’s responsibility to include config.h first.
	* src/emacs-module.c: Include emacs-module.h immediately after
	config.h, to test that emacs-module.h doesn’t depend on
	include files other than config.h.

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

	Simplify push_handler and profile its malloc

	* src/lisp.h (PUSH_HANDLER): Remove.
	All callers changed to use push_handler directly.
	* src/eval.c (internal_condition_case)
	(internal_condition_case_1, internal_condition_case_2)
	(internal_condition_case_n):
	Use same pattern as for other invokers of push_handler.
	(push_handler, push_handler_nosignal): Use call-by-value
	instead of call-by-reference.  All uses changed.
	(push_handler): Simplify by rewriting in terms of
	push_handler_nosignal.
	(push_handler_nosignal): Profile any newly allocated memory.

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

	* src/emacs-module.h: Include stddef.h, not stdlib.h.

2015-11-20  Juanma Barranquero  <lekktu@gmail.com>

	Discover repository version in linked worktrees (bug#21930)

	* lisp/version.el (emacs-repository--version-git-1): Do not assume
	HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
	(emacs-repository-get-version): Grok linked worktrees when EXTERNAL
	is nil too.

2015-11-20  Juri Linkov  <juri@linkov.net>

	* lisp/replace.el (occur-regexp-descr): New function.
	(occur-1, occur-engine): Use it.

	* lisp/isearch.el (isearch-occur): Propertize regexp with
	isearch-string and isearch-regexp-function-descr for
	occur-regexp-descr to display the correct description
	message in the header (bug#21176, bug#21180).

2015-11-20  Karl Fogel  <kfogel@red-bean.com>

	Revert `open-line' electric-indent sensitivity

	* lisp/simple.el (open-line): Remove electric indent code.
	  (electric-indent-just-newline): Don't declare.

	* test/automated/simple-test.el (open-line-indent): Adjust test.

	This partly reverts Artur Malabarba's change that added electric
	indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
	commit bd4f04f86), and adjusts a new test he added right afterwards
	(Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
	However, the new INTERACTIVE argument to `open-line', which he also
	added in the first commit, is not reverted here.

	See the thread "Questioning the new behavior of `open-line'." on the
	Emacs Devel mailing list, and in particular this message:

	  From: Artur Malabarba
	  Subject: Re: Questioning the new behavior of `open-line'.
	  To: Karl Fogel
	  Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
	  Date: Wed, 18 Nov 2015 21:03:58 +0000
	  Message-ID: \
	    <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>

	  https://lists.gnu.org/r/emacs-devel/2015-11/msg01707.html

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

	Omit unnecessary clear in Fmodule_load

	* src/emacs-module.c (Fmodule_load):
	Simplify and avoid unnecessary initialization of priv member to 0.

	* src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)

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

	Prefer signed integer types in module code

	Generally speaking, at the C level the Emacs source code prefers
	signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
	partly to avoid the usual signedness confusion when comparing values.
	Change the module API to follow this convention.
	Use ‘int’ for small values that can’t exceed INT_MAX.
	* modules/mod-test/mod-test.c (Fmod_test_globref_make)
	(Fmod_test_string_a_to_b, Fmod_test_vector_fill)
	(Fmod_test_vector_eq):
	* src/emacs-module.c (struct emacs_value_frame)
	(module_make_global_ref, module_free_global_ref)
	(module_copy_string_contents, module_make_string)
	(module_vec_set, module_vec_get, module_vec_size):
	* src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
	* src/lread.c (suffix_p):
	Prefer signed to unsigned integer types.

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

	Omit ‘const’ on locals

	Remove ‘const’ qualifier from locals that were newly added.
	We don’t normally bother declaring locals with ‘const’ even
	though they are not modified, for the same reason we don’t
	bother declaring them with ‘register’ even though their
	addresses are not taken; the advantage in compile-time
	checking isn’t worth the loss of readability.
	* modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
	(Fmod_test_vector_fill, Fmod_test_vector_eq):
	* src/emacs-module.c (MODULE_SETJMP_1)
	(module_make_global_ref, module_free_global_ref)
	(module_non_local_exit_get, module_make_function)
	(module_extract_integer, module_extract_float)
	(module_get_user_ptr, module_set_user_ptr)
	(module_get_user_finalizer, module_set_user_finalizer)
	(module_vec_get, Fmodule_call)
	(module_non_local_exit_signal_1)
	(module_non_local_exit_throw_1, lisp_to_value)
	(finalize_storage, allocate_emacs_value, mark_modules)
	(module_handle_signal, module_handle_throw)
	(module_format_fun_env):
	* src/eval.c (push_handler, push_handler_nosignal)
	(init_handler):
	* src/lread.c (suffix_p):
	Omit unnecessary ‘const’.

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

	Prefer intmax_t to int64_t in module code

	* modules/mod-test/mod-test.c (sum, Fmod_test_sum):
	* src/emacs-module.c (module_extract_integer)
	(module_make_integer):
	* src/emacs-module.h (struct emacs_env_25):
	Prefer intmax_t to int64_t.  This doesn’t change the generated
	code on any of the machines Emacs currently ports to, but it’s
	at least in theory more future-proof as C99 doesn’t guarantee
	that int64_t exists.

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

	Rename module.c to emacs-module.c, etc.

	* src/emacs-module.c: Rename from src/module.c.
	* src/emacs-module.h: Rename from src/module.h.
	All uses changed.

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

	Fix minor module problems found by static checking

	* src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
	* src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
	* src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
	(Fmodule_call): Tell GCC that the default case is unreachable.

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

	Style fixes for indenting etc. in module code

	This is mostly indenting and spacing changes.  Also, remove
	some unnecessary static decls instead of bothering to reindent them.
	* src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
	as most other Emacs files do for this sort of thing.

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

	Minor improvements in modules testing Makefile

	* modules/mod-test/Makefile (EMACS, SO): New variables.
	(CFLAGS): When SO = dll, don't use -fPIC.
	(check): New target, runs the test.

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

	* .gitignore: Add "*.dll".

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

	Migrate modules/.gitignore into .gitignore

	* .gitignore: Add former contents of modules/.gitignore.
	* modules/.gitignore: Remove.

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

	Add copyright notices to module code

	Put them in the usual format for GNU Emacs copyright notices.

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

	Rename emacs_module.h to module.h

	* src/module.h: Rename from src/emacs_module.h.
	All uses changed.

2015-11-19  Juanma Barranquero  <lekktu@gmail.com>

	* src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'

	* src/lread.c (Fload): Remove unused variable `size'

2015-11-19  Alan Mackenzie  <acm@muc.de>

	src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".

2015-11-19  Dmitry Gutov  <dgutov@yandex.ru>

	Prioritize looking inside vc-parent-buffer over log-view-mode fallback

	* lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
	vc-parent-buffer over log-view-mode fallback (bug#21955).

2015-11-18  Alan Mackenzie  <acm@muc.de>

	lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.

2015-11-18  Ken Brown  <kbrown@cornell.edu>

	* configure.ac (LIBMODULES): Don’t define on Cygwin

2015-11-18  Eli Zaretskii  <eliz@gnu.org>

	Fix MS-Windows build --with-modules

	* src/module.c: Reformat copyright commentary.
	(module_vec_get): Use explicit cast to size_t to avoid compiler
	warning in 32-bit builds.
	(check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
	Compare thread IDs directly, as GetThreadId is not available
	before Windows Vista.
	(check_main_thread) [WINDOWSNT]: Duplicate the thread handle
	without using APIs and constants not available on XP and older
	systems.  Obtain and store the thread ID as well.

2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
	    Philipp Stephani  <phst@google.com>

	Add dynamic module test and helper script

	Add 'modhelp.py' script (python2) to automate module testing and
	module generation.

	To build and test all modules in the modules/ dir
	  $ ./modhelp.py test

	To generate a module from template code (good starting point)
	  $ ./modhelp init mynewtestmodule

	See the script -h option for more documentation.

	* modules/modhelp.py: New module helper script.
	* modules/mod-test/Makefile: New file. Makefile for the test module.
	* modules/mod-test/mod-test.c: New file. Test module source file.
	* modules/mod-test/test.el: New file. ert test suite for the test module.
	* modules/.gitignore: New file. Local .gitignore file.

2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>

	Make 'Fload' look for modules

	'Fload' can now load dynamic modules. This also makes 'require' work.

	* src/lread.c:
	  (suffix_p): New function.
	  (Fload): Use 'suffix_p'.  Call 'Fmodule_load' when we try to load a file
	  with a module suffix.
	  (syms_of_lread): Append module suffix to 'Vload_suffixes'.

2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
	    Philipp Stephani  <phst@google.com>

	Add dynamic module module support

	* configure.ac: Add '--with-modules' option.  Conditionally add
	  dynlib.o and module.o to the list of objects.  Add any system
	  specific flags to the linker flags to support dynamic libraries.
	* m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
	  attributes.
	* src/Makefile.in: Conditionally add module objects and linker flags.
	* src/alloc.c (garbage_collect_1): protect module local values from
	  GC.
	* src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
	* src/emacs-module.h: New header file included by modules.  Public
	  module API.
	* src/emacs-module.c: New module implementation file.

2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>

	Add new User Pointer (User_Ptr) type

	* src/lisp.h: Add new Lisp_Misc_User_Ptr type.
	(XUSER_PTR): New User_Ptr accessor.
	* src/alloc.c (make_user_ptr): New function.
	(mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
	* src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
	(Fuser-ptrp): New user pointer type predicate function.
	(syms_of_data): New 'user-ptrp', 'user-ptr' symbol.  New 'user-ptrp'
	subr.
	* src/print.c (print_object): Add printer for User_Ptr type.

2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
	    Philipp Stephani  <phst@google.com>

	Add portable layer for dynamic loading

	* src/dynlib.h: New file.
	* src/dynlib.c: New file.

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

	Add catch-all & no-signal version of PUSH_HANDLER

	Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
	a new "catch-all" handler type.

	* src/eval.c (init_handler, push_handler, push_handler_nosignal): New
	  functions.
	* src/fns.c (hash_remove_from_table): Expose function public.
	* src/lisp.h: New handler type, define macro to push_handler call.

2015-11-18  Ken Brown  <kbrown@cornell.edu>

	Silence byte-compiler warning

	* lisp/server.el (server-process-filter): Silence byte-compiler
	warning.

2015-11-18  Paul Eggert  <eggert@cs.ucla.edu>

	Quote symbols in docstrings using `'

	Be more systematic about quoting symbols `like-this' rather than
	`like-this or 'like-this' in docstrings.  This follows up Artur
	Malabarba's email in:
	https://lists.gnu.org/r/emacs-devel/2015-11/msg01647.html

2015-11-18  Peder O. Klingenberg  <peder@klingenberg.no>

	Fix savegames in dunnet

	* lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
	  of separate implementation.

2015-11-18  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--with-response-buffer):

	Ensure we're at the start of the buffer before searching for
	the end of headers.

2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>

	* admin/release-process: Improve wording.

2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>

	Backport: * CONTRIBUTE: Remove information about feature freeze.

	(cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)

2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>

	Backport: 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.

	(cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)

2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>

	Backport: * admin/release-process: Rename from admin/FOR-RELEASE.

	(cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)

2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>

	Backport: 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.

	(cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)

2015-11-18  Paul Eggert  <eggert@cs.ucla.edu>

	Fix docstring quoting problems with ‘ '’

	Problem reported by Artur Malabarba in:
	https://lists.gnu.org/r/emacs-devel/2015-11/msg01513.html
	Most of these fixes are to documentation; many involve fixing
	longstanding quoting glitches that are independent of the
	recent substitute-command-keys changes.  The changes to code are:
	* lisp/cedet/mode-local.el (mode-local-augment-function-help)
	(describe-mode-local-overload):
	Substitute docstrings before displaying them.
	* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
	Quote the generated docstring for later substitution.

2015-11-17  Eli Zaretskii  <eliz@gnu.org>

	Improve configure --help text for wide ints

	* configure.ac (wide-int): Clarify user-level advantages and
	disadvantages.

2015-11-17  Stephen Leake  <stephen_leake@stephe-leake.org>

	Improve doc string

	* lisp/progmodes/xref.el (xref-backend-references): Improve doc string.

2015-11-17  Paul Eggert  <eggert@cs.ucla.edu>

	eval_sub followed dangling pointer when debugging

	Problem reported by Pip Cet (Bug#21245).
	This bug could occur in eval_sub if the C compiler reused
	storage associated with the ‘argvals’ local after ‘argvals’
	went out of scope, and if the Elisp debugger stopped on Elisp
	function exit and accessed ‘argvals’.  It could also occur if
	a variadic function was called with so many arguments (over
	2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
	SAFE_FREE freed the arguments, then the memory manager used
	the storage for other purposes, then the debugger accessed the
	arguments.
	* src/eval.c (eval_sub): Declare ‘argvals’ at top level of
	function body.	Simplify local decls.
	When allocating args via SAFE_ALLOCA, call
	debugger before invoking SAFE_FREE, as the debugger needs
	access to the args.
	(eval_sub, apply_lambda): Rework to avoid need for
	set_backtrace_debug_on_exit hack.  This is cleaner,
	and should work better with buggy custom debuggers.

2015-11-17  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-17  Paul Eggert  <eggert@cs.ucla.edu>

	ELF unexec: align section header

	This ports the recent unexelf.c changes to Fedora x86-64
	when configured with GCC’s -fsanitize=undefined option.
	* src/unexelf.c (unexec): Align new_data2_size to a multiple
	of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
	pointer aligned appropriately for its type.

2015-11-17  Andreas Schwab  <schwab@linux-m68k.org>

	Do more checks on bytecode objects (Bug#21929)

	* src/eval.c (funcall_lambda): Check size of compiled function
	object.
	(Ffetch_bytecode): Likewise.

2015-11-16  Johan Bockgård  <bojohan@gnu.org>

	pcase.el: Fix edebugging of backquoted cons patterns

	* lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
	cons patterns. (Bug#21920)

2015-11-16  Paul Eggert  <eggert@cs.ucla.edu>

	Improve fix for regex reentrancy abort

	Suggested by Stefan Monnier (Bug#21688).
	* src/syntax.c (update_syntax_table_forward):
	Remove recently-added PROPERTIZE arg, and assume it is true.
	All callers changed.
	* src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
	Invoke update_syntax_table directly.

2015-11-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/faces.el (faces--attribute-at-point): Use `face-list-p'

	* lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require

	* lisp/emacs-lisp/nadvice.el (add-function): Escape quote

2015-11-16  Vasily Korytov  <vasily.korytov@yahoo.com>

	Recognize .rbw and .pyw files (bug#18753)

	* lisp/progmodes/python.el (auto-mode-alist):
	Recognize .pyw files.

	* lisp/progmodes/ruby-mode.el (auto-mode-alist):
	Recognize .rbw files.

2015-11-16  Dmitry Gutov  <dgutov@yandex.ru>

	Fix ruby-mode auto-mode-alist entry

	* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
	around the extensions (bug#21257).

2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>

	Fix etags completion near eob

	* lisp/progmodes/etags.el (tags-completion-at-point-function):
	Use `goto-char', to avoid the end-of-buffer error (bug#20061).

2015-11-15  Alan Mackenzie  <acm@muc.de>

	De-pessimize detection of C++ member initialization lists.

	list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
	(c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
	is only called when a construct "looks right" rather than continually.
	(c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.

2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>

	Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.

	* lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
	`url-insert-buffer-contents'.
	(url-insert-buffer-contents): New function

	(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.

2015-11-15  Stephen Leake  <stephen_leake@stephe-leake.org>

	Improve a few doc strings, comments

	* lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
	* lisp/cedet/ede/locate.el (ede-locate-base):
	* lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
	* src/fns.c (Fdelq): Improve doc string.

	* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.

2015-11-15  Anders Lindgren  <andlind@gmail.com>

	Enhance NSTRACE (trace output for NextStep).

	Trace can be disabled for groups of functions. By default, event
	functions and functions that generate lots of output are disabled.

	Trace output of Objective-C functions now use the "[ClassName
	parameter:]" form.

	* src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
	(NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
	(NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
	controlling in which function groups trace should be active.
	(NSTRACE_WHEN): Support for silencing a function, this also
	silencing all called functions.
	(NSTRACE_UNSILENCE): New macro, used to re-enable trace.
	(NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
	print the full screen state in NSTRACE functions.

	* src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
	can be accessed from multiple threads.
	(nstrace_enabled_global): New variable, when FALSE, trace is
	silenced.
	(nstrace_restore_global_trace_state): New function, used to
	restore `nstrace_enabled_global' at end of block.
	([EmacsView setFrame:], [EmacsWindow setFrame:display:])
	([EmacsWindow setFrame:display:animation:])
	([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
	and call corresponding super function.
	(Many functions): Add or enhance trace output.

	* src/nsimage.m (ns_image_from_file): Enhanced trace output.

	* src/nsfns.m (x_set_tool_bar_lines): Add trace output.

	* src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
	and call corresponding super function.

2015-11-15  Anders Lindgren  <andlind@gmail.com>

	Fixed a toolbar related issue on OS X.

	Earlier, when toggling the tool-bar in a maximized frame, the
	frame size didn't match the number of text lines, leaving an
	unused area at the bottom of the frame.

	* src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
	fullscreen modes when tool bar is disabled.

2015-11-15  Anders Lindgren  <andlind@gmail.com>

	Fixed OS X 10.6.8 build issue (bug#21862).

	* src/nsterm.h (EmacsView): Add missing declarations.
	* src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
	the standard method but without the notification parameter.
	Intended to be used for direct calls.
	([EmacsView windowDidEnterFullScreen]): Call the non-notification
	version of `windowDidBecomeKey'. Made the notification method call
	the non-notification method instead of the vice versa.
	(NSWindowDidEnterFullScreenNotification): Deleted, no longer
	needed.

2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/faces.el (faces--attribute-at-point): Fix an issue

	Previous code would signal an error when the face at point was
	a manually built list of attributes such as '(:foreground "white").

	* test/automated/faces-tests.el (faces--test-color-at-point): Add a test

2015-11-15  Paul Eggert  <eggert@cs.ucla.edu>

	Fix regex abort when it tries to reenter itself

	Problem reported by Ken Raeburn.
	Solution suggested by Stefan Monnier (Bug#21688).
	* src/regex.c (re_match_2_internal):
	Use new _FAST functions to avoid regex code reentering itself.
	* src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
	All callers changed.
	* src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
	(UPDATE_SYNTAX_TABLE_FAST): New inline functions.

2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>

	Improve Ruby 1.9-style keyword keys highlighting

	* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Handle required keyword arguments (bug#21367).
	And highlight the colon together with the name.

2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>

	Unify the absolutely equal xref-backend-references implementations

	* lisp/progmodes/elisp-mode.el (xref-backend-references):
	Remove.

	* lisp/progmodes/etags.el (xref-backend-references):
	Remove.

	* lisp/progmodes/xref.el (xref-backend-references):
	Define the default implementation.

2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>

	Update project-find-regexp for the new xref API

	* lisp/progmodes/project.el (project--read-regexp):
	Update to use the new xref API methods.

	* lisp/progmodes/xref.el (xref-find-backend): Autoload.

2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>

	Fix replacing a match with a shorter string

	In effect, partially reverting fe973fc.

	* lisp/progmodes/xref.el (xref-query-replace): Store the end
	of each match as a marker again, instead of length.
	(xref--query-replace-1): Update accordingly.

2015-11-14  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors

	Signal user-errors instead.

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

	Document 'describe-symbol'

	* doc/emacs/help.texi (Help Summary): Mention "C-h o".
	(Name Help): Document "C-h o" and describe-symbol.

	* lisp/help-fns.el (describe-symbol): Doc fix.

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

	Change test name to avoid spellcheck issue.

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

	Avoid signaling an error in 'describe-symbol'

	* lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
	exists as a function/variable/face/etc., but is undocumented.

	* test/automated/help-fns.el (help-fns-test-describe-symbol): New
	test.

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

	* INSTALL (--with-cairo): Document this new configure option.

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

	Document that GNU Make >= 3.81 is required to build Emacs

	* doc/lispref/internals.texi (Building Emacs): Document that GNU
	Make 3.81 or later is now required.

2015-11-14  Artur Malabarba  <bruce.connor.am@gmail.com>

	Backport: * 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.  On master, this macro will soon be part of another
	library (either standalone or inside url.el), which is why this
	commit is not to be merged back.

	(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-14  Eli Zaretskii  <eliz@gnu.org>

	* CONTRIBUTE (Branches): Improve wording for back-ported commits.

2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>

	Use generic dispatch for xref backends

	* lisp/progmodes/xref.el (xref-backend-functions):
	New variable.
	(xref-find-function): Remove.
	(xref-find-backend)
	(xref--etags-backend): New functions.
	(xref-identifier-at-point-function)
	(xref-identifier-completion-table-function): Remove.
	(xref-backend-definitions, xref-backend-references)
	(xref-backend-apropos, xref-backend-identifier-at-point)
	(xref-backend-identifier-completion-table):
	New generic functions.

	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
	Add `elisp--xref-backend' to the beginning of
	`xref-backend-functions', locally.  Delete references to
	removed functions and vars.
	(elisp-xref-find): Remove.
	(elisp--xref-backend): New function.
	(elisp--xref-find-references, elisp--xref-find-apropos)
	(elisp--xref-identifier-completion-table):
	Turn into appropriately named generic methods.

	* lisp/progmodes/etags.el (etags-xref-find): Remove.
	(xref-backend-identifier-completion-table)
	(xref-backend-references, xref-backend-definitions)
	(xref-backend-apropos): New generic methods.

2015-11-14  Juri Linkov  <juri@linkov.net>

	Support rectangular regions for more commands

	* lisp/simple.el (region-extract-function): Handle the arg
	value ‘bounds’.
	(region-insert-function): New function.
	(shell-command-on-region): Add arg ‘region-noncontiguous-p’.
	If non-nil, operate on multiple chunks.
	(region-noncontiguous-p): New function.

	* lisp/rect.el: Add function rectangle--insert-region
	around region-insert-function.
	(extract-rectangle-bounds): New function.
	(rectangle--extract-region): Handle the arg value ‘bounds’.
	(rectangle--insert-region): New function.

	* lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
	around region-insert-function.
	(cua--extract-rectangle-bounds): New function.
	(cua--rectangle-region-extract): Handle the arg value ‘bounds’.

	* lisp/replace.el (query-replace, query-replace-regexp): Add arg
	‘region-noncontiguous-p’.  Use ‘use-region-p’.
	(query-replace-regexp-eval, map-query-replace-regexp)
	(replace-string, replace-regexp): Use ‘use-region-p’.
	(keep-lines, flush-lines, how-many): Use ‘use-region-p’.
	(perform-replace): Add arg ‘region-noncontiguous-p’.
	If non-nil, operate on multiple chunks.

	* src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
	If non-nil, operate on multiple chunks.  (Bug#19829)

2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>

	Handle multiple matches on the same line; add highlighting

	* lisp/progmodes/xref.el (xref-location-marker): Interpret the
	column value in characters.
	(xref--collect-matches): Rename from `xref--collect-match'.
	Search for all matches in the hit line.  Add `highlight' face to
	the matched region in the summary.  Update both callers.

2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>

	Replace xref-match-bounds with xref-match-length

	Relying on xref-location-marker to point to the beginning of the match

	* lisp/progmodes/xref.el (xref-match-bounds): Remove.
	(xref-match-length): Add.
	(xref-make-match): Change the arguments.
	(xref--match-buffer-bounds): Remove.
	(xref-match-item): Store length, instead of end-column.
	(xref-pulse-momentarily)
	(xref--collect-match)
	(xref--query-replace-1): Update accordingly.
	(xref-query-replace): Ditto.  And check that the search results
	are up-to-date.

2015-11-13  Kelvin White  <kwhite@gnu.org>

	Reconnect asynchronously in erc.

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

	Merge from gnulib

	This incorporates:
	2015-11-13 xalloc-oversized: improve performance with GCC 5
	* lib/xalloc-oversized.h: Copy from gnulib.

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

	Spruce up ftfont.c memory allocation

	* src/ftfont.c (setup_otf_gstring):
	Avoid O(N**2) behavior when reallocating.
	(ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
	reallocating buffers; this simplifies the code.  Do not trust
	mflt_run to leave the output areas unchanged on failure, as
	this isn’t part of its interface spec.

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

	Port recent XCB changes to 64-bit ‘long int’

	For historical reasons, libX11 represents 32-bit values like Atoms as
	‘long int’ even on platforms where ‘long int’ is 64 bits.  XCB doesn’t
	do that, so adapt the recent XCB code to behave properly on 64-bit
	platforms.  Also, fix what appears to be a bug in the interpretation
	of xcb_get_property_value_length, at least on my Fedora platform
	which is running libxcb-1.11-5.fc21.
	* src/xfns.c (x_real_pos_and_offsets):
	* src/xterm.c (get_current_wm_state):
	xcb_get_property_value_length returns a byte count, not a word count.
	For 32-bit quantities, xcb_get_property_value returns a vector
	of 32-bit words, not of (possibly 64-bit) long int.

	Backport.

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

	* src/undo.c (run_undoable_change): Now static.

	Backport.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Remove support for ':timeout' from w32 tray notifications

	* src/w32fns.c (Fw32_notification_notify): Delete the code that
	supports ':timeout'.
	(syms_of_w32fns): Don't DEFSYM ':timeout'.  This avoids clashes
	with dbusbind.c when D-Bus is compiled in.

	* doc/lispref/os.texi (Desktop Notifications): Don't mention
	':timeout'.

	Backport.

2015-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/simple-test.el: Add test for bug#20698 (bug#21885)

	(simple-test--transpositions): New macro.
	(simple-transpose-subr): New test.

	Backport.

2015-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* lisp/progmodes/elisp-mode.el: Declare function `project-roots'

	Backport.

2015-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* src/undo.c: Small fixes for previous change

	(run_undoable_change): Mark void argument list.
	(record_property_change): Remove unused variable `boundary'.

	Backport.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Add a few more variables to redisplay--variables

	* lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
	and bidi-display-reordering to the list.

	Backport.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	* lisp/loadup.el: Enlarge the size of the hash table to 80000.

	Backport.

2015-11-13  Eli Barzilay  <eli@barzilay.org>

	Fix point positioning after transposing with negative arg

	* lisp/simple.el (transpose-subr): When invoked with a negative
	argument, move point to after the transposed text, like we do
	when invoked with a positive argument.  (Bug#21885)

	Backport.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Fix last change in shr.el

	* lisp/net/shr.el (shr--have-one-fringe-p): Rename from
	have-fringes-p.  All callers changed.  Doc fix.  (Bug#21895)

	Backport.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Fix last change

	* src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
	Don't DEFSYM tray notification symbols if D-Bus is being used.

	Backport.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Another fix for MinGW64 and Cygwin builds due to notifications

	* src/w32fns.c: Ifdef away tray notification code if D-Bus is
	being compiled into Emacs.
	(syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
	Sw32_notification_notify and Sw32_notification_close if the code
	is not compiled.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

	Backport.

2015-11-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Remove intern calls and XXX comments from Fx_export_frames

	* src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
	Qsvg instead of intern calls.  Use "postscript" instead of "ps"
	for consistency with image types.  Remove XXX comments.
	(syms_of_xfns) <Qpdf>: DEFSYM it.

	Backport.

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

	Port recent XCB changes to 64-bit ‘long int’

	For historical reasons, libX11 represents 32-bit values like Atoms as
	‘long int’ even on platforms where ‘long int’ is 64 bits.  XCB doesn’t
	do that, so adapt the recent XCB code to behave properly on 64-bit
	platforms.  Also, fix what appears to be a bug in the interpretation
	of xcb_get_property_value_length, at least on my Fedora platform
	which is running libxcb-1.11-5.fc21.
	* src/xfns.c (x_real_pos_and_offsets):
	* src/xterm.c (get_current_wm_state):
	xcb_get_property_value_length returns a byte count, not a word count.
	For 32-bit quantities, xcb_get_property_value returns a vector
	of 32-bit words, not of (possibly 64-bit) long int.

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

	* src/undo.c (run_undoable_change): Now static.

2015-11-13  Michael Albinus  <michael.albinus@gmx.de>

	Adapt Tramp version, do not merge with master

	* doc/misc/trampver.texi (trampver):
	* lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Remove support for ':timeout' from w32 tray notifications

	* src/w32fns.c (Fw32_notification_notify): Delete the code that
	supports ':timeout'.
	(syms_of_w32fns): Don't DEFSYM ':timeout'.  This avoids clashes
	with dbusbind.c when D-Bus is compiled in.

	* doc/lispref/os.texi (Desktop Notifications): Don't mention
	':timeout'.

2015-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
	(simple-test--transpositions): New macro.
	(simple-transpose-subr): New test.

2015-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* lisp/progmodes/elisp-mode.el: Declare function `project-roots'

2015-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* src/undo.c: Small fixes for previous change
	(run_undoable_change): Mark void argument list.
	(record_property_change): Remove unused variable `boundary'.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Add a few more variables to redisplay--variables

	* lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
	and bidi-display-reordering to the list.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	* lisp/loadup.el: Enlarge the size of the hash table to 80000.

2015-11-13  Eli Barzilay  <eli@barzilay.org>

	Fix point positioning after transposing with negative arg

	* lisp/simple.el (transpose-subr): When invoked with a negative
	argument, move point to after the transposed text, like we do
	when invoked with a positive argument.  (Bug#21885)

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Fix last change in shr.el

	* lisp/net/shr.el (shr--have-one-fringe-p): Rename from
	have-fringes-p.  All callers changed.  Doc fix.  (Bug#21895)

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Fix last change

	* src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
	Don't DEFSYM tray notification symbols if D-Bus is being used.

2015-11-13  Eli Zaretskii  <eliz@gnu.org>

	Another fix for MinGW64 and Cygwin builds due to notifications

	* src/w32fns.c: Ifdef away tray notification code if D-Bus is
	being compiled into Emacs.
	(syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
	Sw32_notification_notify and Sw32_notification_close if the code
	is not compiled.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

2015-11-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Remove intern calls and XXX comments from Fx_export_frames

	* src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
	Qsvg instead of intern calls.  Use "postscript" instead of "ps"
	for consistency with image types.  Remove XXX comments.
	(syms_of_xfns) <Qpdf>: DEFSYM it.

2015-11-13  Eric Hanchrow  <eric.hanchrow@gmail.com>

	shr: don't invoke unbound function (Bug#21895)

	* lisp/net/shr.el (have-fringes-p): New function.
	(shr-insert-document, shr-fill-text): Use it.

2015-11-12  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/keymap-tests.el: Fix test to make it repeatable

	(keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
	entry to its initial value to make the test repeatable in interactive
	sessions (assuming it doesn't fail and crashes Emacs, of course).

2015-11-13  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix

2015-11-12  Phillip Lord  <phillip.lord@russet.org.uk>

	: Tests for undo-auto functionality.

2015-11-12  Phillip Lord  <phillip.lord@newcastle.ac.uk>

	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'.

	* lisp/simple.el: New section added.
	* src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
	(self_insert_command): Calls simple.el to amalgamate.
	(delete_char): Calls simple.el to amalgamate.
	* src/keyboard.c (last_undo_boundary): Removed.
	* src/undo.c (run_undoable_change): New function.

2015-11-12  Juri Linkov  <juri@linkov.net>

	Bind [?\S-\ ] to previous line command in Dired-like modes.

	* lisp/arc-mode.el (archive-mode-map):
	* lisp/dired.el (dired-mode-map):
	* lisp/proced.el (proced-mode-map):
	* lisp/vc/vc-dir.el (vc-dir-mode-map):
	Bind [?\S-\ ] to previous line command.
	(Bug#20790)

2015-11-12  Eli Zaretskii  <eliz@gnu.org>

	Fix the MinGW64 and Cygwin-w32 builds

	* src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
	(MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
	use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
	which cause trouble with MinGW42 headers.  Ifdef away tray
	notifications code for Cygwin.  Reported by Andy Moreton
	<andrewjmoreton@gmail.com>.

2015-11-12  Simen Heggestøyl  <simenheg@gmail.com>

	Enable sorting of JSON object keys when encoding

	* lisp/json.el (json-encoding-object-sort-predicate): New variable
	for specifying a sorting predicate for JSON objects during encoding.
	(json--plist-to-alist): New utility function.
	(json-encode-hash-table): Re-use `json-encode-alist' when object keys
	are to be sorted.
	(json-encode-alist): Sort output by
	`json-encoding-object-sort-predicate, when set.
	(json-encode-plist): Re-use `json-encode-alist' when object keys are
	to be sorted.
	(json-pretty-print-buffer-ordered): New command to pretty print the
	buffer with object keys sorted alphabetically.
	(json-pretty-print-ordered): New command to pretty print the region
	with object keys sorted alphabetically.

	* test/automated/json-tests.el (test-json-plist-to-alist)
	(test-json-encode-plist, test-json-encode-hash-table)
	(test-json-encode-alist-with-sort-predicate)
	(test-json-encode-plist-with-sort-predicate): New tests.

	* etc/NEWS: Add an entry for the new commands.

2015-11-12  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/keymap-tests.el: New test file.

2015-11-12  Ken Raeburn  <raeburn@raeburn.org>

	Speed up x_real_pos_and_offsets using XCB

	* src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
	all X calls, and pipeline requests when possible, collecting results
	later.  Eliminate use of x_catch_errors (and thus XSync) in XCB case.

2015-11-12  Ken Raeburn  <raeburn@raeburn.org>

	Enable use of XCB for checking window manager state

	* src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
	of XGetWindowProperty plus error-catching, since we can explicitly
	check for errors in the XCB version.  This eliminates 3 XSync calls on
	top of the round-trip actually fetching the information.

2015-11-12  Ken Raeburn  <raeburn@raeburn.org>

	Detect XCB and save a connection handle

	* configure.ac: If using X11, check for XCB libraries and header.
	* src/Makefile.in (XCB_LIBS): Define.
	(LIBX_EXTRA): Include it.

	* src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
	(struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
	* src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.

2015-11-12  Ken Raeburn  <raeburn@raeburn.org>

	Reduce some data dependencies between X calls

	Gains nothing in the traditional-Xlib code, but more closely aligns
	with how the XCB version will work.

	* src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
	send coordinates (0,0) to the X server and add in the real coordinates
	after getting the response.  Move XGetGeometry for outer window inside
	error-trapping block.  Use DPY variable more, since it's available.

2015-11-12  Ken Raeburn  <raeburn@raeburn.org>

	Use color cache for creating bitmap

	* src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
	Set attributes to use the caching color allocator.  Initialize and
	free the cache.

2015-11-12  Eli Barzilay  <eli@barzilay.org>

	Add "^" to the interactive specs of `dired-next/previous-line'

	* lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
	to bind these commands to the arrow keys, and that means that they work
	better with a "^" in the `interactive' declaration so selection works
	as expected.

2015-11-12  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Sync with soap-client repository, version 3.0.2

	* lisp/net/soap-client.el: Bump version to 3.0.2.

	* lisp/net/soap-client.el (soap-warning): Use format, not format-message.

	* lisp/net/soap-client.el: Add cl-lib to Package-Requires.  Require cl-lib.
	(soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.

	* lisp/net/soap-client.el: Support Emacs versions that do not have
	define-error.

	* lisp/net/soap-inspect.el: Remove version header.

	* lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
	format.

2015-11-11  Alan Mackenzie  <acm@muc.de>

	CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.

	* lisp/progmodes/cc-engine.el (c-backward-single-comment)
	(c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
	(c-guess-basic-syntax):
	Remove bindings of open-paren-in-column-0-is-defun-start to nil.
	(c-get-fallback-scan-pos): "New" function (existed several years ago).
	(c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
	c-get-fallback-scan-pos.
	(c-parse-state-1): Handle 'BOD strategy.

	* lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
	(c-font-lock-fontify-region): Remove bindings of
	open-paren-in-column-0-is-defun-start to nil.

	* doc/misc/cc-mode.texi (Performance Issues)
	(Limitations and Known Bugs): Fix mix up between @chapter and @appendix.

2015-11-11  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/obarray.el: Fix shadowed variables.
	(obarray-map, obarray-remove, obarray-put, obarray-get):
	Change OBARRAY arg to OB to avoid shadowing ‘obarray’.

2015-11-11  Eli Zaretskii  <eliz@gnu.org>

	Avoid error in submitting a form with EWW

	* lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
	CHUNK to be nil.  (Bug#21881)

2015-11-11  Nicolas Petton  <nicolas@petton.fr>

	Rename seq-p and map-p to seqp and mapp

	* lisp/emacs-lisp/seq.el (seqp): New name.
	* lisp/emacs-lisp/map.el (mapp): New name.
	* doc/lispref/sequences.texi: Update the documentation for seqp.
	* test/automated/map-tests.el: Update the tests for mapp.

2015-11-11  Nicolas Petton  <nicolas@petton.fr>

	Rename obarray-p to obarrayp

	* lisp/obarray.el (obarrayp): New name.
	* test/automated/obarray-tests.el: Update the tests.

2015-11-11  Nicolas Petton  <nicolas@petton.fr>

	Rename obarray-foreach to obarray-map

	* lisp/obarray.el (obarray-map): New name.
	* test/automated/obarray-tests.el: Update the corresponding tests.

2015-11-11  Przemysław Wojnowski  <esperanto@cumego.com>

	New file with obarray functions.

	* lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
	* test/automated/obarray-tests.el: New file.

2015-11-11  Eli Zaretskii  <eliz@gnu.org>

	Implement tray notifications for MS-Windows

	* src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
	(NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
	(NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
	(NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
	(EMACS_NOTIFICATION_MSG): New macros.
	(NI_Severity): New enumeration.
	(get_dll_version, utf8_mbslen_lim, add_tray_notification)
	(delete_tray_notification, Fw32_notification_notify)
	(Fw32_notification_close): New functions.
	(syms_of_w32fns): Defsubr functions exposed to Lisp.  DEFSYM
	keywords used by w32-notification-notify.

	* doc/lispref/os.texi (Desktop Notifications): Describe the native
	w32 tray notifications.

2015-11-11  Alan Mackenzie  <acm@muc.de>

	First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.

	doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
	Windows" and new @defun selected-window-group.
	(Window Start and End): Describe new &optional parameter GROUP and
	...-group-function for window-start, window-end, set-window-start, and
	pos-visible-in-window-p.
	(Textual Scrolling) Describe the same for recenter.
	doc/lispref/positions.texi (Screen Lines): Describe the same for
	move-to-window-line.

	src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
	(Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
	new optional parameter "group".  At the beginning of each, check whether the
	corresponding ...-group-function is set to a function, and if so execute this
	function in place of the normal processing.
	(syms_of_window): Define symbols for the six new variables below.
	(window-start-group-function, window-end-group-function)
	(set-window-start-group-function, recenter-group-function)
	(pos-visible-in-window-p-group-function, move-to-window-line-group-function):
	New permanent local buffer local variables.
	src/keyboard.c (Fposn_at_point): Add extra parameter in call to
	Fpos_visible_in_window_p.

	lisp/window.el (selected-window-group-function): New permanent local buffer
	local variable.
	(selected-window-group): New function.

	lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
	enable, kill them at mode disable.  Add/remove follow-after-change to/from
	after-change-functions.
	(follow-start-end-invalid): New variable.
	(follow-redisplay): Manipulate follow-start-end-invalid.
	(follow-after-change, follow-window-start, follow-window-end)
	(follow-set-window-start, follow-pos-visible-in-window-p)
	(follow-move-to-window-line, follow-sit-for): New functions.

	lisp/isearch.el (isearch-call-message): New macro.
	(isearch-update, with-isearch-suspended, isearch-del-char)
	(isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
	(with-isearch-suspended): Rearrange code such that isearch-call-message is
	invoked before point is moved.
	(isearch-message): Add comment about where point must be at function call.
	(isearch-search): Remove call to isearch-message.
	(isearch-lazy-highlight-window-group): New variable.
	(isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
	the battery of tests to ...
	(isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
	Note: (sit-for 0) is still called.
	(isearch-lazy-highlight-update): Check membership of
	isearch-lazy-highlight-window-group.  Don't set the `window' overlay
	property.
	(isearch-update, isearch-done, isearch-string-out-of-window)
	(isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
	(isearch-lazy-highlight-search, isearch-lazy-highlight-update)
	(isearch-lazy-highlight-update): Call the six amended primitives (see
	src/window.c above) with the new `group' argument set to t, to cooperate
	with Follow Mode.

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

	Optimize `file-equal-p' and `file-in-directory-p' in Tramp

	* lisp/net/tramp.el (tramp-handle-file-equal-p)
	(tramp-handle-file-in-directory-p): New defuns.  Suggested by
	Harvey Chapman <hchapman@3gfp.com>.

	* 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): Use them.

2015-11-10  Karl Fogel  <kfogel@red-bean.com>

	* CONTRIBUTE: Encourage adding tests.

	Based on this post from John Wiegley:

	  From: "John Wiegley" <johnw@newartisans.com>
	  Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
	  To: Juanma Barranquero <lekktu@gmail.com>
	  Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
	      emacs-devel <emacs-devel@gnu.org>
	  Date: Wed, 28 Oct 2015 18:45:29 -0700
	  Message-ID: <m2y4emqwg6.fsf@newartisans.com>

	  https://lists.gnu.org/r/emacs-devel/2015-10/msg02372.html

2015-11-10  David Reitter  <david.reitter@gmail.com>

	Avoid creating notification objects when possible

	* src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
	(windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
	functions that do not require a notification object.  When needed,
	define NSWindowDidEnterFullScreenNotification to allow for compilation
	on OS X 10.6.8.

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

	Move INTEGER_TO_CONS body out of .h file

	* src/data.c (INTBIG_TO_LISP): New macro, with most
	of the contents of the old INTEGER_TO_CONS.
	(intbig_to_lisp, uintbig_to_lisp): New functions.
	* src/lisp.h (INTEGER_TO_CONS):
	Simplify by using EXPR_SIGNED and the new functions.
	This shrinks code size a bit, and makes it easier to
	put a breakpoint on handling of large integers.

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

	Merge from gnulib

	This incorporates:
	2015-11-10 intprops: new public macro EXPR_SIGNED
	2015-11-10 intprops: fix typo in clang port
	* lib/intprops.h: Copy from gnulib.

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

	Spelling fixes

	* lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
	Fix misspelling in output.

2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	* doc/lispref/variables.texi (Directory Local Variables):
	Document dir-locals wildcards.

	* lisp/files.el (dir-locals-file): Point to Info node.

	* doc/emacs/custom.texi (Directory Variables):
	Document dir-locals wildcards.

	* etc/NEWS: Document new functionality.

2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el: Don't allow customization of dir-locals sorting.
	In retrospect, this is not a good idea for the same reason that
	`dir-locals-file' is a defconst, because it is important that this
	behavior be "uniform across different environments and users".
	Sure, the user can still change the sorting with a hack, but we
	shouldn't encourage them to change it.
	(dir-locals--all-files): Return list in the order returned by
	`file-expand-wildcards'.
	(file-expand-wildcards): Document the sorting predicate used.
	(dir-locals-sort-predicate): Delete variable.

2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (dir-locals-read-from-file): Better handle errors.

	* lisp/isearch.el (search-default-regexp-mode): Change default value.

2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
	`locate-dominating-file' will now keep looking if the files it finds in
	a given directory are unreadable (or not files).

2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (dir-locals-file): Allow wildcards.
	(dir-locals-find-file, dir-locals-collect-variables)
	(dir-locals-read-from-file): Update accordingly.
	(hack-dir-local-variables): Rename a local variable.

	* lisp/files-x.el (modify-dir-local-variable): Update accordingly.

	* lisp/help-fns.el (describe-variable): Update accordingly.

	* .gitignore: Add .dir-locals?.el.

2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/map.el (map-merge-with): New function.

	* test/automated/map-tests.el (test-map-merge-with): New test.

2015-11-10  Karl Fogel  <kfogel@red-bean.com>

	Fix some recently-perturbed bookmark autoloads

	* lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
	(bookmark-set): Restore autoload.
	(bookmark-set-no-overwrite): Add autoload.

	Thanks to Juanma Barranquero for noticing the autoload problems
	introduced by my recent commit adding/changing the above functions
	(Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).

2015-11-09  Noah Friedman  <friedman@splode.com>

	* etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
	the start of buffer.  I don't recall if older versions of gdb were
	less strict but you cannot dump a 0-length range in gdb 7.9.1.

2015-11-10  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/project.el: Update Commentary.

	Merge branch 'project-next'

2015-11-10  Dmitry Gutov  <dgutov@yandex.ru>

	Fold `project-ask-user' into `project-current'

	* lisp/progmodes/project.el (project-find-functions): Remove
	`project-ask-user'.
	(project-ask-user): Remove function and the corresponding
	`project-roots' implementation.
	(project-current): Add a new argument, MAYBE-PROMPT.  Prompt the
	user in case there's no project in the current directory.  Update
	all callers.

2015-11-09  Karl Fogel  <kfogel@red-bean.com>

	When VC detects a conflict, specify which file

	* lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
	* lisp/vc/vc-svn.el (vc-svn-find-file-hook):
	* lisp/vc/vc-hg.el (vc-hg-find-file-hook):
	* lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
	* lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
	  to display a standard message that specifies the conflicted file.

	Before this change, the message VC used for indicating a conflicted
	file was just "There are unresolved conflicts in this file" without
	naming the file (and this language was duplicated in several places).
	After this change, it's "There are unresolved conflicts in file FOO"
	(and this language is now centralized in one function in vc.el).

	Justification: It's important for the message to name the conflicted
	file because the moment when VC realizes a file is conflicted does not
	always come interactively.  For example, some people automatically
	find a set of Org Mode files on startup, and may keep those .org files
	under version control.  If any of the files are conflicted, the user
	just sees some messages fly by, and might later check the "*Messages*"
	buffer to find out what files were conflicted.  I'm not saying this
	happened to me or anything; it's a purely hypothetical example.

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

	Fix assertion violation in define-key

	* src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
	objects.  Reported by Drew Adams <drew.adams@oracle.com>
	and Juanma Barranquero <lekktu@gmail.com>.

2015-11-09  Dima Kogan  <dima@secretsauce.net>

	Fix a memory leak in GC of font cache

	* src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
	entities if some of the fonts it references are marked.  This
	plugs a memory leak.  (Bug#21556)

2015-11-09  Paul Eggert  <eggert@cs.ucla.edu>

	Use INT_ADD_WRAPV etc. to check integer overflow

	* src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
	* src/buffer.c (record_overlay_string, overlay_strings):
	* src/casefiddle.c (casify_object):
	* src/ccl.c (Fccl_execute_on_string):
	* src/character.c (char_width, c_string_width, lisp_string_width)
	(count_size_as_multibyte, string_escape_byte8):
	* src/coding.c (coding_alloc_by_realloc, produce_chars):
	* src/data.c (arith_driver):
	* src/dispnew.c (realloc_glyph_pool, init_display):
	* src/editfns.c (styled_format):
	* src/fns.c (Ffillarray):
	* src/ftfont.c (ftfont_shape_by_flt):
	* src/gnutls.c (gnutls_hex_string):
	* src/gtkutil.c (get_utf8_string):
	* src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
	* src/keymap.c (Fkey_description):
	* src/lisp.h (SAFE_ALLOCA_LISP):
	* src/term.c (encode_terminal_code):
	* src/tparam.c (tparam1):
	* src/xselect.c (x_property_data_to_lisp):
	* src/xsmfns.c (smc_save_yourself_CB):
	* src/xterm.c (x_term_init):
	When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
	more-complicated code involving division and/or
	INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
	subtraction and/or INT_ADD_OVERFLOW.
	* src/casefiddle.c (casify_object): Simplify multibyte size check.
	* src/character.c: Remove some obsolete ‘#ifdef emacs’s.
	* src/data.c (arith_driver): Also check for division overflow,
	as that’s now possible given that the accumulator can now contain
	any Emacs integer.
	* src/lisp.h (lisp_word_count): Remove; no longer used.

2015-11-09  Dmitry Gutov  <dgutov@yandex.ru>

	Make sure that the ignore file exists

	* lisp/vc/vc.el (vc-default-ignore-completion-table):
	Make sure that the ignore file exists.

2015-11-09  Michael Sperber  <mike@xemacs.org>

	* lisp/gnus/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
	`gnus-summary-delete-article` in a way that also works on XEmacs.

2015-11-08  Simen Heggestøyl  <simenheg@gmail.com>

	Add support for retrieving paths to JSON elements

	Add support for retrieving the path to a JSON element. This can for
	instance be useful to retrieve paths in deeply nested JSON
	structures.

	* lisp/json.el (json-pre-element-read-function)
	(json-post-element-read-function): New variables to hold pre- and post
	read callback functions for `json-read-array' and `json-read-object'.
	(json--path): New variable used internally by `json-path-to-position'.
	(json--record-path, json--check-position): New functions used
	internally by `json-path-to-position'.
	(json-path-to-position): New function for retrieving the path to a
	JSON element at a given position.
	(json-read-object, json-read-array): Call
	`json-pre-element-read-function' and `json-post-element-read-function'
	when set.

	* test/automated/json-tests.el (test-json-path-to-position-with-objects)
	(test-json-path-to-position-with-arrays)
	(test-json-path-to-position-no-match): New tests for
	`json-path-to-position'.

2015-11-08  Karl Fogel  <kfogel@red-bean.com>

	* etc/NEWS: Mention new `bookmark-set-no-overwrite'.

	This really should been part of my previous commit
	(Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).

2015-11-08  Karl Fogel  <kfogel@red-bean.com>

	Offer non-overwrite bookmark setter (Bug#15746)

	* lisp/bookmark.el (bookmark-set-internal): New helper function to do
	what `bookmark-set' used to do, but with more choices for overwrite
	vs push, and with minor changes to the interactive prompt format.
	(bookmark-set): Rewrite as wrapper around above.
	If overwriting, inform the user of that in the prompt.
	(bookmark-set-no-overwrite): New function, also done as wrapper.
	Bind to "M" in `ctl-x-r-map' autoloads.
	(bookmark-map): Similarly bind "M" here.

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

	* src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: Don't insert a new section

	Reuse the .bss section instead, making it SHT_PROGBITS.  This way we
	don't need to mess with symbol st_shndx, or section sh_link and
	sh_info.

	This does lead to eu-elflint complaints about symbols defined in .bss
	with a needed version, because normally it is undefined symbols that
	have needed versions;  Defined symbols have version definitions.
	The exception is symbols defined by the linker in .dynbss for
	variables copied from a shared library in order to avoid text
	relocations, with copy relocs to copy their initial values from the
	shared library.  These symbols are both defined and have needed
	versions, and eu-elflink only expects to see them in SHT_NOBITS
	sections.  Of course there is no real problem with having such symbols
	in SHT_PROGBITS sections.  glibc ld.so handles them fine.

	* src/unexelf.c: Delete outdated comments.
	(PATCH_INDEX): Delete.
	(find_section): Delete.
	(unexec): Don't add a new section.  Instead reuse the last bss
	section, extending it to cover dumped data.  Make bss sections
	SHT_PROGBITS.  Remove all patching of sh_link, sh_info and
	st_shndx.  Rename bss sections.

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: Drive from PT_LOAD header rather than sections

	This rewrites bss handling in the ELF unexec code.  Finding bss
	sections by name results in complicated code that
	- does not account for all names of possible bss sections,
	- assumes specific ordering of bss sections,
	- can wrongly choose a SHT_NOBITS section not in the bss segment,
	- incorrectly calculates bss size (no accounting for alignment gaps),
	- assumes .data and .bss are in the same segment.

	All of these problems and more are solved by finding the bss segment
	in PT_LOAD headers, ie. the address range included in p_memsz but not
	p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
	in that address range.

	* src/unexelf.c: Delete old ppc comment.
	(OLD_PROGRAM_H): Define.
	(round_up): Delete.
	(unexec): Don't search for bss style sections by name.  Instead,
	use the last PT_LOAD header address range covered by p_memsz
	but not p_filesz and match any SHT_NOBITS section in that
	address range.  Simplify initialization of section header vars.
	Don't assume that section headers are above bss segment.  Move
	copying of bss area out of section loop.  Align .data2 section
	to 1, since it now covers the entire bss area.  For SHT_NOBITS
	sections in the bss segment, leave sh_addr and sh_addralign
	unchanged, but correct sh_offset.  Clear memory corresponding
	to SHT_NOBITS .plt section.  Delete comment and hacks for
	sections partly overlapping bss range now that the full range
	is properly calculated.  Delete now dead .sbss code.
	(Bug#20614)

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: R_*_NONE relocs

	These should be ignored on all targets.

	* src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
	not just Alpha.  Comment on reloc size assumption.

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: _OBJC_ symbols in bss sections

	This code assumed that there was only one bss section.  Rather than
	checking for a particular index, check the section type.  Also, handle
	the possibility that the section was SHT_NOBITS originally and is
	unchanged, in which case no clearing is needed (and sh_offset isn't
	necessarily valid, which can lead to a wild memset).

	* src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
	bss sections.

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: Symbol table patching

	No st_shndx value larger than SHN_LORESERVE should be changed.
	* src/unexelf.c (unexec): Don't adjust any st_shndx larger than
	SHN_LORESERVE.  Error on SHN_XINDEX.

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: Merge Alpha and MIPS COFF debug handling

	* src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
	Don't find .mdebug section index, find the section in the loop.
	Allow for unlikely possibility that .mdebug is located at sh_offset
	before bss segment, by calculating move from difference in
	sh_offset rather than just assuming new_data2_size.  Simplify
	cbLineOffset handling.

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: Tidy code

	Separate out some of the more mechanical changes so following patches
	are smaller.

	* src/unexelf.c (unexec): Rearrange initialization of program
	header vars.  Use pointer vars in loops rather than indexing
	section header array via macros.  Simplify _OBJC_ sym code
	and reloc handling code.

2015-11-08  Alan Modra  <amodra@gmail.com>

	ELF unexec: Correct section header index

	First a small fix.  The code incorrectly uses "NEW_SECTION_H (n)" when
	it should have been using "NEW_SECTION_H (nn)" to find the name of the
	section currently being processed.  Of course, before the bss
	sections, n and nn have the same value, so this doesn't matter except
	in the case of .sbss.  For .sbss this probably meant .bss (most likely
	the next section) was copied from memory.  A later patch removes the
	bogus .sbss handling anyway.

	* src/unexelf.c (unexec): Use correct index to look up names.

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

	Fix Bug#21841

	* lisp/filenotify.el (file-notify--rm-descriptor):
	Use `descriptor' instead of computing its value.
	(file-notify--descriptor): Additional argument FILE.  Adapt all callees.
	(file-notify-rm-watch): Use `descriptor' when calling file name handler.
	(Bug#21841)

2015-11-08  Dmitry Gutov  <dgutov@yandex.ru>

	Remove dirs in vc project roots from the vc project library roots

	* lisp/progmodes/project.el (project-library-roots):
	Remove directories inside the project roots from the result.
	(https://lists.gnu.org/r/emacs-devel/2015-11/msg00536.html)

2015-11-08  Dmitry Gutov  <dgutov@yandex.ru>

	Move and rename xref-find-regexp to the project package

	* lisp/progmodes/project.el (project-find-regexp)
	(project--read-regexp)
	(project--find-regexp-in): New functions.

	* lisp/progmodes/xref.el (xref--find-xrefs): Extract from
	xref--show-xrefs.  Use in existing callers in place of that
	function.
	(xref--show-xrefs): Only do the "show" part.
	(xref-find-regexp): Rename, more or less, to
	project-or-libraries-find-regexp.

2015-11-06  Dmitry Gutov  <dgutov@yandex.ru>

	Abolish temporary buffer management for xref

	* lisp/progmodes/xref.el (xref--temporary-buffers)
	(xref--current)
	(xref--inhibit-mark-current)
	(xref--mark-selected): Remove.  Remove all references.
	(xref--show-xrefs): Do not construct the
	list of the temporary buffers, nor pass it along.

2015-11-06  Dmitry Gutov  <dgutov@yandex.ru>

	Rename "search path" to "library roots"

	* lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
	of the elements from CL-LIST1.

	* test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
	Update WRT to the above change.

	* lisp/progmodes/project.el (project-search-path-function): Rename
	to project-library-roots-function, update the documentation and
	references.
	(project-search-path): Likewise, to project-library-roots.
	(project-roots): Clarify documentation.
	(project-vc-search-path): Likewise, to project-vc-library-roots.
	(project-library-roots): In addition to the renames, thread the
	results through file-name-as-directory.
	(project-prune-directories): Accept a variable number of
	arguments.  Rename to project-combine-directories.
	(project-subtract-directories): New function.

	* lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
	Append project-roots and project-library-roots together.

	* lisp/progmodes/etags.el (etags--xref-find-references): Ditto.

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

	Prefer xpalloc to doubling buffers by hand

	* src/lread.c (grow_read_buffer): New function, which uses xpalloc.
	(read1): Use it for simplicity.
	* src/macros.c (store_kbd_macro_char):
	* src/minibuf.c (read_minibuf_noninteractive):
	* src/term.c (encode_terminal_code):
	* src/xrdb.c (magic_db):
	Prefer xpalloc to growing buffers by hand.
	This doesn’t fix any bugs, but simplifies the code a bit.

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

	Merge from gnulib

	This incorporates:
	2015-11-05 timespec-sub: fix overflow bug; add tests
	2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
	2015-11-03 intprops: add parentheses
	* lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
	Copy from gnulib.

2015-11-07  David Reitter  <david.reitter@gmail.com>

	Provide NS notification objects where required to eliminate warnings

	* src/nsterm.m (windowDidResize:, toggleFullScreen:):
	Call notification functions with notification objects
	as per delegate APIs.

2015-11-07  Noam Postavsky  <npostavs@users.sourceforge.net>

	Add test for bug #21824

	* test/automated/buffer-tests.el: New file.
	(overlay-modification-hooks-message-other-buf): New test.

2015-11-07  Kelvin White  <kwhite@gnu.org>

	* lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.

2015-11-07  David Reitter  <david.reitter@gmail.com>

	Ignore fullscreen exit notifications on NS when frame is dead

	* src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
	(windowDidExitFullScreen:): Return if frame is dead.
	These functions may be called when a fullscreen frame
	is closed; they are called before, not after.

	May address Bug#21428.

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

	Speed up lookup in redisplay--variables

	* lisp/frame.el (redisplay--variables): Make it a hash-table.

	* src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
	as a hash-table.  This speeds up this function by an order of
	magnitude: where previously a setq was slowed down by 100% by
	introducing the maybe_set_redisplay test, it is now only 5%
	slower.
	(syms_of_xdisp) <redisplay--variables>: Doc fix.

2015-11-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.

	The defsubst was being created as:
	    (cl-defsubst name (args) ("DOC") ...)

	* test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
	Add test.

2015-11-07  Mihai Olteanu  <mihai_olteanu@fastmail.fm>  (tiny change)

	Update doc string of hexl-mode

	* lisp/hexl.el (hexl-mode): Doc fix.  (Bug#21800)

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

	Fix error in copy-abbrev-table

	* lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
	property of the abbrev-table.  (Bug#21828)

	* test/automated/abbrev-tests.el: New file.

2015-11-07  Michael Albinus  <michael.albinus@gmx.de>

	Add test to auto-revert-tests.el for Bug#21841

	* test/automated/auto-revert-tests.el
	(auto-revert-test01-auto-revert-several-files): New test.
	(auto-revert-test02-auto-revert-tail-mode)
	(auto-revert-test03-auto-revert-mode-dired): Rename them.

2015-11-07  Martin Rudalics  <rudalics@gmx.at>

	* doc/lispref/windows.texi (Coordinates and Windows): Fix typo.

2015-11-07  Martin Rudalics  <rudalics@gmx.at>

	In x_consider_frame_title don't set title of tooltip frames

	* src/xdisp.c (x_consider_frame_title): Return immediately for
	tooltip frames to avoid displaying empty tooltips.

2015-11-06  Anders Lindgren  <andlind@gmail.com>

	Fixed NextStep fullscreen problem (bug#21770).

	* src/nsterm.m (ns_constrain_all_frames): Don't constrain
	fullscreen frames.

2015-11-06  Eli Zaretskii  <eliz@gnu.org>

	Ensure redisplay after evaluation

	* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
	Revert last change.
	* lisp/frame.el (redisplay--variables): Populate the
	redisplay--variables list.
	* src/xdisp.c (maybe_set_redisplay): New function.
	(syms_of_xdisp) <redisplay--variables>: New variable.
	* src/window.h (maybe_set_redisplay): Declare prototype.
	* src/data.c (set_internal): Call maybe_set_redisplay.  (Bug#21835)

2015-11-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/subr-tests.el (subr-test-when): Fix again.

2015-11-06  Eli Zaretskii  <eliz@gnu.org>

	Don't invoke overlay modification hooks in wrong buffer

	* src/buffer.c (report_overlay_modification): When called with
	AFTER non-zero, don't invoke overlay modification hooks if the
	buffer recorded in last_overlay_modification_hooks is different
	from the current buffer.  (Bug#21824)

2015-11-06  Juanma Barranquero  <lekktu@gmail.com>

	* admin/notes/repo: Fix a few obsolete references to Bazaar.

2015-11-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/subr-tests.el (subr-test-when): Fix test.

2015-11-06  Martin Rudalics  <rudalics@gmx.at>

	Avoid division by zero crash observed by Yuan MEI

	See https://lists.gnu.org/r/emacs-devel/2015-11/msg00194.html.

	* src/dispnew.c (required_matrix_height, required_matrix_width):
	Avoid division by zero.
	* src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
	dpyinfo->smallest_char_width to 1.

2015-11-06  Eli Zaretskii  <eliz@gnu.org>

	Ensure redisplay after "C-x C-e"

	* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
	redisplay happens to account for any side effects of the evaluated
	sexp.  (Bug#21835)

2015-11-06  Michael Albinus  <michael.albinus@gmx.de>

	Skip some file notification tests for cygwin

	* test/automated/file-notify-tests.el (file-notify--test-with-events):
	Remove argument TIMEOUT.  Adapt all callees.
	(file-notify-test02-events, file-notify-test04-file-validity):
	Skip for cygwin.  (Bug#21804)

2015-11-05  Stephen Leake  <stephen_leake@stephe-leake.org>

	* lisp/progmodes/xref.el: Require semantic/symref during compilation.

2015-11-05  Daiki Ueno  <ueno@gnu.org>

	Suppress redundant Pinentry startup messages

	* lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
	* lisp/epg.el: Declare `pinentry-start'.
	(epg--start): Call `pinentry-start' with QUIET argument set.

2015-11-05  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/ack.texi (Acknowledgments): Updates.

2015-11-05  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/elisp-mode-tests.el: Silence some run-time warnings.
	(xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.

2015-11-05  Tassilo Horn  <tsdh@gnu.org>

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
	Add prettification support for \times.

2015-11-05  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/process-tests.el: Skip tests when bash is unavailable.
	(process-test-sentinel-accept-process-output)
	(process-test-sentinel-sit-for): skip-unless bash executable found.

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

	Add test for bug #21831

	* test/automated/process-tests.el
	(start-process-should-not-modify-arguments): New test.  (Bug#21831)
	Suggested by Nicolas Richard <youngfrog@members.fsf.org>

2015-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.

	(eieio--generic-static-object-generalizer): Fix typo.
	* test/automated/eieio-tests.el: Byte-compile it again.  It looks
	like the underlying cause of bug#17852 was fixed in the mean time.

2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	Revert "* lisp/subr.el (when): Use `macroexp-progn'"

	This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
	It breaks bootstrapping (duh).

2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (report-errors): Obsolete.

	(normal-mode, hack-local-variables, dir-locals-find-file):
	Use `with-demoted-errors' instead.

2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/subr.el (when): Use `macroexp-progn'.

	* test/automated/subr-tests.el (subr-test-when): New test.

2015-11-04  Juanma Barranquero  <lekktu@gmail.com>

	* lisp/progmodes/xref.el: Doc fixes.
	(xref-make-file-location, xref-make-buffer-location, xref-make)
	(xref-make-bogus-location, xref-make-match): Add cross-references.
	(xref--insert-xrefs): Fix typo in docstring.

2015-11-04  Anders Lindgren  <andlind@gmail.com>

	Render fringe bitmaps correctly on NextStep (bug#21301)

	The fringe bitmaps were inverted, the background was not transparent,
	the image data was horizontally mirrored, and periodic fringe bitmaps
	were not supported.

	* src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
	When both background and foreground colors are 0, set the background
	alpha channel to 0 (making the background transparent).  When
	copying the image data, do this from the most significant bit
	(leftmost) to the least (rightmost), to avoid mirroring.
	* src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
	Add support for periodic images (e.g. the empty line indicator).

2015-11-03  Michael Heerdegen  <michael_heerdegen@web.de>

	* lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.

2015-11-03  Nicolas Petton  <nicolas@petton.fr>

	* admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.

	* admin/MAINTAINERS: Add thunk.el.

2015-11-03  Jay Belanger  <jay.p.belanger@gmail.com>

	* lisp/calc/calc.el (calc-bug-address): Change maintainer address.

2015-11-03  Michael Albinus  <michael.albinus@gmx.de>

	Fix a stupid error in gfilenotify.c

	* src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
	if we've got a `deleted' signal AND the file name is the watched one.

2015-11-03  Stephen Leake  <stephen_leake@stephe-leake.org>

	Fix Bug#21816; case insensitive file system in elisp-mode-tests.el

	* test/automated/elisp-mode-tests.el (xref-elisp-test-run):
	Use case-insensitive string compare for file names.
	(emacs-test-dir): Add 'downcase' to cause case differences (at
	least on my system).

2015-11-02  Juanma Barranquero  <lekktu@gmail.com>

	flymake-tests.el (warning-predicate-rx-gcc): Fix check

	* test/automated/flymake-tests.el (warning-predicate-rx-gcc):
	Also check that "make" is available, not just "gcc".

2015-11-02  Ken Brown  <kbrown@cornell.edu>

	Document behavior of collation on Cygwin

	* test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
	expected failure on Cygwin.
	* doc/lispref/strings.texi (Text Comparison): Document that
	punctuation and whitespace are not ignored for sorting on Cygwin.

2015-11-02  Dani Moncayo  <dmoncayo@gmail.com>

	* build-aux/msys-to-w32: Prevent double slashes in w32 path list.

2015-11-01  Glenn Morris  <rgm@gnu.org>

	* lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
	(Bug#21794)
	* test/automated/f90.el (f90-test-bug21794): New test.

2015-11-01  Juanma Barranquero  <lekktu@gmail.com>

	Fix incompatibility with TCC in test for bug#18745

	* test/automated/process-tests.el (process-test-quoted-batfile):
	Remove spaces unrelated to the bug being tested.

2015-11-01  Michael Albinus  <michael.albinus@gmx.de>

	Improve completion in tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
	Rename from `tramp-zeroconf-parse-service-device-names'.
	(tramp-zeroconf-parse-webdav-device-names): Remove.  Code merged
	with `tramp-zeroconf-parse-device-names'.
	(tramp-gvfs-parse-device-names): New defun.
	(top): Use it when `tramp-zeroconf-parse-device-names' is not
	applicable.

	* lisp/net/tramp.el (tramp-set-completion-function): The argument
	could also be a zeroconf service type.

2015-10-31  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	* lisp/net/ntlm.el: Change version to 2.0.0.

2015-10-31  Juanma Barranquero  <lekktu@gmail.com>

	Fix bug#21762
	* lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
	`eql' instead of `=' to accommodate the case that (syntax-after (point))
	returns nil.
	* test/automated/python-tests.el (python-indent-inside-paren-7):
	New test.

2015-10-31  Juanma Barranquero  <lekktu@gmail.com>

	* test/automated/python-tests.el: Avoid warnings.
	(python-tests-with-temp-buffer, python-tests-with-temp-file):
	Bind `python-indent-guess-indent-offset' to nil.

2015-10-31  Juanma Barranquero  <lekktu@gmail.com>

	* src/alloc.c: Silence compiler warnings.
	(pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.

2015-10-31  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>

	* etc/NEWS: Fix js-jsx-mode entry punctuation.

2015-10-31  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>

	Add JSX indentation via js-jsx-mode  (Bug#21799)

	* lisp/progmodes/js.el: Add JSX indentation support.
	(js--jsx-end-tag-re)
	(js--jsx-after-tag-re): New variables.
	(js--jsx-find-before-tag)
	(js--jsx-indented-element-p)
	(js--as-sgml)
	(js--expression-in-sgml-indent-line)
	(js-jsx-indent-line)
	(js-jsx-mode): New functions.
	* test/indent/js-jsx.js: New file.
	* etc/NEWS: Add information about js-jsx-mode.

2015-10-31  Michael Albinus  <michael.albinus@gmx.de>

	Minor fix in filenotify.el

	* lisp/filenotify.el (file-notify--event-file-name)
	(file-notify--event-file1-name): Normalize result with
	`directory-file-name'.

2015-10-31  Eli Zaretskii  <eliz@gnu.org>

	Avoid errors in redisplay--pre-redisplay-functions

	* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
	use 'bobp', instead compare window-point with 1.  (Bug#21730)

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

	Merge from gnulib

	This incorporates:
	2015-10-30 intprops: add WRAPV and const flavors for GCC 5
	2015-10-25 stdalign: port to Sun C 5.9
	* doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
	Copy from gnulib.

2015-10-30  Eli Zaretskii  <eliz@gnu.org>

	* src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
	(w32_compare_strings): Adjust for the correction.

2015-10-30  Michael Albinus  <michael.albinus@gmx.de>

	* test/automated/vc-tests.el (vc-test--state)
	(vc-test--working-revision, vc-test--checkout-model):
	Add result messages.

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/faces-tests.el: Add another test

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/faces.el (faces--attribute-at-point): Fix bug
	introduced by previous commit.

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/faces-tests.el: New file.

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/faces.el: Refactor common code and fix a bug.
	(faces--attribute-at-point): New function.  Fix a bug when the
	face at point is a list of faces and the desired attribute is not
	on the first one.
	(foreground-color-at-point, background-color-at-point): Use it.

2015-10-30  Przemysław Wojnowski  <esperanto@cumego.com>

	* etc/tutorials/TUTORIAL.translators: Fix PL names.

2015-10-30  Juanma Barranquero  <lekktu@gmail.com>

	* lisp/character-fold.el: Provide `character-fold'.

2015-10-30  Tassilo Horn  <tsdh@gnu.org>

	* etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
	for Gnus and ivy.

2015-10-30  Michael Albinus  <michael.albinus@gmx.de>

	Some minor fixes for tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
	An attribute returned by gvfs-info might be empty.  In case of
	undetermined uid or gid, return "UNKNOWN" or -1, respectively.
	(tramp-zeroconf-parse-service-device-names): New defun.
	Derived from `tramp-zeroconf-parse-workstation-device-names'.
	(top): Add completion functions for "afp" and "smb" methods.

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/character-fold-tests.el: New file

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/sort-tests.el: New file.
	Tests in this file are randomly generated and then tested with
	regular, reverse, and case-fold sorting.

2015-10-30  Eli Zaretskii  <eliz@gnu.org>

	Describe known problems with pinning Emacs to taskbar

	* etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
	on Windows 10.  For the details, see the discussion starting at
	https://lists.gnu.org/r/help-emacs-windows/2015-09/msg00000.html.

2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Avoid an error that blocks isearch.
	(isearch-update): Don't error if `isearch--current-buffer' has
	been killed.

	* test/automated/isearch-tests.el (isearch--test-update):
	New file.

2015-10-30  Phil Sainty  <psainty@orcon.net.nz>

	Fix documentation of 'beginning/end-of-buffer'

	* lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
	conditions under which the mark will be pushed at the previous
	position.  (Bug#21748)

2015-10-30  Tassilo Horn  <tsdh@gnu.org>

	Add RefTeX feature idea: editing RefTeX TOC buffers

	More face defs for ivy, swiper, ace-window, eshell

2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/gnus/auth-source.el: Silence lexical-binding warnings.
	(auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
	just VAR.
	(auth-source-backend-parse): Use make-instance.
	(auth-source-search): Remove unused key args.
	Remove unused vars `accessor-key' and `backend'.  Avoid `eval'.
	(auth-source-search-backends): Use slot names rather than their initarg.
	(auth-source-netrc-create):
	(auth-source-delete):
	(auth-source-secrets-create, auth-source-plstore-search)
	(auth-source-macos-keychain-create, auth-source-macos-keychain-search)
	(auth-source-plstore-create, auth-source-netrc-search)
	(auth-source-netrc-parse): Remove unused key args.
	(auth-source-forget+): Simplify the arglist.
	(auth-source-macos-keychain-search-items)
	(auth-source-token-passphrase-callback-function): Mark unused args.
	(auth-source-epa-extract-gpg-token): Remove unused var `plain'.
	(pp-escape-newlines): Declare.
	(auto-source--symbol-keyword): New function.
	(auth-source-plstore-create, auth-source-netrc-create)
	(auth-source-netrc-normalize): Use it.
	(auth-source-netrc-search): Don't pass :delete to
	auth-source-netrc-parse since it doesn't use it.
	(auth-source-plstore-create, auth-source-netrc-create): Use plist-get
	symbol-value to index in keyword args.
	(auth-source-macos-keychain-result-append): Avoid setq.
	(auth-source-netrc-create): Remove unused vars `file' and `add'.
	(auth-source-user-or-password): Remove unused var `cname'.

2015-10-29  Juri Linkov  <juri@linkov.net>

	* lisp/dired.el (dired-unmark-all-files-query): Declare.
	(dired-unmark-all-files): Let-bind it and use instead of ‘query’.
	(Bug#21746)

2015-10-29  Juri Linkov  <juri@linkov.net>

	* lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
	to go to the beginning of text line instead of command line.
	https://lists.gnu.org/r/emacs-devel/2015-10/msg02360.html

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

	Fix encoding of saving *Help* buffers

	* lisp/help-fns.el (describe-function-1): If we use curved quotes,
	set help buffer's buffer-file-coding-system to UTF-8.  (Bug#21780)

2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
	(cl--generic-derived-specializers): New function.
	(cl--generic-derived-generalizer): New generalizer.
	(cl-generic-generalizers): New specializer (derived-mode MODE).
	(cl--generic-split-args): Apply the rewriter, if any.
	(cl-generic-define-context-rewriter): New macro.
	(major-mode): Use it to define a new context-rewriter, so we can write
	`(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.

	* lisp/frame.el (window-system): New context-rewriter so we can write
	`(window-system VAL)' instead of (window-system (eql VAL)).
	(cl--generic-split-args): Apply the rewriter, if any.
	(frame-creation-function): Use the new syntax.

	* lisp/term/x-win.el (window-system-initialization)
	(handle-args-function, frame-creation-function)
	(gui-backend-set-selection, gui-backend-selection-owner-p)
	(gui-backend-selection-exists-p, gui-backend-get-selection):
	* lisp/term/w32-win.el (window-system-initialization)
	(handle-args-function, frame-creation-function)
	(gui-backend-set-selection, gui-backend-get-selection)
	(gui-backend-selection-owner-p, gui-backend-selection-exists-p):
	* lisp/term/pc-win.el (gui-backend-get-selection)
	(gui-backend-selection-exists-p, gui-backend-selection-owner-p)
	(gui-backend-set-selection, window-system-initialization)
	(frame-creation-function, handle-args-function):
	* lisp/term/ns-win.el (window-system-initialization)
	(handle-args-function, frame-creation-function)
	(gui-backend-set-selection, gui-backend-selection-exists-p)
	(gui-backend-get-selection):
	* lisp/startup.el (handle-args-function):
	* lisp/term/xterm.el (gui-backend-get-selection)
	(gui-backend-set-selection): Use the new syntax.

2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* test/indent/css-mode.css: Add tests for url(...) syntax.

2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
	(smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
	(smie-prec2->grammar): Use `declare'.

2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
	(cl--generic-generalizer): Add `name' field.
	(cl-generic-make-generalizer): Add corresponding `name' argument.
	(cl-generic-define-generalizer): New macro.
	(cl--generic-head-generalizer, cl--generic-eql-generalizer)
	(cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
	(cl--generic-t-generalizer): Use it.
	(cl-generic-ensure-function): Add `noerror' argument.
	(cl-generic-define): Use it so we don't follow aliases.
	(cl-generic-define-method): Preserve pre-existing ordering of methods.
	(cl--generic-arg-specializer): New function.
	(cl--generic-cache-miss): Use it.
	(cl-generic-generalizers): Only fset a temporary definition
	during bootstrap.
	(cl--generic-struct-tag, cl--generic-struct-specializers):
	Allow extra arguments.

	* lisp/emacs-lisp/eieio-compat.el
	(eieio--generic-static-symbol-generalizer)
	(eieio--generic-static-object-generalizer):
	Use cl-generic-define-generalizer.
	(eieio--generic-static-symbol-specializers): Allow extra arguments.

	* lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
	(eieio--generic-subclass-generalizer):
	Use cl-generic-define-generalizer.
	(eieio--generic-subclass-specializers): Allow extra arguments.

2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.

2015-10-29  Michael Albinus  <michael.albinus@gmx.de>

	Add "afp" method to Tramp

	* doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.

	* lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
	(tramp-gvfs-handle-expand-file-name)
	(tramp-gvfs-handler-mounted-unmounted)
	(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
	(tramp-gvfs-maybe-open-connection): Support also "afp".
	(tramp-gvfs-handle-file-attributes): Handle the case of empty
	"owner::user" and "owner::group" entries.

2015-10-29  Andy Moreton  <andrewjmoreton@gmail.com>

	Handle negative coordinates in ‘x_calc_absolute_position’

	* src/w32term.c (x_calc_absolute_position): Find display origin to
	allow for negative coordinates.

2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	(internal--syntax-propertize): Save match-data here (bug#21766)

	* lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
	* lisp/simple.el (delete-trailing-whitespace): Undo last change.

2015-10-28  Dmitry Gutov  <dgutov@yandex.ru>

	Don't require default-directory to end with a slash

	* doc/lispref/files.texi (Magic File Names): Document the change
	in unhandled-file-name-directory.

	* lisp/url/url-handlers.el
	(url-handler-unhandled-file-name-directory): Update accordingly.

	* src/buffer.c (default-directory): Update the docsting.

	* src/fileio.c (unhandled-file-name-directory): Default to calling
	`file-name-as-directory'
	(https://lists.gnu.org/r/emacs-devel/2015-10/msg02294.html).

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Delete some outdated comments.

2015-10-28  Vibhav Pant  <vibhavp@gmail.com>

	Fix eshell/clear not working if the output has a small line count

	* lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
	number of newlines to be inserted. This fixes the issue where
	eshell/clear wouldn't work if the prompt was not at the bottom of the
	window, and the output wasn't too long.

2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/files.el (write-file): Use vc-refresh-state.

	* lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.

	* lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.

2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
	(macroexp-unprogn): Make sure we never return an empty list.
	(macroexp-if): Remove unused (and unsafe) optimization.
	Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
	occur occasionally.

2015-10-28  Juanma Barranquero  <lekktu@gmail.com>

	Fix bug#21766 and add test
	* lisp/simple.el (delete-trailing-whitespace): Save match data when
	calling `skip-syntax-backward'.
	* test/automated/simple-test.el (simple-delete-trailing-whitespace):
	New test.

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* doc/lispref/sequences.texi (Sequence Functions): Fix typo.

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

	* src/dispnew.c (init_display): Simplify overflow checking.

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el (character-fold-to-regexp): Fix case
	where string ends in space

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/seq.el (seq-mapn): New function.

	* doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Make compatible with lax-whitespace.
	(character-fold-to-regexp): Rework internals to play nice with
	lax-whitespacing.

	When the user types a space, we want to match the table entry for
	?\s, which is generally a regexp like "[ ...]".  However, the
	`search-spaces-regexp' variable doesn't "see" spaces inside these
	regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
	manually expose a space).

	Furthermore, the lax search engine acts on a bunch of spaces, not
	on individual spaces, so if the string contains sequential spaces
	like "  ", we need to keep them grouped together like this:
	"\\(  \\|[ ...][ ...]\\)".

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Refactor momentary messages.
	(isearch--momentary-message): New function.
	(isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
	(isearch-toggle-invisible): Use it.

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
	(isearch-define-mode-toggle): New macro.
	(isearch-toggle-invisible): Rename to
	`isearch-define-mode-toggle'.
	(isearch-toggle-case-fold, isearch-toggle-invisible)
	(isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
	with `isearch-define-mode-toggle'.

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

	Avoid using `add-to-list' on a let-local var in tramp-smb.el

	* lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
	* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.

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

	* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
	Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
	does not exist in XEmacs 21.4.

2015-10-28  Anders Lindgren  <andlind@gmail.com>

	Fixed OS X startup crash

	Input events started to arrive before ns_term_init() was finished.
	Solved by blocking input.  This also seems to correct the "You
	can't open the application "Emacs" because it may be damaged or
	incomplete" error issued when double-clicking on the Emacs
	application.

	* src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
	* src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.

2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* src/process.c (Fget_buffer_process): Improve docstring.
	Document the fact that it doesn't return dead processes.

2015-10-28  Anders Lindgren  <andlind@gmail.com>

	Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.

	* src/nsterm.h (struct ns_output): New flag, in_animation.
	* src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
	* src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
	in_animation flag around call to "setVisible". Set new tool bar
	height before call to setVisible.
	* src/nsterm.m (x_set_window_size): Don't call [view setRow:
	andColumns:] as this fools the subsequent call to updateFrameSize
	from performing the real resize.
	(windowDidResize): Don't update anything when in_animation is
	non-zero.

	Trace output.

	* src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
	(EmacsToolbar):
	* src/nsterm.m (x_set_window_size, updateFrameSize)
	([EmacsView setRows: andColumns:])

2015-10-28  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.

2015-10-28  Tassilo Horn  <tsdh@gnu.org>

	Prettify TeX macros not ending in a word char

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
	Prettify macros which don't end in a word character.

2015-10-27  Dmitry Gutov  <dgutov@yandex.ru>

	Pipe Hg commit descriptions through 'tabindent'

	* lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
	through 'tabindent'.
	(vc-hg-log-view-mode): Set tab-width to 2 locally.
	(https://lists.gnu.org/r/emacs-devel/2015-10/msg02259.html)

2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
	(tramp-smb-handle-directory-files): Use `delete-dups'.

	* lisp/net/tramp.el (auto-save-file-name-transforms): Declare.

2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/international/ccl.el: Use lexical-binding.
	(ccl-compile-if): Remove unused var `false-ic'.
	(ccl-compile-write-repeat): Remove unused var `i'.
	(ccl-compile-map-single): Remove unused var `id'.
	(ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
	dynamic var `ccl-code'.

2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/json.el (json-new-object): Optimize trivial `list' call.

2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/help.el: Fix bug with incorrect arglist string.
	(help-add-fundoc-usage): Don't mistake a mis-formatted string
	for a list.

2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/gnus/gnus-topic.el: Silence some warnings.
	(gnus-topic-prepare-topic): Remove unused var `topic'.
	(gnus-topic-remove-topic): Mark unused arg `hide'.
	(gnus-tmp-header): Declare.
	(gnus-topic-goto-missing-group): Remove unused var `entry'.
	(gnus-topic-unmark-topic): Mark unused arg `dummy'.
	(gnus-topic-copy-matching): Mark unused arg `copyp'.
	Move initialization of `topic' into its declaration.

2015-10-27  Stephen Leake  <stephen_leake@stephe-leake.org>

	Minor CEDET fixes

	* lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
	Handle warnings from gtags about invalid options.
	(cedet-gnu-global-create/update-database): Do incremental update
	properly.

	* lisp/cedet/ede/generic.el (ede-enable-generic-projects):
	Get monotone root right.

2015-10-27  Michael Albinus  <michael.albinus@gmx.de>

	Fall back to polling in autorevert when needed

	* lisp/autorevert.el (auto-revert-notify-handler): When a
	`stopped' event arrives from file notification, fall back to polling.

	* test/automated/file-notify-tests.el
	(file-notify-test03-autorevert): Extend test for polling when file
	notification ceases to work.

2015-10-27  Dmitry Gutov  <dgutov@yandex.ru>

	Show full commit messages in 'hg log' when appropriate

	* lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
	(vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
	(https://lists.gnu.org/r/emacs-devel/2015-10/msg02191.html)

2015-10-27  Nicolas Petton  <nicolas@petton.fr>

	Use a plain SVG file for the icon

	* etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
	  format instead of the Inkscape SVG format.

2015-10-27  Michael Albinus  <michael.albinus@gmx.de>

	Fix subtle bug in auto-revert-tests.el

	* test/automated/auto-revert-tests.el
	(auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
	buffer where it belongs to.  (Bug#21668)

2015-10-26  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el: Better docstrings.

	* lisp/emacs-lisp/seq.el: Better docstrings.

	* lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.

2015-10-26  Phillip Lord  <phillip.lord@russet.org.uk>

	* lisp/emacs-lisp/ert.el: Print results without newline escaping.

2015-10-26  Stephen Leake  <stephen_leake@stephe-leake.org>

	Clarify that load-path contents should be directory file names

	* doc/lispref/files.texi (Directory Names): Define and use "directory
	file name".  Recommend `expand-file-name'.

	* src/lread.c (load-path): Fix doc string; elements are directory file
	names.

2015-10-26  Eli Zaretskii  <eliz@gnu.org>

	Fix simple-test.el test

	* test/automated/simple-test.el (simple-test--dummy-buffer):
	Make sure indentation doesn't use TABs, otherwise the 6th test
	might fail.

2015-10-26  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
	`substring' does not account for full width characters.

2015-10-26  Michael Albinus  <michael.albinus@gmx.de>

	Further work on `stopped' events in filenotify.el

	* doc/lispref/os.texi (File Notifications): Rework examples.

	* lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
	(file-notify--rm-descriptor, file-notify-callback): Improve check
	for sending `stopped' event.
	(file-notify-add-watch): Check for more events for `inotify'.

	* test/automated/file-notify-tests.el
	(file-notify--test-expected-events): New defvar.
	(file-notify--test-with-events): Use it.
	(file-notify--test-cleanup): Make it more robust when deleting
	directories.
	(file-notify--test-event-test): Check also for watched directories.
	(file-notify--test-event-handler): Suppress temporary .#files.
	(file-notify-test02-events, file-notify-test04-file-validity):
	Rework `stopped' events.
	(file-notify-test05-dir-validity): Wait for events when appropriate.

2015-10-26  Artur Malabarba  <bruce.connor.am@gmail.com>

	* src/keyboard.c (post-command-hook): Shorten docstring.

2015-10-26  Tassilo Horn  <tsdh@gnu.org>

	Fix infinite loop in sh-script's SMIE code

	* lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
	loop (bug#21747).

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (search-default-regexp-mode): Revert to nil.
	Character-fold search _still_ doesn't play well with
	lax-whitespace.  So disable it by default (again) for now.

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: No visual feedback for default search mode.
	During an isearch where character-folding is the default, we don't
	want to take up minibuffer space just to tell the user that
	"Char-fold " is on.  The same goes for other modes, if the user
	changes the default.  In contrast, if the user toggles OFF the
	default mode, they should see "Literal", to distinguish it from
	the default mode.
	(isearch--describe-regexp-mode): Return "" if describing the
	default mode, and return "literal " if describing a plain search
	and it is not default.

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/simple-test.el: New file.
	Define tests for `newline' and `open-line'.

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/simple.el (open-line): Integrate with electric-indent-mode.
	Also run `post-self-insert-hook' when called interactively.

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/simple.el (open-line): Fix docstring.
	Also explain apparently redundant line.

2015-10-25  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
	    Alexandru Harsanyi  <AlexHarsanyi@gmail.com>

	Sync with soap-client repository, version 3.0.1

	* lisp/net/soap-client.el, lisp/net/soap-inspect.el:
	Bump version to 3.0.1.

	* lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.

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

	* lisp/progmodes/grep.el (grep): Doc fix.  (Bug#21754)

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* src/keyboard.c (post-command-hook): Extend the docstring.
	Mainly, explain how to use it without hanging Emacs, or giving the
	impression that it is hanging.  Also mention `pre-command-hook'.
	(pre-command-hook): Mention `post-command-hook'.

2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/custom.el (custom-declare-variable): Shorten code again.
	Without using pcase this time.  We can't use pcase because it is
	loaded after custom in loadup.el.  Also add a comment explaining
	this to future dummies like me.

2015-10-25  Michael Albinus  <michael.albinus@gmx.de>

	* doc/lispref/os.texi (File Notifications): Document `stopped event'.

2015-10-25  Michael Albinus  <michael.albinus@gmx.de>

	Introduce `stopped' event in file notification

	* lisp/filenotify.el (file-notify--rm-descriptor): New defun.
	(file-notify-rm-watch): Use it.
	(file-notify-callback): Implement `stopped' event.
	(file-notify-add-watch): Mention `stopped' in the docstring.
	Check, that upper directory exists.

	* test/automated/file-notify-tests.el (file-notify-test01-add-watch):
	Add two test cases.
	(file-notify-test02-events): Handle also `stopped' event.
	(file-notify-test04-file-validity): Add another test case.

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

	Revert commit that broke 'make bootstrap'

	* lisp/custom.el (custom-declare-variable): Revert commit
	79fac080d277fed07b3c192890ad59d36d9f83b6.  custom.el needs to work
	even when pcase has not been defined yet, when doing bootstrapping.

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

	Port recent inline functions fix to Standard C

	* src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
	All uses rewritten to define the function directly rather than to
	use a macro to define the function.  This conforms to Standard C,
	which does not allow stray semicolons at the top level.  I hope it
	also avoids the problems with TAGS.  Those macros, though clever,
	were pretty confusing anyway, and it wasn’t clear they were worth
	the aggravation even without the TAGS problem.

2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Make character-fold search the default again.

2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el: Many improvements.
	(character-fold-search-forward, character-fold-search-backward):
	New command.
	(character-fold-to-regexp): Remove lax-whitespace hack.
	(character-fold-search): Remove variable.  Only isearch and
	query-replace use char-folding, and they both have their own
	variables to configure that.

2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Generalize definition of regexp-function toggles.
	(isearch-specify-regexp-function): New macro for specifying
	possible values of `isearch-regexp-function'.
	(isearch-toggle-character-fold, isearch-toggle-symbol)
	(isearch-toggle-word): Define with `isearch-specify-regexp-function'.

2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (search-default-regexp-mode): New variable.
	(isearch-mode): Use it.

2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (search-exit-option, search-slow-window-lines)
	(search-slow-speed, search-upper-case)
	(search-nonincremental-instead, search-whitespace-regexp)
	(search-invisible, isearch-hide-immediately)
	(isearch-resume-in-command-history, search-ring-max)
	(regexp-search-ring-max, search-ring-update, search-highlight)
	(isearch-fail): Delete :group entries.

2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/custom.el (custom-declare-variable): Shorten code a bit.

2015-10-24  Juanma Barranquero  <lekktu@gmail.com>

	addpm.c: Silence some warnings.

	* nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
	to LPBYTE.
	(add_registry): Pass NULL to optional lpClass argument of
	RegCreateKeyEx, not an empty string.

2015-10-24  Juanma Barranquero  <lekktu@gmail.com>

	addpm.c: Do not add obsolete GTK libraries to the path.

	* nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
	(add_registry): Remove variables `size' and `gtk_key'.
	Do not add the GTK DLL directory to the library search path; it is
	confusing behavior (in particular, the same Emacs version with and
	without invoking addpm will use a different path), and the GTK image
	libraries are obsolete anyway.

2015-10-24  Juanma Barranquero  <lekktu@gmail.com>

	addpm.c: Replace existing registry entries, but do not create new ones

	* nt/addpm.c (add_registry): If the Emacs registry key exists, replace
	existing values from previous versions, but do not add new ones; the
	key could exist for other reasons unrelated to old Emacsen, like X-style
	resources, or to set some environment variables like HOME or LANG, and
	in that case we don't want to populate it with obsolete values.

2015-10-24  Juanma Barranquero  <lekktu@gmail.com>

	* nt/addpm.c (add_registry): Do not compute unused return value.

2015-10-24  Juanma Barranquero  <lekktu@gmail.com>

	addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx

	* nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
	RegOpenKeyEx, not REG_OPTION_NON_VOLATILE.  This doesn't change
	current behavior because REG_OPTION_NON_VOLATILE is defined to
	be 0L anyway, but that option is actually documented only for
	RegCreateKeyEx.

2015-10-24  Juanma Barranquero  <lekktu@gmail.com>

	* src/w32notify.c (Fw32notify_add_watch): Fix version check.

2015-10-24  Eli Zaretskii  <eliz@gnu.org>

	Update frame title when redisplay scrolls selected window

	* src/xdisp.c (redisplay_window): Reconsider the frame's title
	when the mode-line of the frame's selected window needs to be
	updated.

2015-10-24  Eli Zaretskii  <eliz@gnu.org>

	Update frame title when scrolling the selected window

	* src/window.c (wset_update_mode_line): New function, sets either
	the window's update_mode_line flag or the global update_mode_lines
	variable.
	(Fset_window_start, set_window_buffer, window_scroll_pixel_based)
	(window_scroll_line_based): Call it instead of only setting the
	window's update_mode_line flag.

2015-10-24  Eli Zaretskii  <eliz@gnu.org>

	An even better fix for bug#21739

	* src/window.c (set_window_buffer): If the window is the frame's
	selected window, set update_mode_lines, not the window's
	update_mode_line flag.
	* src/buffer.c (Fkill_buffer): Undo last change.
	(set_update_modelines_for_buf): Function deleted.

2015-10-24  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
	    Alexandru Harsanyi  <AlexHarsanyi@gmail.com>

	Sync with soap-client repository, version 3.0.0

	* lisp/net/soap-client.el, lisp/net/soap-inspect.el:
	Bump version to 3.0.0.

	* lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.

	* lisp/net/soap-client.el: Merge in changes from Emacs master branch.

	* lisp/net/soap-inspect.el: Shorten first line description.

	* lisp/net/soap-client.el: Make a small whitespace fix.

	* lisp/net/soap-inspect.el: Update copyright years.

	* lisp/net/soap-client.el (soap-encoded-namespaces): Move above
	first use in soap-encode-xs-element.

	* lisp/net/soap-client.el (soap-type-is-array?): new defun
	(soap-encode-xs-element): handle array elements in this function
	(soap-encode-xs-complex-type): flag error if asked to encode an
	array type, this is handled in `soap-encode-xs-element'

	* lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
	Do not print type for attribute group.

	* lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
	New function.
	(soap-inspect-xs-attribute-group): Likewise.

	* lisp/net/soap-inspect.el
	(soap-resolve-references-for-xs-attribute-group): Resolve
	references of attributes in an attribute group.

	* lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
	type directly, not through soap-wsdl-get.

	* lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
	nil if reference attribute is nil.

	* lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
	Convert XML schema attributes to xsd:string.

	* lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
	New function.
	(soap-sample-value-for-xs-simple-type): Prepend attributes to result.
	(soap-sample-value-for-xs-complex-type): Likewise.
	(soap-inspect-xs-attribute): New function.
	(soap-inspect-xs-simple-type): Print attributes.
	(soap-inspect-xs-complex-type): Likewise.

	* lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
	Resolve references for attributes.
	(soap-resolve-references-for-xs-complex-type): Likewise.

	* lisp/net/soap-client.el (soap-xml-node-find-matching-child):
	Rename from soap-xml-node-first-child.
	(soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
	(soap-xs-parse-simple-type): Likewise.

	* lisp/net/soap-client.el (soap-invoke-async): Add error checking.

	* lisp/net/soap-client.el (soap-invoke-internal): New function.
	(soap-invoke-async): Call soap-invoke-internal.
	(soap-invoke): Likewise.

	* lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
	url-retrieve callback is killed.

	* lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
	Rename function.
	(soap-parse-wsdl-phase-fetch-imports): Likewise.
	(soap-parse-wsdl-phase-parse-schema): Likewise.
	(soap-parse-wsdl-phase-fetch-schema): Likewise.
	(soap-parse-wsdl-phase-finish-parsing): Likewise.
	(soap-parse-wsdl): Update calls.

	* lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.

	* lisp/net/soap-client.el (soap-invoke-async): New function.
	(soap-invoke): Reimplement using soap-invoke-async.

	* lisp/net/soap-client.el (soap-parse-server-response):
	Improve docstring.
	(soap-invoke): Inline call to soap-parse-server-response.

	* lisp/net/soap-client.el (soap-decode-xs-complex-type):
	Prevent incorrect warning.

	* lisp/net/soap-client.el (soap-parse-server-response):
	Rename soap-process-url-response.  Destroy the mime part.
	(soap-invoke): Call soap-parse-server-response.

	* lisp/net/soap-client.el: Update copyright date.

	* lisp/net/soap-client.el: Fix checkdoc issues.

	* lisp/net/soap-client.el: Fix indentation and long lines.

	* lisp/net/soap-client.el (soap-time-format): Remove variable.
	(soap-encode-xs-basic-type): Simplify date-time format detection.
	(soap-decode-xs-basic-type): Remove soap-time-format support.

	* lisp/net/soap-client.el (soap-process-url-response): New function.
	(soap-fetch-xml-from-url): Call soap-process-url-response.
	(soap-parse-wsdl-phase-1): New function.
	(soap-parse-wsdl-phase-2): Likewise.
	(soap-parse-wsdl-phase-3): Likewise.
	(soap-parse-wsdl-phase-4): Likewise.
	(soap-parse-wsdl-phase-5): Likewise.
	(soap-parse-wsdl): Call phase functions.

	* lisp/net/soap-client.el (soap-decode-xs-basic-type):
	Remove one-argument and call.

	* lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.

	* lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
	(soap-parse-schema): Add wsdl argument.  Look up XML schema
	imports from wsdl.
	(soap-load-wsdl): Do not set soap-xmlschema-imports.
	(soap-parse-wsdl): Get XML schema imports from wsdl.

	* lisp/net/soap-client.el (soap-current-file): Remove variable.
	(soap-wsdl): Add current-file slot.
	(soap-fetch-xml-from-url): Add wsdl argument.  Look up current
	file from wsdl.
	(soap-fetch-xml-from-file): Likewise.
	(soap-fetch-xml): Likewise.
	(soap-load-wsdl): Always create wsdl object first.
	(soap-parse-wsdl): Pass wsdl to soap-fetch-xml.

	* lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
	(soap-xs-parse-element): Set is-group slot.
	(soap-resolve-references-for-xs-element): Skip is-group elements.
	(soap-xs-complex-type): Add is-group slot.
	(soap-xs-parse-complex-type): Set is-group slot.
	(soap-xs-parse-sequence): Parse xsd:group elements.
	(soap-resolve-references-for-xs-complex-type): Inline elements
	from referenced xsd:group nodes.
	(soap-parse-schema): Parse xsd:group nodes.

	* lisp/net/soap-client.el (soap-invoke):
	Don't set url-http-version to 1.0.

	* lisp/net/soap-client.el (soap-decode-xs-complex-type):
	Allow choice nodes to accept multiple values.

	* lisp/net/soap-client.el (soap-encode-body): Check parameters argument
	for extra header values.

	* lisp/net/soap-client.el (soap-well-known-xmlns):
	Add wsa and wsaw tags.
	(soap-operation): Add input-action and output-action slots.
	(soap-parse-operation): Parse wsaw:Action nodes.
	(soap-encode-body): Encode service-url for WS-Addressing.
	(soap-create-envelope): Likewise.
	(soap-invoke): Update soap-create-envelope call to provide
	service-url argument.

	* lisp/net/soap-client.el (soap-decode-xs-complex-type):
	Support xsi:type override attribute.
	(soap-decode-array): Likewise.

	* lisp/net/soap-client.el (soap-parse-schema):
	Handle location attribute.

	* lisp/net/soap-client.el (soap-decode-type): Check that multiRef
	matched validation regexp.

	* lisp/net/soap-client.el (soap-encode-xs-simple-type):
	Encode xsd:list nodes.
	(soap-decode-xs-simple-type): Decode xsd:list nodes.

	* lisp/net/soap-client.el (soap-get-candidate-elements):
	Fix reference handling.

	* lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
	(soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
	(soap-xs-add-list): New function.

	* lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
	expected, interpret nil as "false".

	* lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
	gYear, gMonthDay, gDay and gMonth.

	* lisp/net/soap-client.el (soap-time-format): New variable.
	(soap-encode-xs-basic-type): Handle dateTime, time, date,
	gYearMonth, gYear, gMonthDay, gDay and gMonth.
	(soap-decode-date-time): New function.
	(soap-decode-xs-basic-type): Use soap-decode-date-time.

	* lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
	after encoding.
	(soap-decode-xs-basic-type): Validate value before decoding.

	* lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
	(soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.

	* lisp/net/soap-client.el (soap-xs-add-union): Append result to base
	instead of overwriting it.
	(soap-validate-xs-simple-type): Add union support.

	* lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
	to Emacs regexp using xsdre-translate.
	(soap-validate-xs-simple-type): Validate value against pattern.

	* lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
	inline simpleType nodes.
	(soap-decode-type): Handle union types.

	* lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
	attributes.

	* lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
	from soap-xs-attribute-group-consolidate, all callers updated
	(soap-get-xs-attributes): Rename from
	soap-xs-attributes-consolidate, all callers updated

	* lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
	(soap-xs-attribute-group): New type.
	(soap-xs-parse-attribute-group): New function.
	(soap-resolve-references-for-xs-attribute-group): Likewise.
	(soap-xs-add-extension): Handle attribute groups.
	(soap-resolve-references-for-xs-simple-type): Likewise.
	(soap-xs-parse-complex-type): Likewise.
	(soap-xs-parse-extension-or-restriction): Likewise.
	(soap-resolve-references-for-xs-complex-type): Likewise.
	(soap-xs-attribute-group-consolidate): New function.
	(soap-xs-attributes-consolidate): Handle attribute groups.
	(soap-parse-schema): Likewise.

	* lisp/net/soap-client.el (soap-encode-xs-basic-type):
	Fix boolean encoding.

	* lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
	element names in warnings.

	* lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.

	* lisp/net/soap-client.el (soap-decode-xs-complex-type):
	Eliminate invalid warnings for choice types.

	* lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
	Also encode base type attributes.

	* lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
	warning.  Print e-name in warnings, or element if e-name is nil.

	* lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
	(soap-xs-parse-element): Set substitution-group.
	(soap-resolve-references-for-xs-element): Populate alternatives slot.
	(soap-get-candidate-elements): New function.
	(soap-encode-xs-complex-type): Iterate through all candidate elements.
	Handle types with nil type indicator.  Fix warning logic.

	* lisp/net/soap-client.el (soap-current-wsdl): Move declaration
	earlier in the file to prevent compiler warning.

	* lisp/net/soap-client.el (soap-node-optional): New function.
	(soap-node-multiple): Likewise.
	(soap-xs-parse-element): Call soap-node-optional and
	soap-node-multiple.
	(soap-xs-complex-type): Add optional? and multiple? slots.
	(soap-xml-get-children-fq): New function.
	(soap-xs-element-get-fq-name): Likewise.
	(soap-xs-complex-type-optional-p): Likewise.
	(soap-xs-complex-type-multiple-p): Likewise.
	(soap-xs-attributes-consolidate): Likewise.
	(soap-decode-xs-attributes): Likewise.
	(soap-decode-xs-complex-type): Decode types with nil type indicator.
	Support children that use local namespaces.  Decode attributes.
	Add type considerations to optional? and multiple? warnings.

	* lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
	Store parsed attributes.
	(soap-encode-xs-complex-type-attributes): Encode custom attributes.

	* lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
	Don't add the xsi:type attribute (Exchange refuses requests which have
	this attribute).

	* lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
	correct compiler warnings about unused function arguments and
	local variables.

	* lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
	type indicator.
	(soap-parse-envelope): Handle response headers.
	(soap-parse-response): Likewise.  Only return non-nil decoded values.

	* lisp/net/soap-client.el (soap-validate-xs-simple-type):
	Return validated value.

	* lisp/net/soap-client.el (soap-xs-parse-element)
	(soap-xs-parse-simple-type)
	(soap-xs-parse-complex-type)
	(soap-parse-message)
	(soap-parse-operation): Add the current namespace to the element
	being created.
	(soap-resolve-references-for-xs-element)
	(soap-resolve-references-for-xs-simple-type)
	(soap-resolve-references-for-xs-complex-type)
	(soap-resolve-references-for-operation): Resolve the namespace to
	the namespace tag.
	(soap-make-wsdl): specify a namespace tag when creating the xsd
	and soapenc namespaces
	(soap-wsdl-resolve-references): don't update namespace tags in
	elements here
	(soap-parse-port-type): bind the urn: to soap-target-xmlns
	(soap-encode-body): don't add nil namespace tags to
	soap-encoded-namespaces

	* lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
	for registering the soap-inspect method.  Make debbugs tests pass.
	* lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
	type name, also skip string only nodes when decoding a structure.
	(soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
	types too.
	(soap-encode-body): Grab the header value from the param table.

	* lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
	New function.
	(soap-encode-xs-element): Don't encode nil value unless needed.

	* lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
	(soap-parse-binding): Parse the message parts required in the body.
	(soap-encode-body): Encode only the parts that are declared to be
	part of the body.

	* lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
	when writing out the tag.
	(soap-encode-body): Remove hack that inserts the xmlns in the
	element attributes list.

	* lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
	(soap-xs-parse-attribute): Default slot is set from the XML
	"fixed" attribute.
	(soap-encode-xs-complex-type-attributes): Encode any attributes
	that have a default value.  Also, don't put the xsi:nil attribute
	when the complex type has no content anyway.

	* lisp/net/soap-client.el (soap-well-known-xmlns):
	Add the xml namespace.
	(soap-local-xmlns): Start with the xml namespace.
	(soap-xml-node-first-child): Skip xsd:annotation nodes too.
	(soap-make-xs-basic-types): More xsd types added.
	(soap-encode-xs-basic-type, soap-decode-xs-basic-type):
	Handle "language", "time", "date", "nonNegativeInteger".
	(soap-resolve-references-for-xs-element): Don't signal an error if
	the element does not have a type.
	(soap-xs-parse-simple-type): Subtypes are handled with ecase,
	added stum for xsd:list.
	(soap-xs-add-union): Call soap-l2fq on all union members.
	(soap-xs-add-extension): Call soap-l2fq on the base member.
	(soap-resolve-references-for-xs-simple-type): Don't signal an
	error if the simple type has no base.
	(soap-resolve-references-for-xs-simple-type): Bugfix, call
	soap-wsdl-get on each type of the base.

	* lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
	Referenced type can be eiher a simple type or a basic type.
	(soap-xs-add-restriction)
	(soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
	(soap-make-xs-basic-types)
	(soap-encode-xs-basic-type, soap-decode-xs-basic-type):
	Add support for more XMLSchema basic types.
	(soap-current-file, soap-xmlschema-imports): New defvars.
	(soap-parse-schema): Add locations from xsd:import tags to
	`soap-xmlschema-imports'.
	(soap-wsdl): Make destructor private.
	(soap-make-wsdl): New defun, SOAP-WSDL object constructor.
	(soap-wsdl-add-alias): Check if we try to replace aliases.
	(soap-fetch-xml-from-url, soap-fetch-xml-from-file)
	(soap-fetch-xml): New defuns.
	(soap-load-wsdl): Update to load the WSDL from either a file or
	an url.
	(soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
	(soap-parse-wsdl): Process wsdl:import tags and imports from
	`soap-xmlschema-imports'.
	* lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
	symbol-name.
	(soap-l2fq): Make the name part always a string.
	(soap-name-p): New defun, used for name tests.

	* lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
	Supply sample values for choice types with a special tag.
	* lisp/net/soap-client.el (soap-encode-xs-complex-type):
	Handle anonymous elements correctly.
	(soap-encode-value): Accept nodes that have no namespace tag.

	* lisp/net/soap-client.el (soap-invoke): Encode the string for
	`url-request-data' as UTF-8.  Fixes issue 16.

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

	Update the new icon

	Move the E slightly to the right in the circle.

	* etc/images/icons/hicolor/128x128/apps/emacs.png:
	* etc/images/icons/hicolor/16x16/apps/emacs.png:
	* etc/images/icons/hicolor/24x24/apps/emacs.png:
	* etc/images/icons/hicolor/32x32/apps/emacs.png:
	* etc/images/icons/hicolor/48x48/apps/emacs.png:
	* etc/images/icons/hicolor/scalable/apps/emacs.svg:
	* nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
	* nt/icons/emacs.ico: New icom update.

2015-10-24  Eli Zaretskii  <eliz@gnu.org>

	Avoid missing inline functions from lisp.h in TAGS

	* src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
	need to end each invocation with a semi-colon.
	Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
	and LISP_MACRO_DEFUN_VOID.  This is to avoid missing in TAGS
	inline functions defined immediately after each invocation, and
	also avoid tagging every invocation of these macros.

2015-10-24  Eli Zaretskii  <eliz@gnu.org>

	A better fix for bug#21739

	* src/buffer.c (set_update_modelines_for_buf): New function.
	(Fkill_buffer): Use it to set the global variable
	update_mode_lines if the killed buffer was displayed in some
	window.  Don't set windows_or_buffers_changed.  This is a better
	fix for bug#21739 than the previous fix, since it will cause only
	redisplay of mode lines, not of entire windows, but will still
	catch attention of x_consider_frame_title in xdisp.c, which
	redraws the frame title.

2015-10-24  Tassilo Horn  <tsdh@gnu.org>

	* lisp/dired-aux.el (dired-compress-files-alist): Add support for
	tar.bz2 and tar.xz archives.

2015-10-23  Eli Zaretskii  <eliz@gnu.org>

	Fix infloop in redisplay introduced by a recent change

	* src/xdisp.c (redisplay_internal): Avoid inflooping when
	redisplaying the selected window sets the selected frame's
	redisplay flag.  (Bug#21745)

2015-10-23  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/thunk.el: Better documentation.

2015-10-23  Nicolas Petton  <nicolas@petton.fr>

	Replace the old icon for Windows and Mac OSX

	* nt/icons/emacs.ico:
	* nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
	Use the new icons.

2015-10-23  Stephen Leake  <stephen_leake@stephe-leake.org>

	* lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
	`load-path' should contain only directory names.

2015-10-23  Nicolas Petton  <nicolas@petton.fr>

	New library thunk.el

	thunk.el is extracted from stream.el in ELPA, with additional tests.

	* lisp/emacs-lisp/thunk.el: New file.
	* test/automated/thunk-tests.el: New file.
	* etc/NEWS: Add information about thunk.el

2015-10-23  Michael Albinus  <michael.albinus@gmx.de>

	Fix bug#21669

	* lisp/filenotify.el (file-notify-rm-watch): Improve check for
	calling low-level functions.

	* test/automated/file-notify-tests.el (file-notify--test-timeout):
	Decrase to 6 seconds for remote directories.
	(file-notify-test02-events): Expect different number of
	`attribute-changed' events for the local and remote cases.  Apply
	short delays between the operations, in order to receive all
	events in the remote case.  Combine `attribute-change' tests.
	(Bug#21669)

2015-10-23  Eli Zaretskii  <eliz@gnu.org>

	Decode the HTML source when displaying it in EWW

	* lisp/net/eww.el (eww-view-source): Decode the HTML source
	according to its headers.

2015-10-23  Nicolas Petton  <nicolas@petton.fr>

	New default icon

	* etc/images/icons/hicolor/128x128/apps/emacs23.png:
	* etc/images/icons/hicolor/16x16/apps/emacs23.png:
	* etc/images/icons/hicolor/24x24/apps/emacs23.png:
	* etc/images/icons/hicolor/32x32/apps/emacs23.png:
	* etc/images/icons/hicolor/48x48/apps/emacs23.png:
	* etc/images/icons/hicolor/scalable/apps/emacs23.svg:
	* etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
	Move the old logo files to emacs23.*.
	* etc/images/icons/hicolor/128x128/apps/emacs.png:
	* etc/images/icons/hicolor/16x16/apps/emacs.png:
	* etc/images/icons/hicolor/24x24/apps/emacs.png:
	* etc/images/icons/hicolor/32x32/apps/emacs.png:
	* etc/images/icons/hicolor/48x48/apps/emacs.png:
	* etc/images/icons/hicolor/scalable/apps/emacs.svg:
	* etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
	New files.
	* etc/images/icons/README: Update the copyright information.

2015-10-23  Eli Zaretskii  <eliz@gnu.org>

	Fix redisplay of frame title when current buffer is killed

	* src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
	non-zero value, to redisplay more than just the affected windows.
	(Bug#21739)

2015-10-23  Anders Lindgren  <andlind@gmail.com>

	NextStep maximization and NSTRACE rewrite

	Full-height, full-width, and maximized windows now cover the
	entire screen (except the menu bar), including the part where the
	system dock is placed.  The system zoom animation is no longer
	used.

	Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
	original size.

	* src/nsterm.m (ns_menu_bar_height): New function, return height of
	the menu bar, or 0 when it's hidden.
	(constrain_frame_rect): New function for constraining a frame.
	(ns_constrain_all_frames): Set frame size explicitly rather than
	relying on the system doing it for us by writing back the current
	frame size.
	(windowWillUseStandardFrame): Register non-maximized width or
	height as new user size.  When entering full width or height,
	the other size component is taken from the user size.
	(fullscreenState): New method for accessing the fullscreen state.
	(constrainFrameRect): Restrict frame to be placed under the menu bar,
	if present.  The old version, sometimes, restricted the height of a
	frame to the screen, this version never does this.
	(zoom): Perform zoom by setting the frame to the full size of the
	screen (minus the menu bar).  The default system function, with the
	zoom animation, is no longer used, as the final frame size doesn't
	cover the entire screen.

	Rework how to constrain resizing to the character grid.  The old
	system used "resizeIncrements" in NSWindows.  However, once a frame
	was resized so that it was not aligned to the text grid, it
	remained unaligned even after a resize.  In addition, it conflicted
	when resizing a fullheight window.

	* src/nsterm.m (windowWillResize): Restrict frame size to text grid,
	unless when pixelwise frame resizing is enabled.
	(updateFrameSize, initFrameFromEmacs)
	(toggleFullScreen, handleFS): Don't set resizeIncrements.

	Redesign the NS trace system.  The call structure is represented
	using indentations and vertical lines.  The NSTRACE macro accepts
	printf-style arguments.  New macros for printing various
	information.

	* src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
	(NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
	block (typically a function), accept printf-style arguments.
	(NSTRACE_MSG): Macro for extra information, accepts
	printf-style arguments.
	(NSTRACE_what): Macros for printing various types.
	(NSTRACE_FMT_what): Macro with printf format string snippets.
	(NSTRACE_ARG_what): Macros for passing printf-style arguments,
	corresponds to NSTRACE_FMT_what.
	(NSTRACE_RETURN): Macro to print return value, accept
	printf-style arguments.
	(NSTRACE_RETURN_what): Macros to print return value for
	various types.

	* src/nsterm.m: Remove old NSTRACE macro
	* src/nsterm.m (nstrace_num): Trace counter.
	(nstrace_depth): Current call depth.
	(nstrace_leave): NSTRACE support function, called when the
	local variable "nstrace_enabled" goes out of scope using the
	"cleanup" extension.
	(ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
	(constrain_frame_rect, ns_constrain_all_frames)
	(ns_update_auto_hide_menu_bar, ns_update_begin)
	(ns_update_window_begin, update_window_end, ns_update_end)
	(ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
	(ns_frame_rehighlight, x_make_frame_visible)
	(x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
	(x_destroy_window, x_set_offset, x_set_window_size)
	(ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
	(ns_defined_color, frame_set_mouse_pixel_position)
	(note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
	(ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
	(ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
	(ns_after_update_window_line, ns_shift_glyphs_for_insert)
	(dumpcursor, ns_draw_vertical_window_border)
	(ns_draw_window_divider, ns_draw_relief)
	(ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
	(ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
	(ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
	(ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
	(ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
	(ns_create_terminal, ns_term_init, sendEvent)
	(applicationDidFinishLaunching, applicationDidBecomeActive)
	(timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
	(acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
	(deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
	(rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
	(mouse_autoselect_window, in_window, mouseDragged)
	(rightMouseDragged, otherMouseDragged, windowShouldClose)
	(updateFrameSize, windowWillResize, windowDidResize)
	(windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
	(initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
	(windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
	(windowDidEnterFullScreen, windowWillExitFullScreen)
	(windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
	(mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
	(draggingEntered, performDragOperation, validRequestorForSendType)
	(setMiniwindowImage, constrainFrameRect, performZoom, zoom)
	(EmacsScroller_initFrame, EmacsScroller_setFrame)
	(EmacsScroller_dealloc, condemn, reprieve, judge)
	(resetCursorRects, setPosition, EmacsScroller_mouseDown)
	(EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.

	* src/nsfns.m: Remove old NSTRACE macro
	* src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
	(x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
	(ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.

	* src/nsimage.m: Remove old NSTRACE macro
	* src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
	(ns_image_from_bitmap_file, ns_load_image): Use new trace system.

	* src/nsmenu.m: Remove old NSTRACE macro
	* src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
	Use new trace system.

2015-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	No need to use eval-and-compile

	* lisp/gnus/auth-source.el: Do require epg (when compiling) before
	autoload epg functions.

2015-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	Fix auth-source-epa-make-gpg-token compilation (bug#21724)

	* lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
	epg-context-set-passphrase-callback, epg-decrypt-string, and
	epg-encrypt-string; require epg when compiling for the setf-method
	for epg-context-armor. (bug#21724)

2015-10-22  Eli Zaretskii  <eliz@gnu.org>

	Include file cleanup for w32 files in src directory

	* src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
	fontset.h, blockinput.h.
	* src/w32uniscribe.c: Don't include dispextern.h, character.h,
	charset.h, fontset.h.
	* src/w32term.c: Don't include systty.h, systime.h, charset.h,
	character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
	process.h, atimer.h, keymap.h, w32heap.h.  Include bitmap/gray.xbm
	in an ifdef-ed away block.
	Include fcntl.h for CYGWIN.
	(set_frame_param): Remove unused function.
	* src/w32select.c: Don't include charset.h and composite.h.
	(setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
	due to pointer signedness mismatches.
	* src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
	due to pointer signedness mismatches.
	* src/w32proc.c: Include unistd.h.  Don't include systime.h,
	process.h, dispextern.h.
	(sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
	(Fw32_application_type): Avoid compiler warnings due to pointer
	signedness mismatches.
	* src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
	character.h, charset.h, dispextern.h.
	(simple_dialog_show, add_menu_item): Avoid compiler warnings due
	to pointer signedness mismatches.
	* src/w32inevt.c: Don't include dispextern.h, window.h,
	termhooks.h, w32heap.h.
	* src/w32font.c: Don't include dispextern.h, character.h,
	charset.h, fontset.h, font.h.
	(intern_font_name, add_font_entity_to_list)
	(registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
	(list_all_matching_fonts): Avoid compiler warnings due to pointer
	signedness mismatches.
	* src/w32fns.c: Don't include character.h, intervals.h,
	dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
	termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
	(w32_color_map_lookup, add_system_logical_colors_to_map)
	(x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
	(Fxw_color_values, x_display_info_for_name, Fset_message_beep)
	(x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
	(w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
	compiler warnings, mainly due to pointer signedness mismatches.
	(unwind_create_frame_1): Remove unused function.
	* src/w32console.c: Don't include character.h, disptab.h, frame.h,
	window.h, termhooks.h, dispextern.h.
	(w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
	signedness mismatch.
	* src/w32.c: Include c-strcase.h and systty.h.  Don't include
	w32heap.h.

2015-10-22  Tassilo Horn  <tsdh@gnu.org>

	Improve doc-view wrt. auto-revert-mode

	* lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
	is corrupted (bug#21729).
	(doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.

2015-10-22  Oleh Krehel  <ohwoeowho@gmail.com>

	Describe dired-do-compress-to in the manual

	* etc/NEWS: Update.

	* lisp/dired-aux.el: Fix typo.

	* doc/emacs/dired.texi: Add entry.

2015-10-22  Jürgen Hötzel  <juergen@archlinux.org>

	Further fix for proper locale handling in tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
	Just suppress LC_MESSAGES locale category settings.

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

	New lispref section “Security Considerations”

	This attempts to document some of the issues recently discussed
	on emacs-devel, and to indicate other such issues.  The section
	could be a lot longer.
	* doc/lispref/os.texi (Security Considerations):
	New node.
	* doc/lispref/elisp.texi (Top):
	* doc/lispref/processes.texi (Shell Arguments):
	* lisp/subr.el (shell-quote-argument):
	* src/callproc.c (syms_of_callproc):
	Reference it.

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

	Merge from gnulib

	This incorporates:
	2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
	2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
	* doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
	Copy from gnulib.

2015-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
	(mailcap-viewer-passes-test): Do it instead.  Thanks to Stefan Monnier.

2015-10-21  Ken Brown  <kbrown@cornell.edu>

	Further include-file cleanup

	* src/sheap.c: Include stdlib.h.
	* src/unexcw.c: Include string.h.

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

	Fix logic in 'server-kill-emacs-query-function'

	* lisp/server.el (server-kill-emacs-query-function): Correct the
	logic that controls whether the user is asked for confirmation.
	(Bug#21723)

2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-search-fun-default): Simplify logic.
	(isearch--lax-regexp-function-p): New function.

2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Support lax-whitespace in regexp-function searches.
	(isearch-search-fun-default): Let-bind `search-spaces-regexp'
	around `isearch-regexp-function'.

2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Rename word search to regexp-function search.
	`isearch-word' went well beyond its original purpose, and the name
	no longer makes sense.  It is now called
	`isearch-regexp-function', and its value should always be a function
	that converts a string to a regexp (though setting it to t is still
	supported for now).
	(isearch-word): Make obsolete.
	(isearch-regexp-function): New variable.
	(isearch-mode, isearch-done, isearch--state, isearch--set-state)
	(with-isearch-suspended, isearch-toggle-regexp)
	(isearch-toggle-word, isearch-toggle-symbol)
	(isearch-toggle-character-fold, isearch-query-replace)
	(isearch-occur, isearch-highlight-regexp)
	(isearch-search-and-update, isearch-message-prefix)
	(isearch-search-fun-default, isearch-search)
	(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
	Use it.
	(isearch-lazy-highlight-regexp-function): New var.
	(isearch-lazy-highlight-word): Make obsolete.
	(isearch--describe-regexp-mode): New function.
	(isearch--describe-word-mode): Make obsolete.

	* lisp/info.el (Info-isearch-search):
	* lisp/replace.el (replace-search, replace-highlight):
	* lisp/obsolete/longlines.el (longlines-search-function):
	* lisp/hexl.el (hexl-isearch-search-function):
	* lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
	Use the new var.

2015-10-21  Oleh Krehel  <ohwoeowho@gmail.com>

	Add dired-do-compress-to command bound to "c"

	* lisp/dired-aux.el (dired-shell-command): Use the caller's
	  `default-directory', return the result of `process-file'.
	(dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
	used by default.
	(dired-compress-files-alist): New defvar.
	(dired-do-compress-to): New command.

	* lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
	(dired-do-compress-to): Add an autoload entry.

	* etc/NEWS: Add two entries.

2015-10-21  Tassilo Horn  <tsdh@gnu.org>

	Make RefTeX work with LaTeX subfiles package

	* lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
	document class argument as master file for referencing purposes.

2015-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.

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

	Include-file cleanup for src directory

	Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
	In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
	but does not include it directly.  As a general rule, a source
	file should include foo.h if it needs the interfaces that foo.h
	defines.
	* src/alloc.c: Don’t include process.h.  Include dispextern.h,
	systime.h.
	* src/atimer.c: Don’t include blockinput.h.
	* src/buffer.c: Include coding.h, systime.h.  Don’t include
	keyboard.h, coding.h.
	* src/callint.c: Don’t include commands.h, keymap.h.
	* src/callproc.c: Don’t include character.h, ccl.h, composite.h,
	systty.h, termhooks.h.
	* src/casetab.c: Don’t include character.h.
	* src/category.c: Don’t include charset.h, keymap.h.
	* src/ccl.h: Don’t include character.h.
	* src/character.c: Don’t include charset.h.
	* src/charset.c: Don’t include disptab.h.
	* src/chartab.c: Don’t include ccl.h.
	* src/cm.c: Don’t include frame.h, termhooks.h.
	* src/cmds.c: Don’t include window.h, dispextern.h.
	* src/coding.c: Don’t include window.h, frame.h.
	* src/composite.c: Include composite.h.  Don’t include window.h,
	font.h.
	* src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
	* src/dbusbind.c: Don’t include frame.h.
	* src/decompress.c: Don’t include character.h.
	* src/dired.c: Don’t include character.h, commands.h, charset.h.
	* src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
	process.h, timespec.h.  Include systime.h.
	* src/doc.c: Include coding.h.  Don’t include keyboard.h.
	* src/editfns.c: Include composite.h.  Don’t include frame.h.
	* src/emacs.c: Include fcntl.h, coding.h.  Don’t include
	commands.h, systty.h..
	* src/fileio.c: Don’t include intervals.h, dispextern.h.
	Include composite.h.
	* src/filelock.c: Don’t include character.h, systime.h.
	* src/fns.c: Don’t include time.h, commands.h, keyboard.h,
	keymap.h, frame.h, blockinput.h, xterm.h.  Include composite.h.
	* src/font.c: Include termhooks.h.
	* src/font.h: Don’t include ccl.h, frame.h.  Add forward decls of
	struct composition_it, struct face, struct glyph_string.
	* src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
	intervals.h, window.h, termhooks.h.
	* src/frame.c: Don’t include character.h, commands.h, font.h.
	* src/frame.h: Don’t include dispextern.h.
	* src/fringe.c: Don’t include character.h.
	* src/ftcrfont.c: Don’t include dispextern.h, frame.h,
	character.h, charset.h, fontset.h.
	* src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
	fontset.h.
	* src/ftxfont.c: Don’t include dispextern.h, character.h,
	charset.h, fontset.h.
	* src/gfilenotify.c: Don’t include frame.h, process.h.
	* src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
	Don’t include syssignal.h, buffer.h, charset.h, font.h.
	* src/gtkutil.h: Don’t include frame.h.
	* src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
	Don’t include character.h.
	* src/indent.c: Don’t include keyboard.h, termchar.h.
	* src/inotify.c: Don’t include character.h, frame.h.
	* src/insdel.c: Include composite.h.  Don’t include blockinput.h.
	* src/intervals.c: Don’t include character.h, keyboard.h.
	* src/intervals.h: Don’t include dispextern.h, composite.h.
	* src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
	Include coding.h.
	* src/keyboard.h: Don’t include systime.h.
	* src/keymap.c: Don’t include charset.h, frame.h.
	* src/lread.c: Include dispextern.h and systime.h.
	Don’t include frame.h.  Include systime.h.
	* src/macros.c: Don’t include commands.h, character.h, buffer.h.
	* src/menu.c: Include character.h, coding.h.  Don’t include
	dispextern.h.
	* src/menu.h: Don’t include systime.h.
	* src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
	intervals.h, termhooks.h.
	* src/print.c: Include coding.h.  Don’t include keyboard.h,
	window.h, dispextern.h, termchar.h, termhooks.h, font.h.
	Add forward decl of struct terminal.
	* src/process.c: Don’t include termhooks.h, commands.h,
	dispextern.h, composite.h.
	* src/region-cache.c: Don’t include character.h.
	* src/scroll.c: Don’t include keyboard.h, window.h.
	* src/search.c: Don’t include category.h, commands.h.
	* src/sound.c: Don’t include dispextern.h.
	* src/syntax.c: Don’t include command.h, keymap.h.
	* src/sysdep.c: Don’t include window.h, dispextern.h.
	* src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
	* src/term.c: Don’t include systty.h, intervals.h, xterm.h.
	* src/terminal.c: Include character.h.
	Don’t include charset.h, coding.h.
	* src/textprop.c: Don’t include character.h.
	* src/undo.c: Don’t include character.h, commands.h, window.h.
	* src/unexsol.c: Don’t include character.h, charset.h.
	* src/widget.c: Include widget.h.  Don’t include keyboard.h,
	window.h, dispextern.h, blockinput.h, character.h, font.h.
	* src/widgetprv.h: Don’t include widget.h.
	* src/window.c: Don’t include character.h, menu.h, intervals.h.
	* src/xdisp.c: Include composite.h, systime.h.  Don’t include
	macros.h, process.h.
	* src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
	intervals.h.
	* src/xfns.c: Don’t include menu.h, character.h, intervals.h,
	epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
	* src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
	* src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
	* src/xgselect.c: Don’t include timespec.h, frame.h.
	Include systime.h.
	* src/xgselect.h: Don’t include time.h.
	Use a forward decl to struct timespec instead.
	* src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
	dispextern.h.  Include systime.h.
	* src/xml.c: Don’t include character.h.
	* src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
	* src/xselect.c: Don’t include dispextern.h, character.h,
	buffer.h, process.h.
	* src/xsmfns.c: Don’t include systime.h, sysselect.h.
	* src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
	intervals.h process.h, keymap.h, xgselect.h.  Include composite.h.

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

	(/ N) now returns the reciprocal of N

	This is more compatible with Common Lisp and XEmacs (Bug#21690).  See:
	https://lists.gnu.org/r/emacs-devel/2015-10/msg01053.html
	* lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
	(color-xyz-to-srgb, color-xyz-to-lab):
	* lisp/emacs-lisp/cl-extra.el (cl-float-limits):
	* lisp/net/shr-color.el (shr-color-hue-to-rgb)
	(shr-color-hsl-to-rgb-fractions):
	Exploit the change to simplify the code a bit.
	* lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
	Don’t complain about single-argument calls to ‘/’.
	* src/data.c (arith_driver, float_arith_driver):
	Implement the change.

2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>

	Call vc-dir-refresh after stash operations

	* lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
	(vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).

	* lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
	since it can be abbreviated (as returned by vc-find-root).

2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/vc/vc-svn.el:
	* lisp/vc/vc-mtn.el:
	* lisp/vc/vc-hg.el:
	* lisp/vc/vc-cvs.el:
	* lisp/vc/vc-git.el:
	* lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
	Its usages have been replaced with vc-run-delayed.

2015-10-20  Dima Kogan  <dima@secretsauce.net>

	Fix memory leak in fontset handling

	* src/font.c (copy_font_spec): Make a deep copy of the input
	argument FONT.  (Bug#21651)

2015-10-20  Michael Sperber  <mike@xemacs.org>

	* lisp/gnus/mailcap.el (mailcap-mime-data):
	Conditonalize `doc-view-mode', which does not exist on XEmacs.

2015-10-20  Oleh Krehel  <ohwoeowho@gmail.com>

	Update the way directories are compressed

	* lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
	for *.tar.gz decompression to use a pipe.
	Add an entry for the default directory compression (to *.tar.g).
	(dired-compress-file): Update.

	See https://lists.gnu.org/r/emacs-devel/2015-10/msg00949.html.

2015-10-20  Michael Sperber  <mike@xemacs.org>

	Unbreak `group' option for `mail-sources'

	* lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
	* lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
	(nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.

2015-10-19  Nicolas Petton  <nicolas@petton.fr>

	New function seq-position

	* lisp/emacs-lisp/seq.el (seq-position): New function.
	* test/automated/seq-tests.el: New tests for seq-position.
	* doc/lispref/sequences.texi: Add documentation for `seq-position'.

2015-10-19  Ken Brown  <kbrown@cornell.edu>

	Enable --with-wide-int build on 32-bit Cygwin

	* src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
	and x86_64 to enable --with-wide-int build on 32-bit Cygwin.

2015-10-19  Glenn Morris  <rgm@gnu.org>

	* doc/emacs/ack.texi (Acknowledgments): Small, sad, update.

2015-10-19  Eli Zaretskii  <eliz@gnu.org>

	Resurrect image loading under auto-image-file-mode

	* src/image.c (x_find_image_fd): Handle the case of -2 returned by
	'openp' specially.  This special case was lost in the changes on
	2015-08-18.  (Bug#21685)

2015-10-19  Eli Zaretskii  <eliz@gnu.org>

	Fix return value of 'set-file-extended-attributes'

	* lisp/files.el (set-file-extended-attributes): Return non-nil
	when setting either ACLs or SELinux context succeeds.  Document
	the return value.  (Bug#21699)

	* doc/lispref/files.texi (Changing Files): Document the return
	value of set-file-extended-attributes.

2015-10-19  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of functions that change files

	* doc/lispref/files.texi (Changing Files): Document that these
	functions signal an error on failure.

2015-10-18  Eli Zaretskii  <eliz@gnu.org>

	Fix doc string of 'shell-quote-argument'

	* lisp/subr.el (shell-quote-argument): Doc fix.  (Bug#21702)

2015-10-18  Michael Albinus  <michael.albinus@gmx.de>

	Some minor Tramp changes

	* doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.

	* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
	Expand `tramp-auto-save-directory'.

2015-10-18  Michael Albinus  <michael.albinus@gmx.de>

	Minor edits in Tramp

	* lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
	Declare it.

	* lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
	Remove declaration.

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

	* lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.

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

	Avoid crashes when redisplayng a window changes faces or fonts

	* src/xdisp.c (redisplay_internal): If redisplaying the selected
	window or one of the frames turns on the frame's 'redisplay' flag,
	redisplay again.  (Bug#21428)

	* src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.

2015-10-17  Michael Albinus  <michael.albinus@gmx.de>

	Solve timimg issues in file-notify-tests.el

	* test/automated/file-notify-tests.el (file-notify-test02-events):
	Rectify `attribute-change' tests.  There are timing issues with
	gfilenotify.  (Bug#21669)

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

	Fix quoting of data within htmlfontify doc

	* doc/misc/htmlfontify.texi (Data Structures, Customization):
	Fix quoting of data structures.  A Lisp quote is needed only
	when data appears within Lisp code.

2015-10-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Reload archive-contents if
	priorities change.
	(package--old-archive-priorities): New variable.
	(package-read-all-archive-contents, package-menu--refresh): Use it
	to decide when the `package-archive-contents' needs to be read
	again.

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

	Make src headers idempotent and standalone

	Redo src/*.h so that each include file is idempotent (that is, can
	be included multiple times with the latter inclusions having no
	effect) and standalone (that is, can be included by itself,
	with no include file other than config.h needed as a prerequisite).
	This is standard practice in GNU programs nowadays.
	* lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
	* src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
	* src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
	* src/regex.h [emacs]:
	* src/syntax.h, src/systty.h, src/termhooks.h:
	Include lisp.h, for Lisp_Object.
	* src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
	* src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
	* src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
	* src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
	* src/termopts.h, src/tparam.h, src/unexec.h:
	Protect against multiple inclusion.
	* src/buffer.h: Include character.h, for STRING_CHAR.
	* src/emacsgtkfixed.h (struct frame):
	* src/fontset.h (struct face):
	* src/region-cache.h (struct buffer):
	* src/termhooks.h (struct glyph):
	* src/xsettings.h (struct x_display_info):
	Add possibly-forward decl.
	* src/syntax.h: Include buffer.h, for BVAR.
	* src/sysselect.h: Include lisp.h, for eassume.
	* src/termchar.h: Include <stdio.h>, for FILE.
	* src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
	* src/xsettings.h: Include <X11/Xlib.h>, for XEvent.

2015-10-16  Jürgen Hötzel  <juergen@archlinux.org>

	Handle symlink targets containing spaces in tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
	Handle symlink targets containing spaces.

2015-10-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/custom.el (custom-theme-load-path): Demote to defvar.

	`custom-theme-load-path' was a defcustom, but it shouldn't be for the
	same reason that `load-path' shouldn't.  Setting it via the customize
	interface is a trap for the user.

	Installed themes commonly add themselves to this variable, which means
	its value is not fit for being saved (it will permanently remember dirs
	that don't exist anymore).

	This is aggravated by the fact that Emacs always applies the `user'
	theme on top of any theme that's loaded, since this will apply the old
	variable value and remove any new directories that had been recently
	added by themes themselves.

	Not to mention, we already have `custom-theme-directory', which is safe
	to customize.

2015-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/mpc.el: Rename the new toggling commands.
	(mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
	(mpc-toggle-shuffle): Add "-toggle" in the name.

2015-10-16  Eli Zaretskii  <eliz@gnu.org>

	Improve the doc string of 'completion-boundaries'

	* lisp/minibuffer.el (completion-boundaries): Rename the argument
	TABLE to COLLECTION, for consistency with other high-level
	completion functions.  Document how COLLECTION is called if it
	is a function.  (Bug#21644)

2015-10-16  Oleh Krehel  <ohwoeowho@gmail.com>

	* lisp/dired-aux.el (dired-shell-command): Fix compile warning.

2015-10-16  Oleh Krehel  <ohwoeowho@gmail.com>

	Make dired-do-compress work for *.zip files

	* lisp/dired-aux.el (dired-check-process): Transform the top-level
	  comment into a docstring.
	(dired-shell-command): New command.  This mirrors
	`dired-check-process', but is more user-friendly for passing
	arguments.
	(dired-compress-file-suffixes): Allow to specify the command switches
	along with input (%i) and output (%o) inside the PROGRAM part.
	Add an entry for *.zip files, and update the entry for *.tar.gz files
	to the new style.  Update the docstring.
	(dired-compress-file): When PROGRAM matches %i or %o, use the new
	logic.
	(dired-update-file-line): Avoid an error when at end of buffer.

	Fixes bug#21637.

2015-10-16  Eli Zaretskii  <eliz@gnu.org>

	Minor improvement in documentation of internals

	* doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.

2015-10-16  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of COLLECTION in completion functions

	* doc/lispref/minibuf.texi (Minibuffer Completion): Add a
	cross-reference to "Programmed Completion".

	* src/minibuf.c (Fcompleting_read): Improve the doc string.
	(Bug#21644)

2015-10-16  Eli Zaretskii  <eliz@gnu.org>

	Add more release info to etc/HISTORY

	* etc/HISTORY: Add more release information about 19.x and 20.x
	versions.

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

	New file etc/HISTORY

	* admin/FOR-RELEASE: Procedure for etc/HISTORY.
	* etc/HISTORY: New file.
	* etc/NEWS: Mention it.

2015-10-15  Dmitry Gutov  <dgutov@yandex.ru>

	js-mode: Don't misindent generator methods

	* lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
	generator methods from multiplication operator
	(https://github.com/mooz/js2-mode/issues/275).

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

	Fix animation timeout delay calculation

	* lisp/image.el (image-animate-timeout):
	Don’t assume speed is floating-point.

2015-10-15  Mark Oteiza  <mvoteiza@udel.edu>

	Add commands for controlling MPD modes

	* lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
	(mpc-cmd-single): New functions.
	(mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
	(mpc-mode-menu): Add new commands as menu items.

2015-10-15  Dmitry Gutov  <dgutov@yandex.ru>

	Refer to `(elisp)Basic Completion' in completing-read docstring

	* src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
	Completion' in the docstring (bug#21644).

2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/mpc.el (mpc-format): Always push form to pred

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

	Spelling fixes

	* configure.ac (bitmapdir): Fix misspelling of bmd_acc.
	* test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
	Fix misspelling of nonexistent file name.

2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings

2015-10-14  Michael Albinus  <michael.albinus@gmx.de>

	Some editing fixes in Tramp

	* lisp/net/tramp-gvfs.el:
	* doc/misc/tramp.texi: "customer option" -> "custom option".

	* lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.

2015-10-14  Jürgen Hötzel  <juergen@archlinux.org>

	Use proper localization in tramp-gvfs.el

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
	Suppress localized settings in order to proper parse gfvs output.

2015-10-14  Warren Lynn  <wrn.lynn@gmail.com>  (tiny change)

	* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Quote argument in proper order.  (Bug#21562)

2015-10-14  Nicolas Petton  <nicolas@petton.fr>

	Fix typos in docstrings

	* lisp/emacs-lisp/map.el:
	* lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
	  macros.

2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.

2015-10-14  Oleh Krehel  <ohwoeowho@gmail.com>

	Make dired-jump work with tar-subfile-mode

	* lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
	  emitting an error, switch to `tar-superior-buffer'.

2015-10-14  Juanma Barranquero  <lekktu@gmail.com>

	* .gitignore: Add build-aux/ar-lib.

2015-10-14  Nicolas Petton  <nicolas@petton.fr>

	Better docstrings in seq.el and map.el

	* lisp/emacs-lisp/map.el:
	* lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.

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

	Merge from gnulib

	This incorporates:
	2015-10-13 binary-io, u64, unistd: port to strict C
	2015-09-26 c-ctype: do not worry about EBCDIC + char signed
	2015-09-25 c-ctype: port better to z/OS EBCDIC
	2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
	* doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
	* lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
	Copy from gnulib.

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

	Take XPNTR private

	* src/alloc.c (PURE_POINTER_P): Remove.
	All uses replaced with PURE_P.
	(XPNTR_OR_SYMBOL_OFFSET): New function.
	(XPNTR): Move here from lisp.h.
	Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
	(mark_maybe_object, valid_lisp_object_p, survives_gc_p):
	Remove unnecessary cast.
	(purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
	to avoid an unnecessary runtime test for symbols.
	* src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
	Only alloc.c needs XPNTR now.

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

	Add MPC play/pause command

	* lisp/mpc.el (mpc-toggle-play): New command.
	(mpc-mode-map): Bind it to "s".
	(mpc-mode-menu): Add corresponding menu item.

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

	Add bindings and menu items for prev and next tracks

	* lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
	"<" to mpc-prev.
	(mpc-mode-menu): Add corresponding menu items

2015-10-13  Ken Raeburn  <raeburn@raeburn.org>

	Reduce face-related consing during frame creation.

	* lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
	attribute list once.
	(face-spec-reset-face): Use it instead of building the list.

2015-10-13  Ken Raeburn  <raeburn@permabit.com>

	Do process ConfigureNotify events indicating size changes.

	* src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
	events don't have the same size, process each one.

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

	Derive mpc-mode from special-mode

	lisp/mpc.el (mpc-mode-map): Make from sparse keymap.  Unbind g.
	(mpc-mode): Derive from special mode.
	(mpc-songs-mode-map): Don't set parent keymap.

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

	Fix error messages for when covers are not found.

	The last change to mpc-format let the binding to file call
	mpc-file-local-copy with nil argument.  Instead, employ if-let here
	so nil bindings don't result in needless computation and errors.
	* lisp/mpc.el: Require 'subr-x at compile time.
	* lisp/mpc.el (mpc-format): Use if-let.

2015-10-13  Oleh Krehel  <ohwoeowho@gmail.com>

	Make dired-do-compress work for *.tar.gz files

	* lisp/dired-aux.el (dired-compress-file-suffixes): Associate
	  "tar -zxvf" to *.tar.gz; update docstring.

	(dired-compress-file): Allow to specify switches after the command in
	`dired-compress-file-suffixes'.

2015-10-13  Oleh Krehel  <ohwoeowho@gmail.com>

	Make dired-do-compress work for directories

	* lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
	  instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
	Also convert the top comment into a docstring.

2015-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'

	... since it might come straight from the memoizing table.

2015-10-13  Juanma Barranquero  <lekktu@gmail.com>

	* src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.

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

	Use special-mode in eww list modes

	* lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
	(eww-buffers-mode): Derive from special-mode and remove redundant
	setting of buffer-read-only.
	(eww-mode-map): Remove redundant keymap parent setting.
	(eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
	Remove redundant keymap suppressions and mappings.

2015-10-13  Martin Rudalics  <rudalics@gmx.at>

	Allow setting frame pixel sizes from frame parameters (Bug#21415)

	Also fix some misfeatures in frame (re-)sizing code, add more
	debugging information and remove some dead code.

	* lisp/frame.el (frame-notice-user-settings, make-frame): Change
	parameter names when setting `frame-size-history'.
	(frame--size-history): New function.

	* src/frame.c (frame_inhibit_resize): If frame has not been made
	yet, return t if inhibit_horizontal_resize or
	inhibit_vertical_resize bit have been set.
	(adjust_frame_size): Simplify.
	(make_frame): Initialize inhibit_horizontal_resize,
	inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
	(Fframe_after_make_frame): Reset inhibit_horizontal_resize and
	inhibit_vertical_resize slots.
	(x_set_frame_parameters): Handle `text-pixels' specification for
	width and height parameters.  Don't consider new_height or
	new_width changes.  Call adjust_frame_size instead of
	Fset_frame_size.
	(x_figure_window_size): Two new arguments x_width and y_width
	returning frame's figures width and height.  Calculate tool bar
	height before frame sizes so SET_FRAME_HEIGHT can pick it up.
	Handle `text-pixels' specification for width and height
	parameters.
	(Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
	(Qx_set_window_size_1, Qx_set_window_size_2)
	(Qx_set_window_size_3, Qx_set_menu_bar_lines)
	(Qupdate_frame_menubar, Qfree_frame_menubar_1)
	(Qfree_frame_menubar_2): New symbols.
	* src/frame.h (structure frame): New booleans
	tool_bar_redisplayed, tool_bar_resized,
	inhibit_horizontal_resize, inhibit_vertical_resize.
	(x_figure_window_size): Update external declaration.
	* src/gtkutil.c (xg_frame_set_char_size): Set size hints before
	calling gtk_window_resize.
	(update_frame_tool_bar): Make inhibiting of frame resizing more
	discriminative.  Set tool_bar_resized bit.
	* src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
	resizing more discriminative.  Call adjust_frame_size instead of
	x_set_window_size.
	(Fx_create_frame): Handle x_width and x_height if
	set by x_figure_window_size.
	* src/nsterm.m (x_set_window_size): For GNUSTEP build don't
	subtract 3 from tool bar height.
	(x_set_window_size): Add frame_size_history_add call.
	(x_new_font): Call adjust_frame_size instead of
	x_set_window_size.
	* src/w32fns.c (x_change_tool_bar_height): Reset
	tool_bar_redisplayed and tool_bar_resized bits when adding tool
	bar.  Make inhibiting of frame resizing more discriminative.
	(w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
	(Fx_create_frame): Handle x_width and x_height if set by
	x_figure_window_size.  Set size hints before adjusting frame size.
	(x_create_tip_frame): Adjust x_figure_window_size call.
	* src/w32term.c (x_set_window_size): Add frame_size_history_add
	call.
	* src/widget.c (set_frame_size): Remove dead code.  Add
	frame_size_history_add call.  When frame_resize_pixelwise is t
	use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
	pixel_width and pixel_height.
	(update_various_frame_slots): Remove dead code.
	(EmacsFrameResize): Add more information in
	frame_size_history_add call.
	(EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
	is not set.
	* src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
	* src/xfns.c (x_set_menu_bar_lines): Change argument name.
	(x_change_tool_bar_height): Reset tool_bar_redisplayed and
	tool_bar_resized bits when adding tool bar.  Make inhibiting of
	frame resizing more discriminative.
	(Fx_create_frame): Handle x_width and x_height if set by
	x_figure_window_size.  Set size hints before adjusting frame size.
	(x_create_tip_frame): Adjust x_figure_window_size call.
	* src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
	(set_frame_menubar): On Lucid never add core-border-width to
	avoid that adding XtNinternalBorderWidth adds it again.
	(free_frame_menubar): Handle frame_inhibit_resize true for Motif.
	* src/xterm.c (x_new_font): In non-toolkit case handle size
	change of menu bar.
	(x_set_window_size_1): Fix calls to frame_size_history_add.
	(x_wm_set_size_hint): Remove dead code.  Set
	size_hints.min_width and size_hints.min_height to base_width and
	base_height.

2015-10-13  Michael Albinus  <michael.albinus@gmx.de>

	* test/automated/file-notify-tests.el (file-notify--test-timeout):
	Add docstring.  Increase to 10 seconds for remote
	directories.  (Bug#21669)

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

	Unmacroize ebrowse.c and etags.c a bit

	* lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
	(streq, filename_eq, set_flag, has_flag): Now inline functions.
	(set_flag): First arg is now an address, not an lvalue.
	All callers changed.
	(filename_eq, set_flag, has_flag):
	Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
	All callers changed.
	* lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
	Now inline functions.  Remove asserts that are unnecessary these
	days (and in some cases were too-generous anyway).

2015-10-12  Mark Oteiza  <mvoteiza@udel.edu>

	Use highlight for current items

	* lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
	Apply highlight face instead of region face.

2015-10-12  Mark Oteiza  <mvoteiza@udel.edu>

	Search for more cover image names in MPC

	* lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
	case insensitively

2015-10-12  Juanma Barranquero  <lekktu@gmail.com>

	Remove or comment out unused variables

	* src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
	nontext_cursor, mode_cursor, hand_cursor and count.
	(x_change_tool_bar_height): Remove variable old_text_height.
	(deliver_wm_chars): Remove variable strip_Alt.
	(Fw32_shell_execute): Remove variable document_a.
	(Fw32_frame_geometry): Remove variable fullboth.
	* src/w32term.c (w32_setup_relief_color): Comment out variable
	w32_display_info.
	(w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
	(w32_read_socket): Comment out variables rows, columns.
	* src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.

2015-10-12  Juanma Barranquero  <lekktu@gmail.com>

	* src/w32proc.c (sys_select): Fix bitwise test.

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

	Minor typo corrections in doc strings

	* lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
	Doc fixes.

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

	* nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.

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

	Attempt to avoid crashes in plist-member

	* src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
	and a call to XCDR.  (Bug#21655)

2015-10-12  Mike FABIAN  <mfabian@redhat.com>

	* lisp/select.el (gui-get-primary-selection): In
	gui-get-primary-selection use gui--selection-value-internal (Bug#20906)

2015-10-12  Tassilo Horn  <tsdh@gnu.org>

	Support RTF in doc-view

	* lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.

2015-10-12  Juanma Barranquero  <lekktu@gmail.com>

	* src/w32fns.c (get_wm_chars): Increment counter, not pointer.

2015-10-11  Nicolas Petton  <nicolas@petton.fr>

	Replace the usage of an obsolete function in auth-source.el

	* lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
	Replace an usage of `epg-context-set-armor' with `setf'.

2015-10-11  Nicolas Petton  <nicolas@petton.fr>

	* lisp/gnus/auth-source.el: Use sharp-quoting with functions.

2015-10-11  Jay Belanger  <jay.p.belanger@gmail.com>

	Have calc-yank recognize numbers in different bases.

	* lisp/calc/calc-yank.el (math-number-regexp): New function.
	(calc-yank): Use `math-number-regexp' to recognize numbers.

2015-10-11  Ken Raeburn  <raeburn@raeburn.org>

	Handle an opaque-move X11 window manager operation more efficiently

	* src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
	followed by more ConfigureNotify events for the same window, process
	only the last one.

2015-10-11  Ken Raeburn  <raeburn@raeburn.org>

	Fix cursor setting for tip frame; re-enable cursor generation

	* src/xfns.c (x_create_tip_frame): Include the cursor in the window
	attributes sent when creating the new X window.  Don't skip setting
	the pointerColor parameter.

2015-10-11  Ken Raeburn  <raeburn@raeburn.org>

	Rewrite x_set_mouse_color to sync less

	We can track serial numbers of X requests and correlate error events
	with the associated requests.  This way we can identify errors for
	specific calls without having to use XSync after every one.

	* src/xfns.c (enum mouse_cursor): New type.
	(struct mouse_cursor_types, struct mouse_cursor_data): New types.
	(mouse_cursor_types): New array listing the Lisp variables and default
	cursor appearances for each cursor type.
	(x_set_mouse_color_handler): New function; checks error event serial
	number against submitted requests.
	(x_set_mouse_color): Updated to use the new error handler callback,
	and to be more table-driven, to simplify repetitious code.

2015-10-11  Ken Raeburn  <raeburn@raeburn.org>

	Add x_catch_errors_with_handler

	* src/xterm.c (struct x_error_message_stack): Add new fields for a
	callback function and associated data pointer.
	(x_error_catcher): If the callback function is set, call it after
	saving the error message string.
	(x_catch_errors_with_handler): Renamed from x_catch_errors but now
	accepts a callback function and data pointer.
	(x_catch_errors): Now a wrapper function.
	* src/xterm.h (x_special_error_handler): New typedef.
	(x_catch_errors_with_handler): Declare.

2015-10-11  Ken Raeburn  <raeburn@raeburn.org>

	Introduce x_uncatch_errors_after_check to reduce XSync calls

	Both x_had_errors_p and x_check_errors call XSync, so if they're
	immediately followed by x_uncatch_errors, its XSync call will be
	redundant, resulting in a wasted round trip to the X server.

	* src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
	x_uncatch_errors without the XSync call.
	(XTmouse_position, x_wm_supports):
	* src/xfns.c (x_set_mouse_color):
	* src/xmenu.c (Fx_menu_bar_open_internal):
	* src/xselect.c (x_own_selection, x_get_foreign_selection):
	(Fx_get_atom_name): Call it instead of x_uncatch_errors.
	* src/xterm.h (x_uncatch_errors_after_check): Declare.

2015-10-10  Jay Belanger  <jay.p.belanger@gmail.com>

	Document the optional prefix to `calc-yank'

	* doc/misc/calc.texi (Yanking into the Stack): Document the optional
	prefix to `calc-yank'.
	* lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
	the Calc buffer are yanked back unchanged.

2015-10-10  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/calendar/calendar.el: Display buffer before executing body.

	In each use of this macro, the modeline is derived from a window width
	calculation, which will be wrong if (display-buffer) splits the window
	horizontally.

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

	Use ‘echo’ safely with ‘\’ or leading ‘-’

	POSIX says that ‘echo FOO’ produces implementation-defined output
	if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
	behavior in that case.
	* Makefile.in (removenullpaths): Remove.
	(epaths-force): Rewrite to avoid the need for ‘echo’.
	(install-etc): Be clearer about escaping the shell metacharacters
	‘\’ and ‘$’.
	* Makefile.in (install-arch-indep, install-etcdoc):
	* admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
	* admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
	* configure.ac, lib-src/rcs2log, make-dist:
	* src/Makefile.in (lisp.mk):
	Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
	For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
	if $foo can contain arbitrary characters.
	* lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
	* doc/lispref/two-volume.make (vol1.pdf):
	* test/etags/make-src/Makefile (web ftp publish):
	Use ‘printf’ rather than ‘echo -e’.

2015-10-10  Kaushal Modi  <kaushal.modi@gmail.com>

	Allow numbers with different radixes to be yanked.

	* lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
	default base 10.

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

	Improve CHECK_IMPURE and PURE_P speedup

	* src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.

2015-10-10  Jay Belanger  <jay.p.belanger@gmail.com>

	Use events instead of chars to keep track of steps.

	* lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
	to keep track of steps.

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

	Fix --enable-gcc-warnings problem with older GCC

	* src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
	This is for building with --enable-gcc-warnings with
	GCC 4.6 through 5.0.

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

	Fix vertical-motion in truncated lines that end in a stretch

	* src/indent.c (Fvertical_motion): Expect overshoot when point is
	beyond window margin and lines are truncated, even if we have a
	stretch at point.  (Bug#21468)

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

	Avoid link-time errors due to inline functions

	* src/emacs.c: Include puresize.h, to avoid link-time errors in
	unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
	inline functions.

2015-10-10  Andreas Schwab  <schwab@linux-m68k.org>

	* src/data.c (Faset): Fix last change.

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

	CHECK_IMPURE and PURE_P speedup

	* src/intervals.c (create_root_interval):
	Do CHECK_IMPURE only for strings; not needed for buffers.
	Prefer ! STRINGP to BUFFERP, for a tad more speed.
	* src/puresize.h (CHECK_IMPURE, PURE_P):
	Now inline functions instead of macros.
	(PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
	All callers changed.
	(CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
	All callers changed.

2015-10-09  Noah Friedman  <friedman@splode.com>

	(tramp-open-connection-setup-interactive-shell): Send -onlcr as well.

2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*

	our after-change-function, rather than re-adding it if it was removed.

2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/cedet/ede: Silence some compiler warnings

	* lisp/cedet/ede.el: Require cl-lib.  Silence some compiler warnings.
	(ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
	(ede-apply-object-keymap, ede-reset-all-buffers)
	(ede-auto-add-to-target): Use dolist.
	(ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
	Use field names rather than initarg names in `oref'.
	(ede-load-project-file): Remove unused var `file'.
	(ede-map-any-target-p): Use cl-some rather than ede-map-targets.
	(ede-set): Remove unused var `a'.

	* lisp/cedet/ede/emacs.el: Silence some compiler warnings.
	(ede-project-autoload): Avoid the old-style "name" argument.
	(ede-emacs-find-matching-target): Use field names rather than initarg
	names in `oref'.

	* lisp/cedet/ede/linux.el: Silence some compiler warnings.
	(ede-linux-load, ede-project-autoload): Avoid the old-style
	"name" argument.
	(ede-linux-find-matching-target): Use field names rather than initarg
	names in `oref'.

2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/textmodes/reftex.el: Silence byte-compiler warnings.

2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
	indenting too far after ":-".

2015-10-09  Eli Zaretskii  <eliz@gnu.org>

	Update case-table and categories of recently added characters

	* lisp/international/characters.el: Update information about Latin
	Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
	Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
	blocks.  (Byug#21654)

2015-10-09  Martin Rudalics  <rudalics@gmx.at>

	* src/frame.c (adjust_frame_size): In minibuffer-only windows
	don't count minibuffer height twice.  (Bug#21643)

2015-10-09  Eli Zaretskii  <eliz@gnu.org>

	Avoid inflooping in font-lock

	* lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
	inhibit-field-text-motion around the call to
	line-beginning-position, to avoid inflooping.  (Bug#21615)

2015-10-09  Tassilo Horn  <tsdh@gnu.org>

	Refactor duplicated code; ensure default is in completions

	* lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
	New function.
	(reftex-extract-bib-entries): Use it.
	(reftex-extract-bib-entries-from-thebibliography): Use it.

2015-10-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
	in the example.

2015-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/calc/calc.el: Silence byte-compiler warnings.
	(calc-scan-for-dels): Use ignore-errors.
	(calc-dispatch, calc-do-dispatch): Make unused arg optional.
	(calc-read-key-sequence): Remove unused var `prompt2'.
	(calc-kill-stack-buffer): Remove unused var `buflist'.
	(calc): Remove unused var `oldbuf'.
	(calc-refresh): Use inhibit-read-only.
	(calc-can-abbrev-vectors): Declare.
	(calc-record): Remove unused var `mainbuf'.
	(math-sub-bignum): Remove unused var `sum'.
	(math-svo-c, math-svo-wid, math-svo-off): Declare.

2015-10-08  Daiki Ueno  <ueno@gnu.org>

	Use g_clear_error instead of g_error_free

	* src/image.c: Define g_clear_error instead of g_error_free.
	(init_svg_functions): Resolve symbol g_clear_error instead of
	g_error_free.
	(svg_load_image): Use g_clear_error instead of g_error_free, to
	suppress GLib warnings when ERR is not set.  See bug#21641.

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

	* src/image.c (image_size_error): Simplify.

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

	Fix problems caught with --enable-gcc-warnings

	* src/image.c (lookup_rgb_color):
	* src/xfns.c (x_defined_color):
	* src/xterm.c (x_parse_color):
	Remove unused locals.

2015-10-08  Jay Belanger  <jay.p.belanger@gmail.com>

	* lisp/calc/calc.el (calc-digit-start-entry): Fix typo.

2015-10-08  Jay Belanger  <jay.p.belanger@gmail.com>

	Format initial input uniformly

	* lisp/calc/calc.el (calc-digit-start-entry): New function.
	* lisp/calc/calc.el (calcDigit-start):
	* lisp/calc/calc-aent.el (calc-alg-digit-entry):
	Use `calc-digit-start-entry' to format input.

2015-10-08  Ken Raeburn  <raeburn@raeburn.org>

	Disable non-working pointerColor setting for X tooltip frame

	It generates a bunch of server traffic, but there's some bug wherein
	the new mouse cursor settings don't seem to get used.  In most
	situations the cursor isn't likely to be seen anyway, so it's not
	urgent to fix.

	* src/xfns.c (x_create_tip_frame): Don't set pointerColor.

2015-10-08  Ken Raeburn  <raeburn@raeburn.org>

	Reduce some unnecessary X calls

	* src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
	call.  If border width is wanted, get it from the XGetGeometry call
	instead of calling XGetWindowAttributes on the same window.  Skip some
	X calls if we've already detected an error from the X server.
	* src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
	(handle_one_xevent): Delete XSync call before x_uncatch_errors.

2015-10-08  Ken Raeburn  <raeburn@raeburn.org>

	Reduce color allocation/query traffic in the TrueColor case

	When working with an X visual with TrueColor class, pixel values can
	be generated from the RGB values according to mask value provided by
	the server on connection.  Some of the image-handling code was already
	doing this.

	* src/xterm.h (x_make_truecolor_pixel): New function; code taken from
	lookup_rgb_color.
	(x_mutable_colormap): New function.
	* src/image.c (lookup_rgb_color): Move pixel composition code to
	x_make_truecolor_pixel.
	(x_kill_gs_process): Call x_mutable_colormap.
	* src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
	x_mutable_colormap.
	* src/xftfont.c (xftfont_get_colors): Call x_query_colors.
	* src/xterm.c (x_query_colors): For a TrueColor display, decompose the
	pixel value into RGB values directly, and don't send a request to the
	server.
	(x_alloc_nearest_color): For a TrueColor display, construct the pixel
	value with x_make_truecolor_pixel.
	(x_copy_color): For an immutable color map, just return the provided
	pixel value.

2015-10-08  Ken Raeburn  <raeburn@raeburn.org>

	Cache XParseColor results in the X display info structure

	With repeated lookups of foreground and background colors for multiple
	faces per frame, we issue a lot of redundant color name lookups to the
	X server, waiting every time for the response.  On a remote network
	with, say, 30ms round-trip time, this can add nearly a full second to
	creation of a new frame.

	* src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
	* src/image.c (get_spec_bg_or_alpha_as_argb):
	(xpm_init_color_cache, xpm_lookup_color):
	* src/xfns.c (x_defined_color):
	* src/xterm.c (x_parse_color): New function; caches color names not
	starting with "#" in the display-info structure.
	(x_delete_display): Delete the cache content.
	* src/xterm.h (struct color_name_cache_entry): New type.
	(x_parse_color): Declare.
	(struct x_display_info): Add a new field for the cache.

2015-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.

2015-10-07  Eli Zaretskii  <eliz@gnu.org>

	Fix segfault in image_size_error

	* src/image.c (image_size_error): Pass a Lisp string to
	image_error, not a C string.  (Bug#21641)

2015-10-07  Simen Heggestøyl  <simenheg@gmail.com>

	Highlight CSS variable definitions

	* lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
	CSS variables.  (Bug#21638)

2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/tabulated-list-test.el: New file.
	Test bug#21639 and some basic functionality.

2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
	Check if column can be sorted before trying.  (Bug#21639)

2015-10-07  Nicolas Richard  <youngfrog@members.fsf.org>

	Add test for `self-insert-command' (bug#21633)

	* test/automated/cmds-tests.el: New file.

2015-10-07  Martin Rudalics  <rudalics@gmx.at>

	* src/window.c (resize_frame_windows): Don't set root window's
	top position when resizing horizontally.

2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/progmodes/prog-mode.el (prettify-symbols-alist):
	Document more possible values.

2015-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/textmodes/tex-mode.el: Use lexical-binding.

2015-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/indent.el (indent--default-inside-comment): New function.
	(indent-for-tab-command): Use it for `noindent' indentation.

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

	Fix bug in GC_CHECK_MARKED_OBJECTS check

	* src/alloc.c (mark_object): Fix bug in checking code.
	When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
	CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
	CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
	bucket.  The bug did not affect behavior either in the normal case
	where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
	not have an internal error that a properly-written
	CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.

2015-10-06  Tassilo Horn  <tsdh@gnu.org>

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
	Add prettified version for \\Bbb{Q}.

2015-10-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/package-test.el (package-test-install-single):
	Add a test for bug#21625.

2015-10-06  Aaron Ecay  <aaronecay@gmail.com>

	* lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
	  not a package-desc object.  Also clarify documentation.  (Bug#21625)

2015-10-06  Eli Zaretskii  <eliz@gnu.org>

	Fix display of characters adjacent to ZWJ and ZWNJ

	* src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
	characters the same as directional formatting controls.
	(bidi_level_of_next_char): Include all Bn characters in rule L1,
	as mandated by the UBA.

2015-10-06  Andreas Schwab  <schwab@suse.de>

	* src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
	number.  (Bug#21633)

2015-10-05  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/lispref/objects.texi (Window Type): Add a cross reference.

	* src/buffer.c (syms_of_buffer): Typo fix.  (Bug#21622)

2015-10-05  Eli Zaretskii  <eliz@gnu.org>

	* lisp/language/misc-lang.el (composition-function-table):
	Fix entries for Arabic and Syriac.

2015-10-05  Damien Cassou  <damien@cassou.me>

	Add first unit tests for auth-source.el

	* test/automated/auth-source-tests.el: New file.

2015-10-05  Eli Zaretskii  <eliz@gnu.org>

	Remove redundant redisplay code

	* src/xdisp.c (redisplay_internal, try_cursor_movement)
	(try_window_reusing_current_matrix, try_window_id): Remove
	redundant restrictions on redisplay optimizations based on the
	frame's 'redisplay' flag.  See
	http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
	discussions.

2015-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/xdisp.c (windows_or_buffers_changed): Improve docstring.

2015-10-04  Xue Fuqiao  <xfq.free@gmail.com>

	Update tutorials/TUTORIAL.cn

	* etc/tutorials/TUTORIAL.cn: Improve translation.

2015-10-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/macfont.m (macfont_encode_char, syms_of_macfont):
	Remove unused vars.

2015-10-04  Stefan Merten  <stefan@merten-home.de>

	Pull in version numbers from rst.el upstream release.

	* lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
	(rst-svn-timestamp, rst-official-version)
	(rst-official-cvs-rev, rst-package-emacs-version-alist):
	Update version numbers.

2015-10-04  Eli Zaretskii  <eliz@gnu.org>

	* test/automated/coding-tests.el: New file.

2015-10-04  Michael Albinus  <michael.albinus@gmx.de>

	Improve XEmacs compatibility of Tramp

	* lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
	Declare if it doesn't exist.
	(file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
	(redisplay): Make it an alias if it doesn't exist.

	* lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
	`file-remote-p' (due to XEmacs compatibility).

	* lisp/net/trampver.el (locate-dominating-file)
	(tramp-compat-replace-regexp-in-string): Autoload.
	(tramp-repository-get-version): Do not dupe byte-compiler.

2015-09-02  K. Handa  <handa@gnu.org>

	fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined

	* src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
	Adjusted for the change of type of elements in the array
	MFLTGlyphString.glyphs.

2015-10-04  Eli Zaretskii  <eliz@gnu.org>
	    Michael Heerdegen  <michael_heerdegen@web.de>

	shr: fix too long lines in rendered buffers (Bug#21012)

	* lisp/net/shr.el (shr-insert-document, shr-fill-text):
	Correct calculation of available width.
	(shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
	is nil.

2015-10-04  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Restore blank line before next section, erroneously erased
	in my previous commit

	* etc/compilation.txt (symbol ant): Add an additional trailing blank
	line to this section, so that there are two of them immediately before
	the next section.

2015-10-04  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	Support MSW filename style for ant compilation error regexp

	* etc/compilation.txt (symbol ant):
	* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
	Support MSW filename style.

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

	* nt/INSTALL: Minor spelling and quote fixes.

	* lisp/ibuffer.el: Fix docstring length (Bug#21541).

2015-10-03  Simen Heggestøyl  <simenheg@gmail.com>

	Maintain ordering of JSON object keys by default

	* lisp/json.el (json-object-type): Mention order handling in doc-string.
	(json--plist-reverse): New utility function.
	(json-read-object): Maintain ordering for alists and plists.
	(json-pretty-print): Ensure that ordering is maintained.

	* test/automated/json-tests.el (test-json-plist-reverse): New test for
	`json--plist-reverse'.
	(json-read-simple-alist): Update test to accommodate for changes in
	`json-read-object'.

	* etc/NEWS: Document the new behavior of the pretty printing functions.

2015-10-03  Andreas Schwab  <schwab@linux-m68k.org>

	* src/coding.c (complement_process_encoding_system): Revert last change.

2015-10-03  Ulf Jasper  <ulf.jasper@web.de>

	* admin/MAINTAINERS: Add entry for Ulf Jasper.

2015-10-03  Xue Fuqiao  <xfq.free@gmail.com>

	Doc fix for `defmacro'

	* doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.

2015-10-03  Andreas Schwab  <schwab@linux-m68k.org>

	More validatation of coding systems

	* src/fileio.c (Finsert_file_contents): Remove redundant
	coding-system check.
	(choose_write_coding_system): Likewise.
	* src/coding.c (complement_process_encoding_system): Check argument
	for valid coding system.

2015-10-03  Eli Zaretskii  <eliz@gnu.org>

	Avoid crashes in coding_inherit_eol_type

	* src/coding.c (coding_inherit_eol_type): Check the validity of
	the arguments.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
	(Bug#21602)

2015-10-03  Eli Zaretskii  <eliz@gnu.org>

	More validatation of coding system in 'write-region'

	* src/coding.c (choose_write_coding_system): More validation of
	coding-system from various sources.  Suggested by Andreas Schwab
	<schwab@linux-m68k.org>.  (Bug#21602)

2015-10-03  Eli Zaretskii  <eliz@gnu.org>

	Avoid crashes due to invalid coding-system

	* src/fileio.c (choose_write_coding_system)
	(Finsert_file_contents): Check validity of coding-system-for-write
	and coding-system-for-read bound by the caller.  (Bug#21602)

2015-10-03  Tassilo Horn  <tsdh@gnu.org>

	Adapt to new prettify-symbols-unprettify-at-point default

	* etc/NEWS: Mention that unprettication of symbol at point is off
	by default.

2015-10-03  Tassilo Horn  <tsdh@gnu.org>

	Revert my two recent process.c changes

	Revert "Improve last commit to process.c" and "Remove callback-handled
	channels from Available set" because they did not fix bug#21313.

	This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
	27f871907cc24f33a7d12ac3a4ab71a88f0bc554.

2015-10-02  Markus Triska  <triska@metalevel.at>

	* lisp/progmodes/prolog.el: Update and extend operator table.
	(prolog-smie-grammar): Add multifile, public etc.

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

	Allow autogen even when Git is not installed

	* autogen.sh: Test ‘git status’ before trying to use Git.

2015-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
	Adjust lto/lfrom when we have uncommitted changes.

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

	Fix problems found by clang 3.5.0

	* src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
	* src/font.c (font_parse_family_registry):
	Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.

2015-10-02  Eli Zaretskii  <eliz@gnu.org>

	* nt/INSTALL: Update instructions for running autogen.sh.

	* nt/INSTALL: Point to ezwinports for libXpm binaries.

2015-10-02  Daniel Colascione  <dancol@dancol.org>

	Fix winner in cl-lib not loaded case

	* lisp/winner.el (winner-change-fun): Don't use cl-lib functions
	without requiring CL

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

	Fix a few problems with directed quotes

	This is in response to a problem report by Kaushal Modi in:
	https://bugs.gnu.org/21588#25
	* lisp/cedet/mode-local.el (describe-mode-local-overload):
	* lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
	* lisp/info-xref.el (info-xref-check-all-custom):
	* lisp/mail/emacsbug.el (report-emacs-bug-hook):
	Prefer directed to undirected single quotes in diagnostics.

2015-10-01  Eli Zaretskii  <eliz@gnu.org>

	Revert "Attempt to fix slow redisplay caused by last changes"

	* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
	(try_cursor_movement): Don't relax requirements for redisplay
	optimizations for the selected frame.  (Bug#21597)

	This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.

2015-10-01  Eli Zaretskii  <eliz@gnu.org>

	Fix slow redisplay when daemon frame exists

	* src/xdisp.c (redisplay_internal): Don't consider daemon frames
	when looking for frames that need to be redisplayed.  (Bug#21597)

2015-10-01  Eli Zaretskii  <eliz@gnu.org>

	Attempt to fix slow redisplay caused by last changes

	* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
	(try_cursor_movement): Relax requirements for redisplay
	optimizations for the selected frame.  (Bug#21597)

2015-10-01  Stephen Leake  <stephen_leake@stephe-leake.org>

	* src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
	Improve doc string.

2015-10-01  Stephen Leake  <stephen_leake@stephe-leake.org>

	* lisp/minibuffer.el (minibuffer-completion-help):
	Set default base-size, in case completion table does not set it.

2015-10-01  Eli Zaretskii  <eliz@gnu.org>

	Fix GUD display of GDB output with non-ASCII text

	* lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
	(gdb-mi-decode): New function.
	(gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
	decode octal escapes in GDB output.  (Bug#21572)

2015-10-01  Eli Zaretskii  <eliz@gnu.org>

	* nt/INSTALL: Document where to find XPM support files.

2015-10-01  Tassilo Horn  <tsdh@gnu.org>

	Un- and re-prettification are not exclusive

	* lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
	Re-apply prettification to previous symbol also when unprettifying
	next one.

2015-10-01  Tassilo Horn  <tsdh@gnu.org>

	Don't unprettify symbol at point by default

	* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
	Default to disabled (nil).

2015-09-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
	Support unprettifying when point is after a symbol.

	* etc/NEWS: Document `prettify-symbols-unprettify-at-point'.

2015-09-30  Eli Zaretskii  <eliz@gnu.org>

	Avoid assertion violations in push_prefix_prop

	* src/xdisp.c (push_prefix_prop): Avoid assertion violations when
	a line that has a line-prefix defined starts with an image.  (Bug#21428)

2015-09-30  Eli Zaretskii  <eliz@gnu.org>

	Disable some display optimizations when frames need redisplay

	These optimizations were previously disabled by the
	windows_or_buffers_changed flag, which now is not set
	when only some frames need to be redrawn.
	* src/xdisp.c (redisplay_internal): Redisplay any frame whose
	'redisplay' flag is set.
	(try_window_reusing_current_matrix, try_window_id)
	(try_cursor_movement): Disable these optimizations when the
	frame's 'redisplay' flag is set.

2015-09-30  Tassilo Horn  <tsdh@gnu.org>

	Don't modify buffer by unprettification

	* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
	(prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
	modify buffer when setting/removing custom prettify-symbols-start/end
	text properties.  Add them to font-lock-extra-managed-props, too.

2015-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	Try to avoid redisplaying all frames when creating a new one

	* src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
	* src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
	(Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
	* src/frame.c (x_set_screen_gamma): Set the specific frame's
	`redisplay' bit rather than windows_or_buffers_changed.

	* src/window.c (apply_window_adjustment): Remove redundant setting of
	windows_or_buffers_changed.

	* src/xdisp.c (redisplay_internal): Set the specific frame's
	`redisplay' bit rather than update_mode_lines in response to
	cursor_type_changed.
	(syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
	(AINC): Adjust accordingly.

2015-09-30  Tassilo Horn  <tsdh@gnu.org>

	Implement unprettification of symbol at point

	* lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
	symbol at point.
	(prettify-symbols--current-symbol-bounds): New variable.
	(prettify-symbols--post-command-hook): New function.
	(prettify-symbols-unprettify-at-point): New defcustom.
	(prettify-symbols-mode): Use it.
	(prettify-symbols--compose-symbol): Use them.

2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/macfont.m (mac_font_descriptor_supports_languages):
	Regard "zh" as synonym of "zh-Hans".

2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Work around crash when displaying etc/HELLO on OS X 10.11

	* src/macfont.m (mac_font_get_weight)
	(mac_font_descriptor_get_adjusted_weight): New functions.
	(macfont_store_descriptor_attributes): Adjust weight.

2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.

2015-09-30  Nicolas Petton  <nicolas@petton.fr>

	* lisp/arc-mode.el (archive-rar-summarize): Better alignment
	of the columns.

2015-09-30  Nicolas Petton  <nicolas@petton.fr>

	Use unar and lsar to handle RAR archives in arc-mode

	* lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
	on unar and lsar instead of unrar-free for RAR archives (bug#17663).

2015-09-30  Wieland Hoffmann  <themineo@gmail.com>  (tiny change)

	Clarify :create in auth-source's docs

	* lisp/gnus/auth-source.el (auth-source-search):
	Clarify :create's meaning.

2015-09-30  Phil Sainty  <psainty@orcon.net.nz>

	Avoid empty -path arguments in rgrep

	* lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
	the list produced according to grep-find-ignored-directories,
	before passing it to Find/Grep invocation.  (Bug#21548)

2015-09-30  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of pos-visible-in-window-p

	* src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
	t for POS.  See
	https://lists.gnu.org/r/emacs-devel/2015-09/msg01040.html
	for the original report.

	* doc/lispref/windows.texi (Window Start and End): Clarify the
	meaning of t for the POSITION argument of pos-visible-in-window-p.

2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/prolog.el: Fix various indentation cases.
	(prolog-operator-chars): New const (add \\).
	(prolog-smie-forward-token, prolog-smie-backward-token): Use it.
	(prolog-smie-rules): Add rules according to bug#21526.

2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
	(sh-indent-after-continuation): Add new value `always' (bug#17620)
	(sh-smie-sh-rules): Remove old handling of continued lines.
	(sh-smie--indent-continuation): New function.
	(sh-set-shell): Use it.

2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
	Remove redundant :group keyword args.
	(octave-begin-keywords, octave-else-keywords, octave-end-keywords):
	Remove variables.
	(octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
	turn them into compile-time variables.
	Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
	Add rules for break, continue, return, global, and persistent.
	Refine the rule for "until".
	(octave-smie--funcall-p, octave-smie--end-index-p)
	(octave-smie--in-parens-p): New functions.
	(octave-smie-backward-token, octave-smie-forward-token): Use them to
	distinguish the "enumeration" function and the "end" index from
	their corresponding keywords.
	(octave--block-offset-keywords): New constant.
	(octave-smie-rules): Use it.  Adjust rules for new global/persistent
	parsing.
	(octave-reserved-words): Redefine using octave-smie-grammar.
	(octave-font-lock-keywords): Use octave-smie--funcall-p and
	octave-smie--end-index-p.

2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.

2015-09-29  Eli Zaretskii  <eliz@gnu.org>

	* nt/INSTALL: Remove references to GTK site.
	That site no longer offers Windows downloads.

2015-09-29  Eli Zaretskii  <eliz@gnu.org>

	* nt/INSTALL: Add instructions for installing Git.

2015-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
	use colors.  Suggested by Eli Zaretskii.

2015-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/net/shr.el (shr-colorize-region): Don't do it on a system
	not supporting 256 above colors (bug#21557).

2015-09-28  Dmitry Gutov  <dgutov@yandex.ru>

	Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"

	This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.

2015-09-28  Nicolas Petton  <nicolas@petton.fr>

	Add documentation for seq.el

	* doc/lispref/sequences.texi: Add documentation regarding extending
	seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
	seq-do and seq-map.

2015-09-28  Nicolas Petton  <nicolas@petton.fr>

	Better documentation for seq-some

	* doc/lispref/sequences.texi:
	* lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
	guarantee that the returned value is the first non-nil value that
	resulted from applying the predicate.

2015-09-28  Nicolas Petton  <nicolas@petton.fr>

	* lisp/arc-mode.el: Sharp-quote function arguments.

2015-09-28  Eli Zaretskii  <eliz@gnu.org>

	Avoid redisplay error in ediff-regions-wordwise

	* lisp/vc/ediff-util.el
	(ediff-clone-buffer-for-region-comparison): Make sure the mark is
	set before activating it.  (Bug#21567)

2015-09-28  Eli Zaretskii  <eliz@gnu.org>

	Another attempt to fix crashes due to prematurely freed faces

	* src/xdisp.c (redisplay_internal): Inhibit freeing of realized
	faces for as long as we might have desired matrices that reference
	those faces.  (Bug#21428)

2015-09-28  Tassilo Horn  <tsdh@gnu.org>

	Add auctex development list email address

2015-09-28  Tassilo Horn  <tsdh@gnu.org>

	* admin/MAINTAINERS: Add entries for AUCTeX team and myself.

2015-09-28  Arash Esbati  <esbati@gmx.de>  (tiny change)

	Improve wrapfig package support and caption parsing

	* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
	Correct description string and add wraptable environment.
	(reftex-default-context-regexps): Improve caption regexp.

2015-09-28  Anders Lindgren  <andlind@gmail.com>

	Respect value of frame_resize_pixelwise when handling fullscreen state

	* src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
	setting size increments.

2015-09-27  Michael Albinus  <michael.albinus@gmx.de>

	* src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.

2015-09-27  Simen Heggestøyl  <simenheg@gmail.com>

	Add prettify-symbols-alist for js-mode

	* lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
	(js-mode): Use it.

2015-09-27  Eli Zaretskii  <eliz@gnu.org>

	* nt/subdirs.el: File deleted (no longer used).

2015-09-26  Alan Mackenzie  <acm@muc.de>

	Fix follow-scroll-up/down, making them replacements for scroll-up/down

	1. Allow point to move between follow windows in scroll operations.
	2. Fix bug where `right-char' just before EOB caused spurious scrolling,
	when EOB was isolated in the last follow window.

	* lisp/follow.el (follow-fixed-window): New variable.
	(follow-get-scrolled-point): New function.
	(follow-scrol-up, follow-scroll-down): Add autoload cookies.
	Reformulate the code.  Put `scroll-command' properties on the functions.
	Correct minor errors in ...-down's doc string and code.
	(follow-calc-win-end): Amend incomplete doc string.  Use
	`pos-visible-in-window-p' to check whether EOB is in the window.
	(follow-estimate-first-window-start): Correct an off-by-1 error.
	(follow-adjust-window): Add handling for explicit scrolling operations.

2015-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	* admin/MAINTAINERS: Add self, plus list some more files
	sans maintainers.

2015-09-26  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)

	New DWIM commands for changing letter-case

	* lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
	New functions.  (Bug#21501)

2015-09-26  Eli Zaretskii  <eliz@gnu.org>

	* etc/PROBLEMS: Document problems with pasting on MS-Windows.

2015-09-26  Eli Zaretskii  <eliz@gnu.org>

	Make face realization be more frame-specific

	* src/frame.h (struct f): New flag face_change.
	* src/xfaces.c (Finternal_make_lisp_face)
	(Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
	(update_face_from_frame_parameter): Set the face_change flag only
	for the frame whose faces are affected.
	* src/xdisp.c (init_iterator): If a frame's face_change flag is
	set, free faces only on that frame.
	(redisplay_internal): Disable "display optimization 1" if the
	frame's face_change flag is set.
	(redisplay_window): Don't allow skipping a window's redisplay if
	its frame's face_change flag is set.
	* src/frame.c (x_set_screen_gamma): Instead of calling
	Fclear_face_cache, call clear_face_cache and set
	windows_or_buffers_changed to a non-zero value.  This avoids
	setting the global face_change flag that triggers face realization
	on all frames and thorough redisplay of all of them.

	* lisp/term/tty-colors.el (tty-register-default-colors): Don't
	clear face cache if the selected frame is a GUI frame.

2015-09-26  Tassilo Horn  <tsdh@gnu.org>

	Remove font-latex specific check

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
	Use syntax-ppss data to identify verbatim contents.

2015-09-25  Tassilo Horn  <tsdh@gnu.org>

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
	Fix some false negatives.

2015-09-25  Eli Zaretskii  <eliz@gnu.org>

	Reorder Windows version in Emacs manifests

	* nt/emacs-x64.manifest:
	* nt/emacs-x86.manifest: Reorder Windows version from lowest to
	highest.

2015-09-25  Eli Zaretskii  <eliz@gnu.org>

	Update Emacs manifest files for Windows 10

	* nt/emacs-x86.manifest:
	* nt/emacs-x64.manifest: Declare compatibility with Windows 10.

2015-09-25  Eli Zaretskii  <eliz@gnu.org>

	Avoid non-ASCII decoding errors in C src files

	* src/nsterm.m:
	* src/lisp.h:
	* src/editfns.c:
	* src/doprnt.c: Add 'coding' cookies -- these files include
	Unicode characters and should be decoded as UTF-8.

2015-09-25  Alan Mackenzie  <acm@muc.de>

	Resurrect edebug-set-initial-mode, repurposing it to set the global mode

	* lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
	amend to match current modes and functions.
	(edebug-set-initial-mode): Uncomment and change from setting a defun's
	`edebug-initial-mode''s property to setting the variable
	`edebug-initial-mode'.
	(top level): Create new binding C-x C-a C-m for
	`edebug-set-initial-mode'.

	* doc/lispref/edebug.texi (Edebug Execution Modes): Document
	`edebug-set-initial-mode' and its new key binding.
	(Edebug Options): Mention the new command in the pertinent place.

	* etc/NEWS: Write entry for this change.

2015-09-25  Eli Zaretskii  <eliz@gnu.org>

	Avoid non-ASCII decoding errors in Texinfo files

	* doc/misc/tramp.texi:
	* doc/lispref/strings.texi:
	* doc/lispref/positions.texi:
	* doc/lispref/help.texi:
	* doc/lispref/functions.texi:
	* doc/lispintro/emacs-lisp-intro.texi:
	* doc/emacs/text.texi:
	* doc/emacs/modes.texi:
	* doc/emacs/mini.texi:
	* doc/emacs/display.texi:
	* doc/emacs/custom.texi:
	* doc/emacs/basic.texi: Add 'coding' cookies -- these files use
	Unicode characters and should be decoded as UTF-8.
	* doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
	apostrophe unnecessarily.

2015-09-25  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib

	This incorporates:
	2015-09-25 c-ctype: rewrite to use inline functions
	2015-09-24 maint: add coding cookies to non-ASCII sources
	2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
	* build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
	* lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
	* lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
	* lib/set-permissions.c:
	Copy from gnulib.

2015-09-24  Paul Eggert  <eggert@cs.ucla.edu>

	Update publicsuffix.txt from upstream

	* etc/publicsuffix.txt: Update from
	https://publicsuffix.org/list/effective_tld_names.dat
	dated 2015-09-24 17:29:21 UTC.

2015-09-24  Eli Zaretskii  <eliz@gnu.org>

	Prevent timers from messing up TTY menus

	* src/term.c (tty_menu_activate): Inhibit redisplay for as long as
	the TTY menu is open.  (Bug#21530)

2015-09-24  Paul Eggert  <eggert@cs.ucla.edu>

	No need to mention K&R C in c-mode intro

2015-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix recent bootstrap problems

	* src/syntax.c (parse_sexp_propertize): Fix last fix.
	* lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
	* lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.

2015-09-24  Michael Albinus  <michael.albinus@gmx.de>

	* src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.

2015-09-23  Ivan Andrus  <darthandrus@gmail.com>

	Properly quote nested xml comments (Bug#6267) (Bug#20001)

	* lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
	(nxml-mode): Set comment-quote-nested-function.

2015-09-23  Ivan Andrus  <darthandrus@gmail.com>

	Allow major-modes full control over quoting nested comments

	* lisp/newcomment.el (comment-quote-nested-function): New variable.
	(comment-quote-nested-default): New function.
	(comment-quote-nested): Use `comment-quote-nested-function'.

2015-09-23  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer CALLN in a few more places

	* src/macfont.m (macfont_set_family_cache):
	* src/nsterm.m (append2):
	* src/xterm.c (x_cr_export_frames):
	Prefer CALLN to allocating the arg arrays by hand.

2015-09-23  Michael Albinus  <michael.albinus@gmx.de>

	Adapt file-notify-test02-events test case

	* test/automated/file-notify-tests.el (file-notify-test02-events):
	Create a new watch for every test.

2015-09-23  Michael Albinus  <michael.albinus@gmx.de>

	Continue gfilenotify.c implementation of missing parts

	* lisp/filenotify.el (file-notify-add-watch): Append `flags' to
	`gfile-add-watch' call.
	(file-notify-rm-watch): Modify `file-notify-descriptors' only
	after calling the low level functions.

	* src/gfilenotify.c (dir_monitor_callback): Check, whether
	event_type is expected.
	(Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
	(Fgfile_rm_watch): Fix typo.
	(syms_of_gfilenotify): Declare Qchange and Qattribute_change.

2015-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/syntax.c (parse_sexp_propertize): Handle spurious
	e_property_truncated flag.
	(update_syntax_table_forward): Remove invalid assertion.

2015-09-23  Eli Zaretskii  <eliz@gnu.org>

	* src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
	space display spec on text-mode terminals, by calling
	PRODUCE_GLYPHS instead of x_produce_glyphs.  Remove the
	HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
	test for a GUI frame.

2015-09-23  Oleh Krehel  <ohwoeowho@gmail.com>

	Move let-when-compile to lisp-mode.el

	This fixes the bootstrapping problem of `let-when-compile' using
	`cl-progv' while being in subr.el (i.e. before cl stuff was loaded).

2015-09-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	* lisp/url/url-http.el (url-http-parse-headers): Do not
	automatically include Authorization header in redirect.
	(Bug#21350)

2015-09-22  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of ':relative-width'

	* doc/lispref/display.texi (Specified Space): Document that
	':relative-width' is only supported on GUI frames.

2015-09-22  Eli Zaretskii  <eliz@gnu.org>

	Fix 'current-column' in presence of :relative-width

	* src/indent.c (check_display_width): Support ':relative-width'
	in a display spec that specifies a stretch glyph.  (Bug#21533)

2015-09-22  Ken Manheimer  <ken.manheimer@gmail.com>

	Reformat the pdbtrack remote-file fix ChangeLog.2 entry

	... to conform better to CONTRIBUTE guidelines.

2015-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/prolog.el: Fix indentation of empty line

	* lisp/emacs-lisp/smie.el (smie-rules-function): Document new
	`empty-line-token' element.
	(smie-indent-empty-line): New function.
	(smie-indent-functions): Add it.

	* lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
	behavior and use the new `empty-line-token' element (bug#21526).
	(prolog-mode-variables): Fix comment-start-skip setting to match
	comment-start.

	* test/indent/prolog.prolog: Add nested indentation tests.

	* lisp/newcomment.el (comment-normalize-vars): Fix default value of
	comment-start-skip not to misuse submatch 1.

2015-09-22  Alan Mackenzie  <acm@muc.de>

	Make description of `edebug-initial-mode' user friendly

	Fixes bug#21365.

	* doc/lispref/edebug.texi (Edebug Execution Modes): Change the
	description of `edebug-initial-mode' from that of its implementation
	to that of its visual effect and use.  Move the paragraph higher up.

2015-09-22  Eli Zaretskii  <eliz@gnu.org>

	lisp/progmodes/gud.el (gud-format-command): Fix last commit

	* lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
	functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.

2015-09-22  Tassilo Horn  <tsdh@gnu.org>

	Improve last commit to process.c

2015-09-22  Michael Albinus  <michael.albinus@gmx.de>

	Implement gfile-valid-p

	* lisp/filenotify.el (file-notify-callback): Fix typo.
	(gfile-valid-p): Remove defalias.

	* src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
	the file or directory to be watched is deleted.
	(Fgfile_add_watch): Make watch_object a triple.
	(Fgfile_rm_watch): Check, whether watch is canceled already.
	(Fgfile_valid_p): New defun.
	(syms_of_gfilenotify): Declare Sgfile_valid_p.

2015-09-22  Tassilo Horn  <tsdh@gnu.org>

	Remove callback-handled channels from Available set

	* src/process.c (wait_reading_process_output): Remove channel from
	Available set if it is handled by a callback, e.g., dbus or
	inotify (bug#21313).

2015-09-21  Mark Oteiza  <mvoteiza@udel.edu>

	Use lunate epsilon for TeX \epsilon

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
	Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
	\epsilon to use GREEK LUNATE EPSILON SYMBOL

2015-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/prolog.el: Fix nested electric if-then-else

	* lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
	rather than outermost paren (bug#21526).

2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>

	Improve git diff hunk headers for .el, .texi

	Problem reported by Alan Mackenzie in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00826.html
	* .gitattributes (*.el, *.texi): New patterns.
	* autogen.sh: Configure diff.elisp.xfuncname and
	diff.texinfo.xfuncname if using Git.

2015-09-21  Eli Zaretskii  <eliz@gnu.org>

	Don't rely on defaults in decoding UTF-8 encoded Lisp files

	* lisp/replace.el:
	* lisp/textmodes/rst.el:
	* lisp/whitespace.el: Add an explicit UTF-8 encoding tag.

2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>

	Clarify or replace a few \u escapes

	* doc/lispref/nonascii.texi (Character Properties)
	More-detailed commentary for \u escapes.
	* lisp/progmodes/python.el (python--prettify-symbols-alist):
	* lisp/replace.el (query-replace-from-to-separator):
	* lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
	(rst-mode-syntax-table):
	* lisp/whitespace.el (whitespace-display-mappings):
	Prefer actual character to \u escape when this makes the code
	easier to follow in the usual case where Unicode chars can be
	displayed.

2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify GCC -Wmaybe-uninitialized in xdisp.c

	* src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
	than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
	charpos.  The loop should always execute at least once anyway.

2015-09-21  Tassilo Horn  <tsdh@gnu.org>

	Signal error on invalid regexp

	* lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
	Signal an error when the user tries searching with a regexp
	matching the empty string.

2015-09-21  Eli Zaretskii  <eliz@gnu.org>

	Another fix of file-notify-tests for w32notify

	* test/automated/file-notify-tests.el (file-notify-test02-events):
	Further adaptation for w32notify: reduce the number of expected
	'changed' events.  (Bug#21435)

2015-09-21  Michael Albinus  <michael.albinus@gmx.de>

	Adapt tests and manual for w32notify

	* doc/lispref/os.texi (File Notifications): w32notify does not
	send `attribute-changed' events.

	* test/automated/file-notify-tests.el (file-notify--test-with-events):
	Simplify parameters.  Adapt all callees.
	(file-notify-test02-events): w32notify does not send
	`attribute-changed' events.
	(file-notify-test04-file-validity, file-notify-test05-dir-validity):
	Do not skip in case of w32notify.  Simply ignore this part of the test.

2015-09-21  Dima Kogan  <dima@secretsauce.net>

	Fix setting breakpoints when remote-debugging

	* lisp/progmodes/gud.el (gud-format-command): Send localized file
	names to the debugger running on the remote.  (Bug#13304)

2015-09-21  Nicolas Petton  <nicolas@petton.fr>

	Better docstring and parameter name for seq-find

	* lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
	the parameter `sentinel' to `default'.

	* doc/lispref/sequences.texi (Sequence Functions): Update the
	  documentation for `seq-find' accordingly.

2015-09-21  Eli Zaretskii  <eliz@gnu.org>

	Avoid infinite recursion while displaying box face

	* src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
	the previous string/buffer character position under bidi
	iteration.  (Bug#21428)

2015-09-21  Anders Lindgren  <andlind@gmail.com>

	Keep upper edge unchanged when changing size of NS frame

	* src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
	(Bug#21415).

2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/prolog.el: Improve handling of if/then/else.
	(prolog-smie-rules): Accommodate standard if/then/else special
	indentation.
	(prolog-mode): Add . to electric-indent-chars.
	(prolog-electric--if-then-else): Re-indent the line before adding space
	after the new char (bug#21526).

2015-09-20  Mark Oteiza  <mvoteiza@udel.edu>

	Add prettify symbols to python-mode

	* lisp/progmodes/python.el (python-prettify-symbols-alist):
	New variable.
	(python-mode): Use it

2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.

2015-09-20  Jostein Kjønigsen  <jostein@secure.kjonigsen.net>  (tiny change)

	(compilation-error-regexp-alist-alist): Tone down guile-file

	* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
	Make guile-file a bit less enthusiastic (bug#21496).

2015-09-20  Drew Csillag  <drew@thecsillags.com>

	* lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
	Fix m4_* highlighting.

	* lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
	of commands when they have a "m4_" prefix.

2015-09-20  Paul Eggert  <eggert@cs.ucla.edu>

	'.' -> `.' in doc string

	* lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
	individual chars with grave quotes instead of straight quotes, as
	this works better when they are translated to curved quotes.

2015-09-20  Michael Albinus  <michael.albinus@gmx.de>

	Improve file notifications, especially for Tramp

	* doc/lispref/files.texi (Magic File Names):
	Mention `file-notify-valid-p'.

	* doc/lispref/os.texi (File Notifications):
	Describe `file-notify-valid-p'.

	* etc/NEWS: Add `file-notify-valid-p'.

	* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
	Improve implementation.
	(tramp-gvfs-monitor-file-process-filter): Rename from
	`tramp-gvfs-file-gvfs-monitor-file-process-filter'.  Delete
	process if appropriate.

	* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
	Improve implementation.
	(tramp-sh-gvfs-monitor-dir-process-filter): Rename from
	`tramp-sh-file-gvfs-monitor-dir-process-filter'.  Delete process
	if appropriate.
	(tramp-sh-inotifywait-process-filter): Rename from
	`tramp-sh-file-inotifywait-process-filter'.  Delete process if
	appropriate.

	* lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
	Use `delete-process'.
	(tramp-handle-file-notify-valid-p): Check also, that file or
	directory to be watched still exists.

	* test/automated/file-notify-tests.el (file-notify--test-timeout):
	New defun.  Use it at all places a timeout is needed.
	(file-notify--test-cleanup): Delete directories recursively.
	Cleanup also Tramp connections.
	(file-notify-test02-events): Add tests for `attribute-change'.
	(file-notify-test04-file-validity, file-notify-test05-dir-validity):
	Add tests for `file-notify-rm-watch'.

2015-09-20  Paul Eggert  <eggert@cs.ucla.edu>

	Use %s to format strings instead of splicing them

	If FOO might contain quotes that are part of a file or variable
	name, the quotes should not be translated when showing FOO’s name
	in a diagnostic.  So, for example, (message (concat (FOO ": bar")))
	is not quite right, as it would translate FOO’s quotes.
	Change it to (message "%s: bar" FOO) instead.
	* lisp/allout.el (allout-process-exposed):
	* lisp/calc/calc-ext.el (calc-do-prefix-help):
	* lisp/calc/calc-store.el (calc-store-into):
	* lisp/calendar/todo-mode.el (todo-category-completions):
	* lisp/cedet/semantic/complete.el (semantic-completion-message):
	* lisp/org/ob-latex.el (convert-pdf):
	* lisp/org/org-crypt.el (org-crypt-check-auto-save):
	* lisp/org/ox-latex.el (org-latex-compile):
	* lisp/org/ox-man.el (org-man-compile):
	* lisp/org/ox-odt.el (org-odt--export-wrap):
	* lisp/org/ox-texinfo.el (org-texinfo-compile):
	* lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
	* lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
	(verilog-signals-combine-bus, verilog-read-defines)
	(verilog-getopt-file, verilog-expand-dirnames)
	(verilog-modi-lookup, verilog-modi-modport-lookup-one):
	* lisp/term/ns-win.el (ns-spi-service-call):
	Use %s to avoid translating quotes of file names etc. in diagnostics.

2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/js.el (js--syntax-begin-function): Remove.
	(js-mode): Don't set syntax-begin-function.

2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/font-lock.el (font-lock-compile-keywords): Don't assume
	syntax-begin-function is a symbol.

2015-09-20  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of 'run-at-time'
	* lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
	In particular, don't refer to 'diary-entry-time', because it is
	unavailable until diary-lib is loaded.  Also, refer to
	'timer-duration-words', not 'timer-duration', as the latter's doc
	string says nothing about the accepted strings.

2015-09-19  Jay Belanger  <jay.p.belanger@gmail.com>

	* lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.

2015-09-19  Ken Manheimer  <ken.manheimer@gmail.com>

	Repair pdbtrack remote file tracking
	* lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
	Rectify pdbtrack so it follows transitions from one remote source
	file to the next.

2015-09-19  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.

2015-09-19  Eli Zaretskii  <eliz@gnu.org>

	Adapt vc-src to the old-new vc-checkin API
	* lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
	additional optional parameter.

2015-09-19  Simen Heggestøyl  <simenheg@gmail.com>

	Add overflow module to CSS property list
	* lisp/textmodes/css-mode.el (css-property-ids): Add properties
	from CSS Overflow Module Level 3.

2015-09-19  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of "C-u C-x v v"
	* doc/emacs/maintaining.texi (Advanced C-x v v): Make the
	documentation of "C-u C-x v v" match what the code does.

	Resurrect the ability to specify a revision in vc-next-action
	* lisp/vc/vc-bzr.el (vc-bzr-checkin):
	* lisp/vc/vc-dav.el (vc-dav-checkin):
	* lisp/vc/vc-git.el (vc-git-checkin):
	* lisp/vc/vc-hg.el (vc-hg-checkin):
	* lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
	an additional optional argument, the revision to checkin.
	* lisp/vc/vc-sccs.el (vc-sccs-checkin):
	* lisp/vc/vc-cvs.el (vc-cvs-checkin):
	* lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
	a revision to checkin.
	* lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
	revision when checking in files.
	See https://lists.gnu.org/r/emacs-devel/2015-09/msg00688.html
	for the details.

2015-09-18  Wilson Snyder  <wsnyder@wsnyder.org>

	* lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
	(verilog-decls-princ, verilog-modport-princ)
	(verilog-modi-modport-lookup-one): Fix checkdoc warnings.

2015-09-17  Jay Belanger  <jay.p.belanger@gmail.com>

	Fix the routine for help on Calc's prefixes
	* lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
	(calc-do-prefix-help): Use `read-char' to determine the next Calc
	command.

2015-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
	(font-lock-fontify-block): Don't let-bind it.
	(font-lock-compile-keywords): Don't use it.
	(font-lock-set-defaults): Don't set it.  Allow the variable alist to
	start one slot earlier, instead.
	* lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
	Don't declare.
	(syntax-ppss): Don't use it either.
	* lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
	from docstring.
	* doc/emacs/display.texi (Font Lock): Don't mention
	font-lock-beginning-of-syntax-function.
	* doc/lispref/modes.texi (Font Lock Basics): Update description of
	font-lock-defaults.
	(Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
	* lisp/loadhist.el (unload-feature-special-hooks):
	Remove font-lock-beginning-of-syntax-function.
	* lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
	* lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
	font-lock-beginning-of-syntax-function.

2015-09-17  Paul Eggert  <eggert@cs.ucla.edu>

	Backslash cleanup in Elisp source files
	This patch should not change behavior.  It typically omits backslashes
	where they are redundant (e.g., in the string literal "^\$").
	In a few places, insert backslashes where they make regular
	expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
	"^\\*", which has the same effect as a regular expression.
	Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
	and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
	RCS IDs, as that makes it clearer that the backslash is intended.

	Some more minor backslash fixes
	* test/automated/compile-tests.el (compile-tests--test-regexps-data):
	* test/automated/info-xref.el (info-xref-test-write-file):
	Double backslashes in strings.

	Fix several backslash typos in Elisp strings
	* lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
	(todo-find-filtered-items-file, todo-reset-nondiary-marker)
	(todo-reset-done-string, todo-reset-comment-string)
	(todo-reset-highlight-item):
	* lisp/erc/erc-networks.el (erc-networks-alist):
	* lisp/gnus/gnus-art.el (gnus-button-handle-library):
	* lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
	* lisp/gnus/nntp.el (nntp-via-shell-prompt)
	(nntp-telnet-shell-prompt):
	* lisp/gnus/spam-report.el (spam-report-gmane-regex):
	* lisp/image-dired.el (image-dired-rotate-original):
	(image-dired-get-exif-file-name):
	* lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
	* lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
	* lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
	* lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
	* lisp/net/shr-color.el (shr-color->hexadecimal):
	* lisp/org/org-bibtex.el (org-bibtex-fields):
	* lisp/org/org-docview.el (org-docview-export):
	* lisp/org/org-entities.el (org-entities):
	* lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
	* lisp/progmodes/cperl-mode.el (cperl-indent-exp):
	* lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
	(ebnf-style-database):
	* lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
	* lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
	* lisp/progmodes/sql.el (sql-product-alist):
	* lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
	(verilog-error-font-lock-keywords)
	(verilog-assignment-operator-re):
	* lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
	* lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
	* lisp/vc/add-log.el (change-log-version-number-regexp-list):
	Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
	For example, to get the regular expression ‘\.’ use the string
	literal "\\.", not "\." (which is equivalent to ".").
	* lisp/emulation/viper-util.el (viper-glob-unix-files):
	Remove stray ‘\j’ from string.
	* lisp/gnus/nntp.el (nntp-via-shell-prompt)
	(nntp-telnet-shell-prompt):
	Treat > like $ when matching a shell prompt.
	* lisp/progmodes/make-mode.el (makefile-browse):
	Properly quote a diagnostic.

	Fix minor quoting problems in diagnostics
	* lisp/tutorial.el (tutorial--describe-nonstandard-key):
	* lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
	Follow text-quoting-style in diagnostic, and quote a file name.

2015-09-17  Eli Zaretskii  <eliz@gnu.org>

	* doc/lispref/frames.texi (Cursor Parameters):
	Document 'x-stretch-cursor'.

2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>

	Omit unnecessary \ before paren in C docstrings
	Although \( is needed in docstrings in Elisp code, it is not needed in
	docstrings in C code, since C function definitions do not start with
	a parenthesis.  The backslashes made the docstrings a bit harder to
	read and to format in columns.  Also, some C docstrings had ( in
	column 1 and this did not appear to be causing any problems.  So,
	simplify C docstrings by replacing \( with ( and \) with ).

	A few more minor quoting fixes in a script and a text file

	Minor quoting fixes in scripts and doc
	Prefer straight quotes in random script files, as they are not
	converted.  Prefer grave quotes in a couple of places in the manual
	that were missed earlier, as these quotes are converted.

	Minor backslash fixes in manuals and scripts
	* Makefile.in (install-arch-indep):
	* admin/charsets/compact.awk:
	* admin/charsets/gb180302.awk (gb_to_index):
	* admin/charsets/gb180304.awk (gb_to_index):
	Avoid undefined behavior in Awk regular expression backslashes.
	* doc/misc/efaq.texi (Matching parentheses):
	Omit unnecessary backslashes.
	* doc/misc/gnus-faq.texi (FAQ 5-8):
	Avoid undefined behavior in suggested sed backslash usage.

	Add -Wswitch to --enable-gcc-warnings
	Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
	* configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
	* lib-src/etags.c (main, consider_token, C_entries):
	* src/coding.c (encode_invocation_designation):
	* src/data.c (Ftype_of):
	* src/eval.c (Fdefvaralias, default_toplevel_binding)
	(Fbacktrace__locals, mark_specpdl):
	* src/lisp.h (record_xmalloc):
	* src/syntax.c (scan_lists, scan_sexps_forward):
	* src/window.c (window_relative_x_coord):
	* src/xdisp.c (push_it, pop_it):
	* src/xterm.c (xg_scroll_callback, x_check_fullscreen):
	Error out or do nothing (as appropriate) if a switch statement
	with an enum value does not cover all of the enum.
	* src/dispextern.h (struct iterator_stack_entry.u.comp):
	Remove unused member discovered by using -Wswitch.
	* src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
	* src/vm-limit.c (check_memory_limits):
	Simplify warning-diagnostic computation by using a table.

	etags ‘fatal’ function is now printf-like
	* lib-src/etags.c (fatal): Now printf-like.  All callers changed.
	Also, now static; not clear why it needed to be extern.
	(verror): New function, with most of the old contents of ‘error’.
	(fatal, error): Use it.

2015-09-16  Eli Zaretskii  <eliz@gnu.org>

	More adaptations in file-notify-tests.el
	* test/automated/file-notify-tests.el
	(file-notify-test05-dir-validity): Skip for w32notify in
	batch-mode.  (Bug#21432)

2015-09-16  Michael Albinus  <michael.albinus@gmx.de>

	Adapt test in file-notify-tests.el
	* test/automated/file-notify-tests.el
	(file-notify-test04-file-validity): Skip for w32notify in
	batch-mode.  Add test lost last commit.

2015-09-16  Dima Kogan  <dima@secretsauce.net>

	winner no longer holds on to dead frames
	* lisp/winner.el (winner-change-fun): Cull dead frames.
	This prevents a potentially massive memory leak.  See:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00619.html

2015-09-16  Michael Albinus  <michael.albinus@gmx.de>

	Use common report_file_notify_error function
	* src/fileio.c (report_file_notify_error): New function.
	* src/inotify.c (report_inotify_error): Remove function.
	(inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
	(Finotify_rm_watch): Use report_file_notify_error.
	* src/lisp.h (report_file_notify_error): Declare external function.
	* src/w32notify.c (report_w32notify_error): Remove function.
	(Fw32notify_add_watch, Fw32notify_rm_watch):
	Use report_file_notify_error.

2015-09-16  Jay Belanger  <jay.p.belanger@gmail.com>

	Fix documentation.
	* doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
	the documentation of the root mean square.

2015-09-16  Martin Rudalics  <rudalics@gmx.at>

	Remove tool_bar_redisplayed_once and associated code.
	* src/frame.h (tool_bar_redisplayed_once): Remove slot.
	* src/frame.c (make_frame, x_set_font): Remove initialization of
	f->tool_bar_redisplayed_once.
	* src/w32fns.c (x_change_tool_bar_height):
	* src/xfns.c (x_change_tool_bar_height): Don't check for
	f->tool_bar_redisplayed_once.
	* src/xdisp.c (redisplay_internal): Remove handling of
	f->tool_bar_redisplayed_once.

2015-09-16  Eli Zaretskii  <eliz@gnu.org>

	Restore some of the quoting in the manuals
	* doc/lispref/windows.texi (Coordinates and Windows)
	(Coordinates and Windows):
	* doc/lispref/variables.texi (Lexical Binding)
	(File Local Variables):
	* doc/lispref/text.texi (Format Properties):
	* doc/lispref/symbols.texi (Symbol Components):
	* doc/lispref/strings.texi (Creating Strings):
	* doc/lispref/sequences.texi (Sequence Functions):
	* doc/lispref/searching.texi (Regexp Special, Regexp Search)
	(Search and Replace):
	* doc/lispref/processes.texi (Bindat Spec):
	* doc/lispref/os.texi (Idle Timers):
	* doc/lispref/objects.texi (Basic Char Syntax):
	* doc/lispref/numbers.texi (Float Basics, Random Numbers):
	* doc/lispref/nonascii.texi (Character Properties):
	* doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
	(Mode Line Variables):
	* doc/lispref/minibuf.texi (Text from Minibuffer):
	* doc/lispref/loading.texi (Autoload):
	* doc/lispref/keymaps.texi (Controlling Active Maps):
	* doc/lispref/frames.texi (Frame Layout, Size and Position)
	(Size Parameters, Implied Frame Resizing):
	* doc/lispref/files.texi (Changing Files, Magic File Names):
	* doc/lispref/eval.texi (Self-Evaluating Forms):
	* doc/lispref/display.texi (Progress, Abstract Display)
	(Abstract Display Example, Bidirectional Display):
	* doc/lispref/commands.texi (Event Mod):
	* doc/emacs/windows.texi (Displaying Buffers):
	* doc/emacs/trouble.texi (Bug Criteria, Checklist):
	* doc/emacs/text.texi (Enriched Text):
	* doc/emacs/programs.texi (MixedCase Words):
	* doc/emacs/picture-xtra.texi (Insert in Picture)
	(Tabs in Picture):
	* doc/emacs/misc.texi (Emacs Server, Printing):
	* doc/emacs/mini.texi (Minibuffer History):
	* doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
	(Pulling / Pushing):
	* doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
	* doc/emacs/help.texi (Help, Help Echo):
	* doc/emacs/glossary.texi (Glossary):
	* doc/emacs/frames.texi (Mouse Commands, Creating Frames)
	(Frame Commands):
	* doc/emacs/files.texi (Reverting, Saving, Directories):
	* doc/emacs/entering.texi (Exiting):
	* doc/emacs/emacs.texi (Top):
	* doc/emacs/cmdargs.texi (Window Size X, Icons X):
	* doc/emacs/anti.texi (Antinews): Restore quoting of text where
	appropriate or replace quoting with @dfn.
	* doc/misc/ediff.texi (Window and Frame Configuration):
	* doc/lispref/processes.texi (Network Feature Testing):
	* doc/lispref/display.texi (Display Margins): Quote the phrase
	after "a.k.a." where appropriate.

2015-09-16  Tassilo Horn  <tsdh@gnu.org>

	Clarify reftex-extra-bindings docs
	* lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
	* doc/misc/reftex.texi (Key Bindings): Document that the variable
	only has an effect at load-time.

2015-09-16  Daniel McClanahan  <danieldmcclanahan@gmail.com>  (tiny change)

	* lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
	search argument.  (Bug#21492) (Bug#21493)

2015-09-16  Tassilo Horn  <tsdh@gnu.org>

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
	Add pretty symbols for \qquad and \varrho.

2015-09-15  Jay Belanger  <jay.p.belanger@gmail.com>

	Add new functions for the root mean square of a (Calc) vector
	* lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
	New functions.
	* lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
	`calc-vector-rms', add autoloads for `calc-vector-rms' and
	`calcFunc-rms'.
	* lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
	`calcFunc-rms'.
	* lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
	`calc-vector-rms'.
	* doc/misc/calc.texi (Single-Variable Statistics): Document the rms
	command.

2015-09-15  Stephen Leake  <stephen_leake@stephe-leake.org>

	Add monotone EDE generic project
	* lisp/cedet/ede/generic.el (ede-enable-generic-projects):
	Add monotone generic project.

	Revert premature commit
	* doc/lispref/files.texi: Revert premature commit of change to
	file-name-all-completions.

	Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
	* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
	with cl-generic defaults.
	(elisp--xref-find-references): Add doc string.
	* test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
	tests to find bug.

	Fix bugs in eieio-oref-default related to class symbols
	* lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
	(eieio-oref-default): Handle class properly.

2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Quote “fullboth” when defining it
	* doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
	and rewrite the containing paragraph, which was awkward.  (Bug#21472).

2015-09-15  Eli Zaretskii  <eliz@gnu.org>

	Minor doc fix in emacs/ack.texi
	* doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
	first argument.

2015-09-15  Michael Albinus  <michael.albinus@gmx.de>

	Adapt tests in auto-revert-tests.el
	* test/automated/auto-revert-tests.el (auto-revert--timeout):
	Make it a defconst.
	(auto-revert--wait-for-revert): New defun.
	(auto-revert-test00-auto-revert-mode)
	(auto-revert-test01-auto-revert-tail-mode)
	(auto-revert-test02-auto-revert-mode-dired): Use it.

2015-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
	Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
	(cl-lib-fdefs): Add defgeneric.
	(cl-kw): Add all elements of eieio-kw and cl-lib-kw.
	(eieio-kw, cl-lib-kw, el-kw): Remove.

2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Quote less in manuals
	The manuals often used quotes ``...'' when it is better to use @dfn or
	@code or capitalized words or no quoting at all.  For example, there is
	no need for the `` and '' in “if a variable has one effect for
	@code{nil} values and another effect for ``non-@code{nil}'' values”.
	Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
	unnecessary quoting like this, and to use @dfn etc. instead when called
	for (Bug#21472).

2015-09-15  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/custom.el (load-theme): Only compute hash when needed.

2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings
	* src/inotify.c (report_inotify_error): Declare it _Noreturn.

2015-09-15  Michael Albinus  <michael.albinus@gmx.de>

	Improve error reports in inotify.c
	* src/inotify.c (report_inotify_error): New function.  Clone of
	report_w32notify_error.
	(inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
	(Finotify_rm_watch): Use it.

2015-09-15  Eli Zaretskii  <eliz@gnu.org>

	Fix the file-notify tests for watch validation on w32
	* test/automated/file-notify-tests.el
	(file-notify-test04-file-validity): Move the directory deletion
	out of the file-notify--test-with-events macro.
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity): Enlarge the timeout of
	read-event to 0.5, as 0.1 is borderline on w32.  (Bug#21432)

2015-09-15  Tassilo Horn  <tsdh@gnu.org>

	Use OPEN BOX instead of space for \quad.
	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
	character for \quad instead of a space.

2015-09-15  Eli Zaretskii  <eliz@gnu.org>

	Add missing *.pbm images
	* etc/images/connect.pbm: New file.
	* etc/images/custom/down-pushed.pbm: New file.
	* etc/images/custom/down.pbm: New file.
	* etc/images/custom/right-pushed.pbm: New file.
	* etc/images/custom/right.pbm: New file.
	* etc/images/describe.pbm: New file.
	* etc/images/disconnect.pbm: New file.
	* etc/images/ezimage/bits.pbm: New file.
	* etc/images/ezimage/bitsbang.pbm: New file.
	* etc/images/ezimage/box-minus.pbm: New file.
	* etc/images/ezimage/box-plus.pbm: New file.
	* etc/images/ezimage/box.pbm: New file.
	* etc/images/ezimage/checkmark.pbm: New file.
	* etc/images/ezimage/dir-minus.pbm: New file.
	* etc/images/ezimage/dir-plus.pbm: New file.
	* etc/images/ezimage/dir.pbm: New file.
	* etc/images/ezimage/doc-minus.pbm: New file.
	* etc/images/ezimage/doc-plus.pbm: New file.
	* etc/images/ezimage/doc.pbm: New file.
	* etc/images/ezimage/info.pbm: New file.
	* etc/images/ezimage/key.pbm: New file.
	* etc/images/ezimage/label.pbm: New file.
	* etc/images/ezimage/lock.pbm: New file.
	* etc/images/ezimage/mail.pbm: New file.
	* etc/images/ezimage/page-minus.pbm: New file.
	* etc/images/ezimage/page-plus.pbm: New file.
	* etc/images/ezimage/page.pbm: New file.
	* etc/images/ezimage/tag-gt.pbm: New file.
	* etc/images/ezimage/tag-minus.pbm: New file.
	* etc/images/ezimage/tag-plus.pbm: New file.
	* etc/images/ezimage/tag-type.pbm: New file.
	* etc/images/ezimage/tag-v.pbm: New file.
	* etc/images/ezimage/tag.pbm: New file.
	* etc/images/ezimage/unlock.pbm: New file.
	* etc/images/gnus/important.pbm: New file.
	* etc/images/gnus/mail-send.pbm: New file.
	* etc/images/gnus/receipt.pbm: New file.
	* etc/images/gnus/toggle-subscription.pbm: New file.
	* etc/images/gnus/unimportant.pbm: New file.
	* etc/images/gud/all.pbm: New file.
	* etc/images/gud/rcont.pbm: New file.
	* etc/images/gud/recstart.pbm: New file.
	* etc/images/gud/recstop.pbm: New file.
	* etc/images/gud/rfinish.pbm: New file.
	* etc/images/gud/rnext.pbm: New file.
	* etc/images/gud/rnexti.pbm: New file.
	* etc/images/gud/rstep.pbm: New file.
	* etc/images/gud/rstepi.pbm: New file.
	* etc/images/gud/thread.pbm: New file.
	* etc/images/lock-broken.pbm: New file.
	* etc/images/lock-ok.pbm: New file.
	* etc/images/lock.pbm: New file.
	* etc/images/mail/copy.pbm: New file.
	* etc/images/mail/forward.pbm: New file.
	* etc/images/mail/not-spam.pbm: New file.
	* etc/images/mail/outbox.pbm: New file.
	* etc/images/mail/preview.pbm: New file.
	* etc/images/mail/save-draft.pbm: New file.
	* etc/images/mh-logo.pbm: New file.
	* etc/images/mpc/add.pbm: New file.
	* etc/images/mpc/ffwd.pbm: New file.
	* etc/images/mpc/next.pbm: New file.
	* etc/images/mpc/pause.pbm: New file.
	* etc/images/mpc/play.pbm: New file.
	* etc/images/mpc/prev.pbm: New file.
	* etc/images/mpc/rewind.pbm: New file.
	* etc/images/mpc/stop.pbm: New file.
	* etc/images/redo.pbm: New file.
	* etc/images/smilies/braindamaged.pbm: New file.
	* etc/images/smilies/cry.pbm: New file.
	* etc/images/smilies/dead.pbm: New file.
	* etc/images/smilies/evil.pbm: New file.
	* etc/images/smilies/forced.pbm: New file.
	* etc/images/smilies/grin.pbm: New file.
	* etc/images/smilies/indifferent.pbm: New file.
	* etc/images/sort-ascending.pbm: New file.
	* etc/images/sort-column-ascending.pbm: New file.
	* etc/images/sort-criteria.pbm: New file.
	* etc/images/sort-descending.pbm: New file.
	* etc/images/sort-row-ascending.pbm: New file.
	* etc/images/unchecked.pbm: New file.
	* etc/images/zoom-in.pbm: New file.
	* etc/images/README: Update instructions for PBM files.

	Add separator.pbm tool-bar image
	* etc/images/separator.pbm: New file.  Having it avoids the side
	effect of changing the tool-bar height when the default font's size
	changes and XPM image support is not available, due to the SPC
	characters that are left in the Lisp string used to display the tool
	bar, because there are no images to display instead of those SPC
	characters.

	Make show-paren-match face visible on mono-color displays
	* lisp/faces.el (show-paren-match): Use the underline face for
	mono-color displays.  (Bug#21481)

2015-09-14  Paul Eggert  <eggert@cs.ucla.edu>

	Don’t double-encode non-ASCII mail clipboard
	* lisp/mail/mailclient.el (mailclient-send-it):
	Also fix the case when mailclient-place-body-on-clipboard-flag
	is non-nil.  Problem reported by Eli Zaretskii (Bug#21471#37).

2015-09-14  Michael Albinus  <michael.albinus@gmx.de>

	Adapt file-notify-tests.el test cases
	* lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
	* src/inotify.c (Finotify_valid_p): Adapt docstring.
	* test/automated/file-notify-tests.el
	(file-notify-test03-autorevert)
	(file-notify-test04-file-validity)
	(file-notify-test04-file-validity-remote)
	(file-notify-test05-dir-validity)
	(file-notify-test05-dir-validity-remote): Adapt docstring.
	(file-notify-test04-file-validity): Let events arrive before
	calling final `file-notify-valid-p'.  Do not ignore errors.
	(file-notify-test05-dir-validity): Do not manipulate
	`temporary-file-directory', it isn't necessary.  Let events arrive
	before calling final `file-notify-valid-p'.  Do not ignore errors.

2015-09-14  Paul Eggert  <eggert@cs.ucla.edu>

	Don’t double-encode non-ASCII for mail client
	* lisp/mail/mailclient.el (mailclient-encode-string-as-url):
	Use RFC 6068’s list of unreserved characters.
	(mailclient-send-it): When encoding the body as a URL,
	first decode it as per Content-Type: and Content-Transfer-Encoding:,
	as URLs must use percent-encoded UTF-8 (Bug#21471).
	* doc/misc/url.texi (mailto): Update RFC number.

2015-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.

2015-09-14  Alan Mackenzie  <acm@muc.de>

	Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
	(c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
	`cadr/car'.

2015-09-14  Eli Zaretskii  <eliz@gnu.org>

	Clarify documentation of char-table extra slots
	* doc/lispref/sequences.texi (Char-Tables): Clarify that extra
	slot numbers are zero-based.  (Bug#21467)

2015-09-14  Alan Mackenzie  <acm@muc.de>

	Elisp mode: Make font-lock and imenu handle escaped characters in symbols
	Fixes bug#21449.
	* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
	(lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
	(lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
	(lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
	Insert "\\|\\\\." into regexps which match symbols.

2015-09-14  Eli Zaretskii  <eliz@gnu.org>

	Improve the doc string of w32notify-valid-p
	* src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
	that removing a watch makes its object invalid.

2015-09-14  Tassilo Horn  <tsdh@gnu.org>

	Fix tests for file-notify-valid-p
	* test/automated/file-notify-tests.el (file-notify--test-cleanup):
	Use delete-directory to delete file-notify--test-tmpfile if it is
	a directory.  Likewise for file-notify--test-tmpfile1.
	(file-notify-test04-file-validity)
	(file-notify-test05-dir-validity): Delete the parent directory of
	the test.  Ignore errors when cleaning up after the test.

2015-09-14  Eli Zaretskii  <eliz@gnu.org>

	Report file-notify-error in w32notify.c
	* src/w32notify.c (report_w32notify_error): New function.
	(Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
	errors, instead of calling report_file_error.  (Bug#21432)

	Implement w32notify-valid-p
	* src/w32notify.c (Fw32notify_valid_p): New function.  (Bug#21432)
	* lisp/filenotify.el (w32notify-valid-p): No longer an alias for
	'identity'.

2015-09-14  Tassilo Horn  <tsdh@gnu.org>

	Test file-notify-valid-p
	* test/automated/file-notify-tests.el
	(file-notify-test04-file-validity, file-notify-test05-dir-validity):
	New tests.

2015-09-13  Eli Zaretskii  <eliz@gnu.org>

	Fix markup in ELisp manual
	* doc/lispref/frames.texi (Font and Color Parameters): Fix markup
	of the 'alpha' parameter value.  (Bug#21470)

2015-09-13  Michael Albinus  <michael.albinus@gmx.de>

	Introduce `file-notify-valid-p'
	* lisp/filenotify.el (file-notify-valid-p): New defun.
	(gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
	* 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-notify-valid-p>: Add handler.
	* lisp/net/tramp.el (tramp-file-name-for-operation):
	Add `file-notify-valid-p'.
	(tramp-handle-file-notify-valid-p): New defun.
	* src/inotify.c (Finotify_valid_p): New defun.
	(syms_of_inotify): Declare Sinotify_valid_p.

2015-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Port Unicode char detection to FreeBSD+svgalib
	Problem reported by Ashish SHUKLA in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00531.html
	* configure.ac: Check for struct unipair.unicode instead of for
	<linux/kd.h>, since that’s more specific to what the code
	actually needs.
	* src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.

	* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).

2015-09-13  Eli Zaretskii  <eliz@gnu.org>

	Fix vertical cursor motion across overlay strings with newlines
	* src/indent.c (Fvertical_motion): Don't leave point in the middle
	of an overlay string with newlines, as that will position the
	cursor after the string at whatever column is there.  (Bug#21468)

2015-09-12  Michael Albinus  <michael.albinus@gmx.de>

	Fix tests in file-notify-tests.el
	* test/automated/file-notify-tests.el: Remove Tramp declarations.
	(file-notify-test00-availability): Print remote command without
	Tramp internal functions.
	(file-notify-test02-events, file-notify-test02-events-remote):
	Adapt docstring.
	(file-notify-test03-autorevert): Use `format-message' when
	inspecting *Messages* buffer.

2015-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	Bind inhibit-modification-hooks rather than a/b-c-f
	* lisp/wid-edit.el (widget-editable-list-insert-before)
	(widget-editable-list-delete-at):
	* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
	(cperl-font-lock-unfontify-region-function):
	* lisp/progmodes/antlr-mode.el (save-buffer-state-x):
	* lisp/obsolete/longlines.el (longlines-mode):
	* lisp/obsolete/fast-lock.el (save-buffer-state):
	* lisp/mouse.el (mouse-save-then-kill-delete-region):
	* lisp/gnus/message.el (message-hide-headers):
	* lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
	* lisp/ibuffer.el (ibuffer-update-title-and-summary)
	(ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
	than after/before-change-functions to nil.

2015-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	(jit-lock-deferred-fontify): Pay attention to skipped redisplays
	* lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
	the buffers, even if the forced redisplay is interrupted.

	* lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects

	Merge syntax-propertize--done and parse-sexp-propertize-done
	* lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
	(syntax-propertize): Set syntax-propertize--done even if
	syntax-propertize-function is nil.  Avoid recursive invocations.
	(syntax-propertize-chunks): New var.
	(internal--syntax-propertize): Use it.  Rename from syntax--jit-propertize.
	Simplify.
	(parse-sexp-propertize-function): Don't set any more.
	* src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
	(parse_sexp_propertize): Don't assume charpos is not yet propertized.
	Call Qinternal__syntax_propertize instead of
	Vparse_sexp_propertize_function.  Truncate e_property if needed.
	(update_syntax_table_forward): Streamline.
	(syms_of_syntax): Define Qinternal__syntax_propertize.
	(syntax_propertize__done): Rename from parse_sexp_propertize_done.

2015-09-11  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer straight quoting in some text files
	Mostly this just changes ` to ' in static text.  Some exceptions:
	* INSTALL.REPO: Use curved quotes, as the diagnostic in question
	typically does that now.
	* admin/quick-install-emacs (TRY, top level):
	Use straight quoting in diagnostics.
	* src/README: Fix working-directory confusion.

	* CONTRIBUTE: Move send-email here from git-workflow.

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

	Improve file notifications in Tramp
	* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
	Set proper events to watch for.
	(tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
	watched events.

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

	Fix NS build with --enable-checking='glyphs'
	* src/nsfns.m (unwind_create_frame): Make the preprocessor
	conditionals for referencing 'dpyinfo' consistent throughout the
	function.  (Bug#21426)

2015-09-10  Nicolas Petton  <nicolas@petton.fr>

	Add seq-find
	This function is similar to `seq-some' but returns the found element.
	In the cases where nil can be the found element, a sentinel optional
	argument can be provided to avoid ambiguities.
	* lisp/emacs-lisp/seq.el (seq-find): New function.
	* test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
	* doc/lispref/sequences.texi (Sequence Functions): Add documentation for
	seq-find.

2015-09-10  Tassilo Horn  <tsdh@gnu.org>

	Document file-notify--test-with-events.
	* test/automated/file-notify-tests.el (file-notify--test-with-events):
	Add docstring.

2015-09-10  Michael Albinus  <michael.albinus@gmx.de>

	Report used native library in file-notify-tests.el
	* test/automated/file-notify-tests.el
	(tramp-get-remote-gvfs-monitor-dir)
	(tramp-get-remote-inotifywait): Declare them.
	(file-notify-test00-availability): Print used native library.

2015-09-10  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
	(mpc-file-local-copy): Check for absolute path.  Check more config
	locations.

2015-09-10  Eli Zaretskii  <eliz@gnu.org>

	Improve documentation of categories
	* doc/lispref/syntax.texi (Categories): Clarify the example of
	using define-category and modify-category-entry.  (Bug#21448)

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

	Revert some stray curved quotes I missed earlier
	Problem reported by David Kastrup in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00440.html
	* lisp/international/mule-cmds.el (leim-list-header):
	Use format-message with an ASCII-only format.

	Prefer NUMBERP to spelling it out
	* src/editfns.c (styled_format):
	* src/frame.h (NUMVAL):
	* src/image.c (parse_image_spec):
	* src/lisp.h (CHECK_NUMBER_OR_FLOAT)
	(CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
	* src/process.c (Fsignal_process):
	* src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
	* src/xfaces.c (check_lface_attrs):
	* src/xselect.c (x_fill_property_data, x_send_client_event):
	Use NUMBERP rather than INTEGERP || FLOATP.

2015-09-10  Tassilo Horn  <tsdh@gnu.org>

	Improve file-notify-tests
	* test/automated/file-notify-tests.el: Use lexical-binding.
	(file-notify--test-cleanup): New function.
	(file-notify-test00-availability, file-notify-test01-add-watch)
	(file-notify-test02-events, file-notify-test03-autorevert): Use it.
	(file-notify--test-with-events): New macro.
	(file-notify-test02-events): Use it.

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

	Add patch-sending instructions to git-workflow
	From a suggestion by Mitchel Humpherys in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00421.html
	* admin/notes/git-workflow (Sending patches): New section.

	Port to GIFLIB 5.0.6 and later
	Problem reported by Mitchel Humpherys in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00420.html
	* src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
	(GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
	(gif_load) [HAVE_GIF]: Use it.

2015-09-10  Glenn Morris  <rgm@gnu.org>

	* lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.

2015-09-09  Glenn Morris  <rgm@gnu.org>

	* test/automated/file-notify-tests.el (file-notify-test02-events):
	Fix recent change.

2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>

	Refix movemail GCC pacification
	Problem reported by Ken Brown in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00406.html
	* lib-src/movemail.c (main): Fix previous change.

2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/calendar/time-date.el (time-to-seconds, time-less-p):
	Mark unused vars with underscore.

	* src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
	(parse_sexp_propertize): ...from here.

	* lisp/filenotify.el: Use lexical-binding
	(file-notify-add-watch): Avoid add-to-list.

2015-09-09  Tassilo Horn  <tsdh@gnu.org>

	Start checking event types in file-notify tests
	* test/automated/file-notify-tests.el (file-notify--test-events):
	New variable.
	(file-notify--test-event-handler): Append received event to
	file-notify--test-events for later analysis.
	(file-notify-test02-events): Assert that the expected notifications have
	arrived in the expected order.

2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib and texinfo
	This incorporates:
	2015-08-03 Improve port of stdalign to C++11
	* lib/stdalign.in.h: Copy from gnulib.
	* doc/misc/texinfo.tex: Copy from texinfo.

2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make syntax.c call syntax-propertize on demand
	* lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
	(parse-sexp-propertize-function): Use it.
	(syntax-propertize): Disable parse-sexp-propertize-function.
	* src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
	New functions.
	(syms_of_syntax): New vars `parse-sexp-propertize-done' and
	`parse-sexp-propertize-function'.
	* src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
	(UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
	(SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
	* lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
	Don't assume `point' is set.

2015-09-09  Eli Zaretskii  <eliz@gnu.org>

	Fix indentation of an @example in ELisp manual
	* doc/lispref/syntax.texi (Categories): Untabify the example.
	(Bug#21448)

2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>

	Define internal-char-font even if --without-x
	The function is used now even in non-graphical environments.
	Problem reported by Glenn Morris in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00401.html
	* src/font.c (Finternal_char_font): Move here ...
	* src/fontset.c (Finternal_char_font): ... from here.

2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
	Remove warning.

2015-09-09  Eli Zaretskii  <eliz@gnu.org>

	Fix display of complex local data types in GDB-MI
	* lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
	variable has no value, display "<complex data type>" as a
	placeholder, instead of a confusing "nil".  (Bug#21438)

2015-09-09  Oleh Krehel  <ohwoeowho@gmail.com>

	Remove redundant redefinition of seq-drop-while from seq.el
	* lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.

2015-09-09  Phil Sainty  <psainty@orcon.net.nz>

	* lisp/emacs-lisp/package.el (package--ensure-init-file):
	More robust check for `package-initialize' calls in init file.
	This function accepts an optional argument, but calls passing
	an argument would not have been detected.

2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>

	Port movemail to RHEL 6 with --enable-gcc-warnings
	* lib-src/movemail.c (main): Declare local only if needed.

	Port recent Linux console changes to RHEL 6
	* src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.

	Improvements for curved quotes on Linux consule
	This should help Emacs work better out-of-the-box on Linux consoles,
	which have only limited support for displaying Unicode characters.
	Also, undo the recent change that caused text-quoting-style to
	affect quote display on terminals, so that the two features are
	independent.  See Alan Mackenzie in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00244.html
	Finally, add a style parameter to startup--setup-quote-display,
	so that this function can also be invoked after startup, with
	different styles depending on user preference at the time.
	* configure.ac: Check for linux/kd.h header.
	* doc/emacs/display.texi (Text Display): Document quote display.
	* doc/lispref/display.texi (Active Display Table):
	* etc/NEWS:
	* lisp/startup.el (startup--setup-quote-display, command-line):
	text-quoting-style no longer affects quote display.
	* doc/lispref/frames.texi (Terminal Parameters): Fix typo.
	* lisp/international/mule-util.el (char-displayable-p):
	* lisp/startup.el (startup--setup-quote-display):
	On a text terminal supporting glyph codes, use the reported
	glyph codes instead of the terminal coding system, as this
	is more accurate on the Linux console.
	* lisp/startup.el (startup--setup-quote-display):
	New optional arg STYLE.
	* src/fontset.c (Finternal_char_font):
	Report glyph codes for a text terminal, if they are available.
	Currently this is supported only for the Linux console.
	* src/termhooks.h (struct terminal): New member glyph-code-table.
	* src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
	(calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
	(terminal_glyph_code): New function.

2015-09-08  Juri Linkov  <juri@linkov.net>

	* lisp/info.el (Info-fontify-node): Don't stop at the non-title
	underline.  (Bug#21433)

2015-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.

2015-09-08  Tassilo Horn  <tsdh@gnu.org>

	Fix double-reporting of rename events with inotify
	* lisp/filenotify.el (file-notify-callback): Fix double-reporting
	of rename events with inotify (bug#21435).

2015-09-08  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)

	* lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
	(tetris-mode-map): Use it.

2015-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	Remove a few simple cases of global redisplay
	* src/dispnew.c (redraw_frame): Don't redisplay all frames.
	* src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
	rather than returning a "resized_p" boolean.
	(redisplay_internal): Adjust call accordingly.
	* src/xfaces.c (free_realized_faces): Don't redisplay all frames.
	(free_all_realized_faces): Set windows_or_buffers_changed so as to ease
	tracking of this undesirable situation.

	* src/process.c (status_notify): Avoid global redisplay (bug#11822)
	* src/process.c (status_notify): Only set the update_mode_line on the
	relevant buffers rather than setting it globally.

2015-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/electric.el (electric-quote-post-self-insert-function):
	Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
	(electric-quote-mode): Activate everywhere in message-mode.

2015-09-07  Paul Eggert  <eggert@cs.ucla.edu>

	Go back to grave quoting in source-code docstrings etc.
	This reverts almost all my recent changes to use curved quotes
	in docstrings and/or strings used for error diagnostics.
	There are a few exceptions, e.g., Bahá’í proper names.
	* admin/unidata/unidata-gen.el (unidata-gen-table):
	* lisp/abbrev.el (expand-region-abbrevs):
	* lisp/align.el (align-region):
	* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
	(outlineify-sticky):
	* lisp/apropos.el (apropos-library):
	* lisp/bookmark.el (bookmark-default-annotation-text):
	* lisp/button.el (button-category-symbol, button-put)
	(make-text-button):
	* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
	* lisp/calc/calc-embed.el (calc-do-embedded):
	* lisp/calc/calc-ext.el (calc-user-function-list):
	* lisp/calc/calc-graph.el (calc-graph-show-dumb):
	* lisp/calc/calc-help.el (calc-describe-key)
	(calc-describe-thing, calc-full-help):
	* lisp/calc/calc-lang.el (calc-c-language)
	(math-parse-fortran-vector-end, math-parse-tex-sum)
	(math-parse-eqn-matrix, math-parse-eqn-prime)
	(calc-yacas-language, calc-maxima-language, calc-giac-language)
	(math-read-giac-subscr, math-read-math-subscr)
	(math-read-big-rec, math-read-big-balance):
	* lisp/calc/calc-misc.el (calc-help, report-calc-bug):
	* lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
	(calc-auto-recompute):
	* lisp/calc/calc-prog.el (calc-fix-token-name)
	(calc-read-parse-table-part, calc-user-define-invocation)
	(math-do-arg-check):
	* lisp/calc/calc-store.el (calc-edit-variable):
	* lisp/calc/calc-units.el (math-build-units-table-buffer):
	* lisp/calc/calc-vec.el (math-read-brackets):
	* lisp/calc/calc-yank.el (calc-edit-mode):
	* lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
	* lisp/calendar/appt.el (appt-display-message):
	* lisp/calendar/diary-lib.el (diary-check-diary-file)
	(diary-mail-entries, diary-from-outlook):
	* lisp/calendar/icalendar.el (icalendar-export-region)
	(icalendar--convert-float-to-ical)
	(icalendar--convert-date-to-ical)
	(icalendar--convert-ical-to-diary)
	(icalendar--convert-recurring-to-diary)
	(icalendar--add-diary-entry):
	* lisp/calendar/time-date.el (format-seconds):
	* lisp/calendar/timeclock.el (timeclock-mode-line-display)
	(timeclock-make-hours-explicit, timeclock-log-data):
	* lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
	(todo-item-mark, todo-check-format)
	(todo-insert-item--next-param, todo-edit-item--next-key)
	(todo-mode):
	* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
	* lisp/cedet/mode-local.el (describe-mode-local-overload)
	(mode-local-print-binding, mode-local-describe-bindings-2):
	* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
	* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
	* lisp/cus-start.el (standard):
	* lisp/cus-theme.el (describe-theme-1):
	* lisp/custom.el (custom-add-dependencies, custom-check-theme)
	(custom--sort-vars-1, load-theme):
	* lisp/descr-text.el (describe-text-properties-1, describe-char):
	* lisp/dired-x.el (dired-do-run-mail):
	* lisp/dired.el (dired-log):
	* lisp/emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
	(ad-disable-advice, ad-remove-advice, ad-set-argument)
	(ad-set-arguments, ad--defalias-fset, ad-activate)
	(ad-deactivate):
	* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
	(byte-compile-unfold-lambda, byte-optimize-form-code-walker)
	(byte-optimize-while, byte-optimize-apply):
	* lisp/emacs-lisp/byte-run.el (defun, defsubst):
	* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
	(byte-compile-log-file, byte-compile-format-warn)
	(byte-compile-nogroup-warn, byte-compile-arglist-warn)
	(byte-compile-cl-warn)
	(byte-compile-warn-about-unresolved-functions)
	(byte-compile-file, byte-compile--declare-var)
	(byte-compile-file-form-defmumble, byte-compile-form)
	(byte-compile-normal-call, byte-compile-check-variable)
	(byte-compile-variable-ref, byte-compile-variable-set)
	(byte-compile-subr-wrong-args, byte-compile-setq-default)
	(byte-compile-negation-optimizer)
	(byte-compile-condition-case--old)
	(byte-compile-condition-case--new, byte-compile-save-excursion)
	(byte-compile-defvar, byte-compile-autoload)
	(byte-compile-lambda-form)
	(byte-compile-make-variable-buffer-local, display-call-tree)
	(batch-byte-compile):
	* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
	* lisp/emacs-lisp/chart.el (chart-space-usage):
	* lisp/emacs-lisp/check-declare.el (check-declare-scan)
	(check-declare-warn, check-declare-file)
	(check-declare-directory):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
	(checkdoc-message-text-engine):
	* lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
	(cl--describe-class):
	* lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
	(cl--generic-describe, cl-generic-generalizers):
	* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
	(cl-symbol-macrolet):
	* lisp/emacs-lisp/cl.el (cl-unload-function, flet):
	* lisp/emacs-lisp/copyright.el (copyright)
	(copyright-update-directory):
	* lisp/emacs-lisp/edebug.el (edebug-read-list):
	* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
	* lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
	(eieio-oref):
	* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
	* lisp/emacs-lisp/eieio-speedbar.el:
	(eieio-speedbar-child-make-tag-lines)
	(eieio-speedbar-child-description):
	* lisp/emacs-lisp/eieio.el (defclass, change-class):
	* lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
	(elint-init-form, elint-check-defalias-form)
	(elint-check-let-form):
	* lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
	(ert-results-pop-to-backtrace-for-test-at-point)
	(ert-results-pop-to-messages-for-test-at-point)
	(ert-results-pop-to-should-forms-for-test-at-point)
	(ert-describe-test):
	* lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
	(find-function-library):
	* lisp/emacs-lisp/generator.el (iter-yield):
	* lisp/emacs-lisp/gv.el (gv-define-simple-setter):
	* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
	* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
	* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
	* lisp/emacs-lisp/nadvice.el (advice--make-docstring)
	(advice--make, define-advice):
	* lisp/emacs-lisp/package-x.el (package-upload-file):
	* lisp/emacs-lisp/package.el (package-version-join)
	(package-disabled-p, package-activate-1, package-activate)
	(package--download-one-archive)
	(package--download-and-read-archives)
	(package-compute-transaction, package-install-from-archive)
	(package-install, package-install-selected-packages)
	(package-delete, package-autoremove, describe-package-1)
	(package-install-button-action, package-delete-button-action)
	(package-menu-hide-package, package-menu--list-to-prompt)
	(package-menu--perform-transaction)
	(package-menu--find-and-notify-upgrades):
	* lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
	* lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
	* lisp/emacs-lisp/ring.el (ring-previous, ring-next):
	* lisp/emacs-lisp/rx.el (rx-check, rx-anything)
	(rx-check-any-string, rx-check-any, rx-check-not, rx-=)
	(rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
	(rx-form):
	* lisp/emacs-lisp/smie.el (smie-config-save):
	* lisp/emacs-lisp/subr-x.el (internal--check-binding):
	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
	* lisp/emacs-lisp/testcover.el (testcover-1value):
	* lisp/emacs-lisp/timer.el (timer-event-handler):
	* lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
	(viper-toggle-search-style, viper-kill-buffer)
	(viper-brac-function):
	* lisp/emulation/viper-macs.el (viper-record-kbd-macro):
	* lisp/env.el (setenv):
	* lisp/erc/erc-button.el (erc-nick-popup):
	* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
	* lisp/eshell/em-dirs.el (eshell/cd):
	* lisp/eshell/em-glob.el (eshell-glob-regexp)
	(eshell-glob-entries):
	* lisp/eshell/em-pred.el (eshell-parse-modifiers):
	* lisp/eshell/esh-opt.el (eshell-show-usage):
	* lisp/facemenu.el (facemenu-add-new-face)
	(facemenu-add-new-color):
	* lisp/faces.el (read-face-name, read-face-font, describe-face)
	(x-resolve-font-name):
	* lisp/files-x.el (modify-file-local-variable):
	* lisp/files.el (locate-user-emacs-file, find-alternate-file)
	(set-auto-mode, hack-one-local-variable--obsolete)
	(dir-locals-set-directory-class, write-file, basic-save-buffer)
	(delete-directory, copy-directory, recover-session)
	(recover-session-finish, insert-directory)
	(file-modes-char-to-who, file-modes-symbolic-to-number)
	(move-file-to-trash):
	* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
	* lisp/find-cmd.el (find-generic, find-to-string):
	* lisp/finder.el (finder-commentary):
	* lisp/font-lock.el (font-lock-fontify-buffer):
	* lisp/format.el (format-write-file, format-find-file)
	(format-insert-file):
	* lisp/frame.el (get-device-terminal, select-frame-by-name):
	* lisp/fringe.el (fringe--check-style):
	* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
	* lisp/help-fns.el (help-fns--key-bindings)
	(help-fns--compiler-macro, help-fns--parent-mode)
	(help-fns--obsolete, help-fns--interactive-only)
	(describe-function-1, describe-variable):
	* lisp/help.el (describe-mode)
	(describe-minor-mode-from-indicator):
	* lisp/image.el (image-type):
	* lisp/international/ccl.el (ccl-dump):
	* lisp/international/fontset.el (x-must-resolve-font-name):
	* lisp/international/mule-cmds.el (prefer-coding-system)
	(select-safe-coding-system-interactively)
	(select-safe-coding-system, activate-input-method)
	(toggle-input-method, describe-current-input-method)
	(describe-language-environment):
	* lisp/international/mule-conf.el (code-offset):
	* lisp/international/mule-diag.el (describe-character-set)
	(list-input-methods-1):
	* lisp/mail/feedmail.el (feedmail-run-the-queue):
	* lisp/mouse.el (minor-mode-menu-from-indicator):
	* lisp/mpc.el (mpc-playlist-rename):
	* lisp/msb.el (msb--choose-menu):
	* lisp/net/ange-ftp.el (ange-ftp-shell-command):
	* lisp/net/imap.el (imap-interactive-login):
	* lisp/net/mairix.el (mairix-widget-create-query):
	* lisp/net/newst-backend.el (newsticker--sentinel-work):
	* lisp/net/newst-treeview.el (newsticker--treeview-load):
	* lisp/net/rlogin.el (rlogin):
	* lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
	* lisp/obsolete/otodo-mode.el (todo-more-important-p):
	* lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
	* lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
	* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
	* lisp/org/ob-core.el (org-babel-goto-named-src-block)
	(org-babel-goto-named-result):
	* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
	* lisp/org/ob-ref.el (org-babel-ref-resolve):
	* lisp/org/org-agenda.el (org-agenda-prepare):
	* lisp/org/org-clock.el (org-clock-notify-once-if-expired)
	(org-clock-resolve):
	* lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
	* lisp/org/org-feed.el (org-feed-parse-atom-entry):
	* lisp/org/org-habit.el (org-habit-parse-todo):
	* lisp/org/org-mouse.el (org-mouse-popup-global-menu)
	(org-mouse-context-menu):
	* lisp/org/org-table.el (org-table-edit-formulas):
	* lisp/org/ox.el (org-export-async-start):
	* lisp/proced.el (proced-log):
	* lisp/progmodes/ada-mode.el (ada-get-indent-case)
	(ada-check-matching-start, ada-goto-matching-start):
	* lisp/progmodes/ada-prj.el (ada-prj-display-page):
	* lisp/progmodes/ada-xref.el (ada-find-executable):
	* lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
	* lisp/progmodes/etags.el (etags-tags-apropos-additional):
	* lisp/progmodes/flymake.el (flymake-parse-err-lines)
	(flymake-start-syntax-check-process):
	* lisp/progmodes/python.el (python-shell-get-process-or-error)
	(python-define-auxiliary-skeleton):
	* lisp/progmodes/sql.el (sql-comint):
	* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
	* lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
	* lisp/recentf.el (recentf-open-files):
	* lisp/replace.el (query-replace-read-from)
	(occur-after-change-function, occur-1):
	* lisp/scroll-bar.el (scroll-bar-columns):
	* lisp/server.el (server-get-auth-key):
	* lisp/simple.el (execute-extended-command)
	(undo-outer-limit-truncate, list-processes--refresh)
	(compose-mail, set-variable, choose-completion-string)
	(define-alternatives):
	* lisp/startup.el (site-run-file, tty-handle-args, command-line)
	(command-line-1):
	* lisp/subr.el (noreturn, define-error, add-to-list)
	(read-char-choice, version-to-list):
	* lisp/term/common-win.el (x-handle-xrm-switch)
	(x-handle-name-switch, x-handle-args):
	* lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
	* lisp/textmodes/reftex-ref.el (reftex-label):
	* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
	* lisp/textmodes/two-column.el (2C-split):
	* lisp/tutorial.el (tutorial--describe-nonstandard-key)
	(tutorial--find-changed-keys):
	* lisp/type-break.el (type-break-noninteractive-query):
	* lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
	(wdired-do-perm-changes):
	* lisp/whitespace.el (whitespace-report-region):
	Prefer grave quoting in source-code strings used to generate help
	and diagnostics.
	* lisp/faces.el (face-documentation):
	No need to convert quotes, since the result is a docstring.
	* lisp/info.el (Info-virtual-index-find-node)
	(Info-virtual-index, info-apropos):
	Simplify by generating only curved quotes, since info files are
	typically that ways nowadays anyway.
	* lisp/international/mule-diag.el (list-input-methods):
	Don’t assume text quoting style is curved.
	* lisp/org/org-bibtex.el (org-bibtex-fields):
	Revert my recent changes, going back to the old quoting style.

2015-09-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
	(package--autoloads-file-name)
	(package--activate-autoloads-and-load-path): New function.
	(package-activate-1): Delegate autoloading and load-path
	configuration to `package--activate-autoloads-and-load-path'.
	(package--compile): Before compilation, call
	`package--activate-autoloads-and-load-path' instead of
	`package-activate-1'.

2015-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).

2015-09-07  Eli Zaretskii  <eliz@gnu.org>

	Fix deletion of symlinks to directories on MS-Windows
	* src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
	symlink to a directory, try again with 'rmdir'.
	(is_symlink): If the argument is a symlink to a directory, set a
	bit in the return value to indicate that fact.

2015-09-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
	When `package-initialize' is called as part of loading the init file,
	the user probably doesn't want it to be called again afterwards.
	In this situation, `package-initialize' now sets
	`package-enable-at-startup' to nil to prevent that.  The user can have
	the old behavior by setting this variable to t after the call to
	`package-initialize'.  (Bug#21423)
	* doc/emacs/package.texi (Package Installation): Document it.
	* doc/lispref/package.texi (Packaging Basics): Document it.
	* etc/NEWS: Document it.

2015-09-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Bump version of ntlm.el to 2.00
	* lisp/net/ntlm.el: Bump version to 2.00.  New maintainer.
	Add comm keyword.

2015-09-06  Adam Sjøgren  <asjo@koldfront.dk>

	* doc/misc/gnus.texi (Mail Source Specifiers):
	Allow :mailbox to be a list.

2015-09-06  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/etags.el (etags-tags-completion-table):
	Allow even one non-regular character before the implicit tag name.
	Reported at https://emacs.stackexchange.com/questions/15269/.

2015-09-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Add support for NTLMv2 authentication
	* lisp/net/ntlm.el (ntlm): New customization group.
	(ntlm-compatibility-level): New defcustom.
	(ntlm-compute-timestamp): New function.
	(ntlm-generate-nonce): Likewise.
	(ntlm-build-auth-response): Add support for NTLMv2 authentication.

2015-09-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Rename custom faces.
	All of the recently introduced faces, like `package-name-face', have
	been renamed to no end in `-face' to comply with the convention
	described in (info "(elisp) Defining Faces").
	(package-name, package-description)
	(package-status-built-in, package-status-external)
	(package-status-available, package-status-new)
	(package-status-held, package-status-disabled)
	(package-status-installed, package-status-dependency)
	(package-status-unsigned, package-status-incompat)
	(package-status-avail-obso): New faces.
	(package-menu--print-info-simple): Use them.

2015-09-06  Adam Sjøgren  <asjo@koldfront.dk>

	mail-source.el: Make the imap mail-source's :mailbox handle a list
	* lisp/gnus/mail-source.el (mail-source-fetch-imap):
	Allow :mailbox to be  a list.

2015-09-06  Eric Abrahamsen  <eric@ericabrahamsen.net>

	nnimap.el: Handle nil arg to nnimap-request-group
	* lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
	This arg isn't always passed in, check it's not nil before making it
	into a list.  The active arg will also be nil if the group is new,
	check for that.

2015-09-06  Michael Albinus  <michael.albinus@gmx.de>

	File notifications: Support renaming over directory boundaries
	* lisp/filenotify.el (file-notify-handle-event):
	(file-notify--pending-event): Adapt docstring.
	(file-notify--descriptor, file-notify-callback): Reimplement in
	order to support renaming over directory boundaries.
	(file-notify-add-watch): Adapt `file-notify--descriptor' call.
	* doc/lispref/os.texi (File Notifications): Remove limitation of
	file renaming to the same directory.

2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fix (Bug#21420)

2015-09-05  Nicolas Petton  <nicolas@petton.fr>

	Improve the semantic of map-some
	Update map-some to return the returned by the predicate, similar to
	seq-some.
	* lisp/emacs-lisp/map.el (map-some): Update the function to return the
	  return value of the predicate.
	* test/automated/map-tests.el (test-map-some): Update the test to check
	  for non-nil values only.

	Rename map-contains-key-p and map-some-p
	Remove the "-p" suffix from both function names.
	* lisp/emacs-lisp/map.el (map-contains-key, map-some):
	  Rename the functions.
	* test/automated/map-tests.el (test-map-contains-key, test-map-some):
	  Update both test functions.

	Improve the semantic of seq-some
	Update seq-some to return non-nil if the predicate returns non-nil for
	any element of the seq, in which case the returned value is the one
	returned by the predicate.
	* lisp/emacs-lisp/seq.el (seq-some): Update the function and its
	  docstring.
	* test/automated/seq-tests.el (test-seq-some): Add a regression test.
	* doc/lispref/sequences.texi (Sequence Functions): Update the
	  documentation for seq-some.

	Rename seq-some-p to seq-some and seq-contains-p to seq-contains
	* lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
	  without the "-p" prefix.
	* test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
	  the tests accordingly.
	* doc/lispref/sequences.texi (Sequence Functions): Update the
	  documentation for seq.el.

2015-09-05  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>

	text-quoting-style for usage of fn names with ‘’
	* lisp/help.el (help--docstring-quote): Don’t assume
	text-quoting-style is ‘curve’ when generating usage strings for
	functions whose names contain curved quotes.

2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>

	Fix fix for describe-function keybinding confusion
	This fixes a bug introduced by the previous patch.
	* lisp/help-fns.el (help-fns--signature):
	Last arg of help-fns--signature is now a buffer, or nil if a
	raw signature is wanted.  All callers changed.
	(describe-function-1): Use this to do the right thing with signatures.

2015-09-05  Johan Bockgård  <bojohan@gnu.org>

	* doc/lispref/frames.texi (Mouse Tracking): Fix typo.

	Use PAT rather than UPAT in pcase macros
	* lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
	* lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
	  than UPAT.

2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>

	Fix describe-function keybinding confusion
	* lisp/help-fns.el (describe-function-1): Compute signature
	in the original buffer, not in standard-output, so that
	substitute-command-keys uses the proper keybindings.
	This fixes Bug#21412, introduced in commit
	2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.

2015-09-05  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/programs.texi (Program Modes): Remove an index entry.

2015-09-05  Robert Pluim  <rpluim@gmail.com>  (tiny change)

	Avoid read error messages from 'inotify'
	* src/process.c (wait_reading_process_output): Add a
	'tls_available' set and manipulate it instead of 'Available' when
	checking TLS inputs.  Assign the value to 'Available' only if we
	find any TLS data waiting to be read.  This avoids error messages
	from 'inotify' that tries to read data it shouldn't.  (Bug#21337)

2015-09-05  Eli Zaretskii  <eliz@gnu.org>

	Avoid errors in thing-at-point with 2nd argument non-nil
	* lisp/thingatpt.el (thing-at-point): Only call 'length' on
	sequences.  (Bug#21391)

2015-09-05  Pip Cet  <pipcet@gmail.com>  (tiny change)

	Fix segfaults due to using a stale face ID
	* src/xdisp.c (forget_escape_and_glyphless_faces): New function.
	(display_echo_area_1, redisplay_internal): Call it to avoid
	reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
	faces, which could case a segfault if the frame's face cache was
	freed since the last redisplay.  (Bug#21394)
	* src/xfaces.c (free_realized_faces):
	Call forget_escape_and_glyphless_faces.
	* src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.

2015-09-04  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor problems with " in manual

2015-09-04  Michael Albinus  <michael.albinus@gmx.de>

	* doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
	multi-hop files.

2015-09-04  Paul Eggert  <eggert@cs.ucla.edu>

	Support automated ‘make check’ in non-C locale
	This lets the builder optionally test Emacs behavior in other locales.
	The C locale is still the default for tests.
	* test/automated/Makefile.in (TEST_LOCALE): New macro.
	(emacs): Use it.
	* test/automated/flymake-tests.el (flymake-tests--current-face):
	Use C locale for subprocesses so that tests behave as expected.
	* test/automated/python-tests.el:
	(python-shell-prompt-validate-regexps-1)
	(python-shell-prompt-validate-regexps-2)
	(python-shell-prompt-validate-regexps-3)
	(python-shell-prompt-validate-regexps-4)
	(python-shell-prompt-validate-regexps-5)
	(python-shell-prompt-validate-regexps-6)
	(python-shell-prompt-set-calculated-regexps-1):
	Adjust expected output to match locale.
	* test/automated/tildify-tests.el (tildify-test--test)
	(tildify-space-test--test, tildify-space-undo-test--test):
	This test assumes UTF-8 encoding.

2015-09-03  Paul Eggert  <eggert@cs.ucla.edu>

	Fix some more docstring etc. quoting problems
	Mostly these fixes prevent the transliteration of apostrophes
	that should stay apostrophes.  Also, prefer curved quotes in
	Bahá’í proper names, as that’s the preferred Bahá’í style and
	these names are chock-full of non-ASCII characters anyway.
	* lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
	(eieio-defclass-internal):
	* lisp/emacs-lisp/eieio.el (defclass):
	* lisp/hi-lock.el (hi-lock-mode):
	Don’t transliterate Lisp apostrophes when generating a
	doc string or diagnostic.
	* lisp/international/mule-diag.el (list-coding-systems-1):
	* lisp/international/ogonek.el (ogonek-jak, ogonek-how):
	* lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
	* lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
	* lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
	Substitute quotes before putting them in the help buffer.

2015-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	Re-add the notion of echo_prompt lost in the translation
	* src/keyboard.h (struct kboard): Replace echo_after_prompt with new
	echo_prompt which contains the actual string.  Update all uses.
	* src/keyboard.c (kset_echo_prompt): New function.
	(echo_update): Add echo_prompt at the very beginning.
	(read_char): Remove workaround for bug#19875, not needed any more.
	(read_key_sequence): Set echo_prompt rather than echo_string
	(bug#21403).
	(mark_kboards): Mark echo_prompt.

	Fix disassembly of non-compiled lexical functions (bug#21377)
	* lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
	* lisp/emacs-lisp/disass.el: Use lexical-binding.
	(disassemble): Recognize `closure's as well.
	(disassemble-internal): Use indirect-function and
	help-function-arglist, and accept `closure's.
	(disassemble-internal): Use interactive-form.
	(disassemble-1): Use functionp.

	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
	Don't compose inside verbatim blocks!

2015-09-03  Mark Oteiza  <mvoteiza@udel.edu>

	* lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
	(bug#19441).

	* lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).

2015-09-03  Dmitry Gutov  <dgutov@yandex.ru>

	vc-git-mode-line-string: Explicitly re-apply the face
	* lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
	the face (bug#21404).

2015-09-02  Paul Eggert  <eggert@cs.ucla.edu>

	Treat initial-scratch-message as a doc string
	* doc/emacs/building.texi (Lisp Interaction):
	* doc/lispref/os.texi (Startup Summary):
	* etc/NEWS: Document this.
	* lisp/startup.el (initial-scratch-message):
	Look up find-file’s key rather than hardcoding it.
	(command-line-1): Substitute the doc string.
	This also substitutes the quotes, which will help test display
	quoting at startup.

	Fix describe-char bug with glyphs on terminals
	* lisp/descr-text.el (describe-char): Terminals can have glyphs in
	buffers too, so don’t treat them differently from graphic displays.
	Without this fix, describe-char would throw an error on a terminal
	if given a glyph with a non-default face.

	Follow text-quoting-style in display table init
	This attempts to fix a problem reported by Alan Mackenzie in:
	https://lists.gnu.org/r/emacs-devel/2015-09/msg00112.html
	* doc/lispref/display.texi (Active Display Table):
	Mention how text-quoting-style affects it.
	* doc/lispref/help.texi (Keys in Documentation):
	Say how to set text-quoting-style in ~/.emacs.
	* etc/NEWS: Document the change.
	* lisp/startup.el (startup--setup-quote-display):
	Follow user preference if text-quoting-style is set.
	(command-line): Setup quote display again if user expresses
	a preference in .emacs.

2015-09-02  K. Handa  <handa@gnu.org>

	Fix typo
	* src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
	-> OTF_positioning_type_components_mask.

	Fix previous change
	* src/ftfont.c (ftfont_drive_otf): Remember some bits of
	OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.

2015-09-01  David Caldwell  <david@porkrind.org>  (tiny change)

	* lisp/vc/vc-hooks.el (vc-refresh-state): New command.
	Rename from vc-find-file-hook and make interactive.
	(vc-find-file-hook): Redefine as obsolete alias.

2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	Escape ` and ' in doc
	Escape apostrophes and grave accents in docstrings if they are
	are supposed to stand for themselves and are not quotes.  Remove
	apostrophes from docstring examples like ‘'(calendar-nth-named-day
	-1 0 10 year)’ that confuse source code with data.  Do some other
	minor docstring fixups as well, e.g., insert a missing close quote.

2015-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	Generalize the prefix-command machinery of C-u
	* lisp/simple.el (prefix-command-echo-keystrokes-functions)
	(prefix-command-preserve-state-hook): New hooks.
	(internal-echo-keystrokes-prefix): New function.
	(prefix-command--needs-update, prefix-command--last-echo): New vars.
	(prefix-command-update, prefix-command-preserve): New functions.
	(reset-this-command-lengths): New compatibility definition.
	(universal-argument--mode): Call prefix-command-update.
	(universal-argument, universal-argument-more, negative-argument)
	(digit-argument): Call prefix-command-preserve-state.
	* src/keyboard.c: Call internal-echo-keystrokes-prefix to build
	the "prefix argument" to echo.
	(this_command_key_count_reset, before_command_key_count)
	(before_command_echo_length): Delete variables.
	(echo_add_key): Always add a space.
	(echo_char): Remove.
	(echo_dash): Don't give up when this_command_key_count is 0, since that
	is now the case after a prefix command.
	(echo_update): New function, extracted from echo_now.
	(echo_now): Use it.
	(add_command_key, read_char, record_menu_key): Remove old disabled code.
	(command_loop_1): Don't refrain from pushing an undo boundary when
	prefix-arg is set.  Remove other prefix-arg special case, now handled
	directly in the prefix commands instead.  But call echo_now if there's
	a prefix state to echo.
	(read_char, record_menu_key): Use echo_update instead of echo_char.
	(read_key_sequence): Use echo_now rather than echo_dash/echo_char.
	(Freset_this_command_lengths): Delete function.
	(syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
	(syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
	* lisp/simple.el: Use those new hooks for C-u.
	(universal-argument--description): New function.
	(prefix-command-echo-keystrokes-functions): Use it.
	(universal-argument--preserve): New function.
	(prefix-command-preserve-state-hook): Use it.
	(command-execute): Call prefix-command-update if needed.
	* lisp/kmacro.el (kmacro-step-edit-prefix-commands)
	(kmacro-step-edit-prefix-index): Delete variables.
	(kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
	support for prefix arg commands.
	(kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
	* lisp/emulation/cua-base.el (cua--prefix-override-replay)
	(cua--shift-control-prefix): Use prefix-command-preserve-state.
	Remove now unused arg `arg'.
	(cua--prefix-override-handler, cua--prefix-repeat-handler)
	(cua--shift-control-c-prefix, cua--shift-control-x-prefix):
	Update accordingly.
	(cua--prefix-override-timeout): Don't call reset-this-command-lengths
	any more.
	(cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
	if the mark is not set.

2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	Rework quoting in Emacs Lisp Introduction
	* doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
	(if in more detail, type-of-animal in detail, else): Rework the
	early example to use " rather than ' so that we don’t burden
	complete novices with the low-priority detail of text quoting style.
	(Complete zap-to-char, kill-region, Complete copy-region-as-kill)
	(kill-new function, kill-ring-yank-pointer)
	(Complete forward-sentence, Loading Files)
	(Code for current-kill, Code for current-kill, yank):
	Resurrect the Emacs 22 versions of the code, which uses grave
	quoting style in doc strings.
	(Complete zap-to-char): Mention how quoting works in doc strings.

	Setup quote display only if interactive
	* lisp/startup.el (command-line):
	Skip call to startup--setup-quote-display if noninteractive.
	Without this change, python-shell-prompt-validate-regexps-1
	fails in test/automated/python-tests.el when run in an
	en_US.utf8 locale on Fedora.

2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>

	Use defalias at the top level
	* lisp/gnus/gnus-util.el (gnus-format-message):
	* lisp/net/tls.el (tls-format-message): Use defalias at the top level
	so as to make eval-and-compile unnecessary.  Thanks to Stefan Monnier.

2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	terminal-init-w32console mimics command-line
	Problem reported by Eli Zaretskii.
	* lisp/startup.el (startup--setup-quote-display):
	New function, refactored from a part of ‘command-line’.
	(command-line): Use it.
	* lisp/term/w32console.el (terminal-init-w32console):
	Use it, so that this function stays consistent with ‘command-line’.

	Display replacement quotes with shadow glyphs
	* lisp/startup.el (command-line): When displaying ASCII
	replacements for curved quotes, use a shadow glyph instead of a
	regular one, to avoid ambiguity.

2015-09-01  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".

2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	Docstring fixes re quotes in C code
	Fix some docstring quoting problems, mostly by escaping apostrophe.

2015-09-01  Michael Albinus  <michael.albinus@gmx.de>

	Some Tramp password fixes
	* lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
	of the hops.
	* lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
	at the beginning of the command.  Otherwise, it could be
	interpreted as password prompt if the remote host echoes the
	command.
	(tramp-remote-coding-commands): Add "openssl enc -base64".

2015-09-01  Dmitry Gutov  <dgutov@yandex.ru>

	Make vc-git-working-revision always return the commit hash
	* lisp/vc/vc-git.el (vc-git-working-revision):
	Return the commit hash (bug#21383).
	(vc-git--symbolic-ref): New function, extracted from above.
	(vc-git-mode-line-string): Use it.

2015-09-01  K. Handa  <handa@gnu.org>

	Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
	* src/ftfont.c (MFLTGlyphFT): New type.
	(ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
	(ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
	elements in the array MFLTGlyphString.glyphs.

2015-09-01  Stephen Leake  <stephen_leake@stephe-leake.org>

	Improve comments in elisp-mode.el, elisp-mode-tests.el
	* lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.

	Delete Emacs 25 test in mode-local.el
	* lisp/cedet/mode-local.el (describe-mode-local-overload):
	Fix missed an edit in previous commit.

	Show all known mode-local overrides in *Help*
	* lisp/cedet/mode-local.el (describe-mode-local-overload):
	Assume Emacs 25. Add all known mode-local overrides.

2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/gnus-sum.el (gnus-summary-search-article):
	Ensure that the article where the search word is found is displayed
	and pointed to in the summary buffer.

2015-08-31  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)

	* lisp/newcomment.el (comment-dwim): Use `use-region-p'.
	When the region is active, but is empty (length 0), act as though
	the region was not active; that is, put a comment at the end of
	the line.  (Bug#21119)

2015-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>

	Port tls.el to older Emacs
	* lisp/net/tls.el (tls-format-message):
	Alias to format-message, or format if not available.
	(open-tls-stream): Use it.

2015-08-31  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>

	hideif.el: Recognize .h++ as C++ header
	* lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.

	isearch: Document character folding mode
	* lisp/isearch.el (isearch-forward):
	Mention `isearch-toggle-character-fold' in doc string.

2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>

	Quoting fixes in ERC and Eshell
	* lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
	* lisp/erc/erc-backend.el (define-erc-response-handler):
	* lisp/erc/erc-fill.el (erc-fill-static-center):
	* lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
	* lisp/eshell/em-glob.el (eshell-glob-entries):
	* lisp/eshell/em-hist.el (eshell-save-some-history):
	* lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
	(eshell-shuffle-files):
	* lisp/eshell/esh-cmd.el (eshell-do-eval):
	* lisp/eshell/esh-proc.el (eshell-process-interact)
	(eshell-query-kill-processes):
	Respect ‘text-quoting-style’ in diagnostics and doc strings.

	Quoting fixes in Gnus
	* lisp/gnus/gnus-agent.el:
	(gnus-agent-possibly-synchronize-flags-server):
	* lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
	* lisp/gnus/gnus-eform.el (gnus-edit-form):
	* lisp/gnus/gnus-group.el (gnus-group-edit-group)
	(gnus-group-nnimap-edit-acl):
	* lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
	* lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
	* lisp/gnus/message.el (message-strip-subject-encoded-words)
	(message-check-recipients, message-send-form-letter):
	* lisp/gnus/mm-decode.el (mm-display-part):
	* lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
	* lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
	(mml-smime-get-ldap-cert):
	* lisp/gnus/spam-report.el (spam-report-process-queue):
	Respect ‘text-quoting-style’ in diagnostics.
	* lisp/gnus/gnus-art.el (article-display-face)
	* lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
	Use straight quoting in email.
	* lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
	Escape apostrophes in doc strings.

	Quoting fixes in lisp mail, mh-e, net, url
	* lisp/mail/emacsbug.el (report-emacs-bug)
	(report-emacs-bug-hook): Use straight quotes in outgoing email,
	* lisp/mail/feedmail.el (feedmail-message-action-help-blat):
	* lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
	* lisp/mail/rmailout.el (rmail-output-read-file-name):
	* lisp/net/imap.el (imap-interactive-login):
	* lisp/net/tls.el (open-tls-stream):
	* lisp/url/url-auth.el (url-register-auth-scheme):
	Respect ‘text-quoting-style’ in diagnostics.
	* lisp/mh-e/mh-e.el (mh-sortm-args):
	Quote docstring example using text quotes, not as a Lisp quote.

2015-08-31  Stephen Leake  <stephen_leake@stephe-leake.org>

	Fix some byte-compiler warnings in EDE
	This fixes a bug that caused ede-generic-new-autoloader to overwrite the
	existing autoloader list, rather than add to it.
	* lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
	argument to eieio class constructor.
	(ede-show-supported-projects): New.
	(ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
	with (oref ... name).
	(ede-auto-load-project): Use slot name, not initarg key.
	* lisp/cedet/ede/generic.el (ede-generic-load)
	(ede-generic-find-matching-target): Use slot name, not initarg key.
	(ede-find-target): Use oref-default on class name.
	(ede-generic-new-autoloader): Delete obsolete name argument to eieio
	class constructor.
	(ede-enable-generic-projects): Make project type names unique.

2015-08-31  Eli Zaretskii  <eliz@gnu.org>

	Fix directory accessibility tests for w32 network volumes
	* src/w32.c (faccessat): Don't fail with network volumes without a
	share.
	(w32_accessible_directory_p): Handle network volumes without a
	share.

	Fix handling long file names in readdir on MS-Windows
	* src/w32.c (sys_readdir): Append "\*" to the directory after
	converting it to UTF-16/ANSI, not before, to avoid overflowing the
	260-character limit on file names in filename_to_utf16/ansi.

	Make file-accessible-directory-p reliable on MS-Windows
	* src/w32.c (w32_accessible_directory_p): New function.
	* src/w32.h (w32_accessible_directory_p): Add prototype.
	* src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
	w32_accessible_directory_p to test a directory for accessibility
	by the current user.  (Bug#21346)
	(Ffile_accessible_directory_p): Remove the w32 specific caveat
	from the doc string.

2015-08-31  Martin Rudalics  <rudalics@gmx.at>

	Don't call do_pending_window_change in signal handlers (Bug#21380)
	* src/gtkutil.c (xg_frame_resized):
	* src/xterm.c (x_set_window_size):
	* src/w32term.c (x_set_window_size): Don't call
	do_pending_window_change.

2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>

	Quoting fixes in lisp/org
	* lisp/org/org-agenda.el (org-search-view, org-todo-list)
	(org-tags-view):
	* lisp/org/org-capture.el (org-capture-mode)
	* lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
	(org-ctags-ask-append-topic):
	* lisp/org/org.el (org-time-string-to-time)
	(org-time-string-to-absolute):
	* lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
	(org-ctags-ask-append-topic):
	* lisp/org/org.el (org-time-string-to-time)
	(org-time-string-to-absolute):
	Respect ‘text-quoting-style’ in diagnostics.
	* lisp/org/org-agenda.el (org-agenda-custom-commands)
	(org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
	* lisp/org/org-capture.el (org-capture-fill-template):
	Avoid contraction in output file that might be ASCII.
	* lisp/org/org-compat.el (format-message):
	Define if not already defined, for backward compatibility.
	* lisp/org/org-src.el (org-edit-src-save):
	* lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
	Escape apostrophes in diagnostics.

	Treat “instead” strings as docstrings
	* lisp/emacs-lisp/bytecomp.el (byte-compile-form):
	* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
	Substitute quotes in instead strings.

2015-08-31  Nicolas Petton  <nicolas@petton.fr>

	Better documentation of seq-let
	* doc/lispref/sequences.texi (Sequence Functions): Rephrase the
	documentation of seq-let.

2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>

	* lisp/international/ccl.el: Fix quoting.

	Quoting fixes in lisp/international and lisp/leim
	* lisp/international/ccl.el (ccl-dump, ccl-dump-call):
	* lisp/international/ja-dic-utl.el (skkdic-lookup-key):
	* lisp/international/mule-cmds.el:
	(select-safe-coding-system-interactively, leim-list-file-name):
	* lisp/international/quail.el (quail-use-package, quail-help):
	* lisp/international/titdic-cnv.el (tit-process-header)
	(miscdic-convert):
	Respect text quoting style in doc strings and diagnostics.
	* lisp/international/quail.el (lisp/international/quail.el):
	* lisp/leim/quail/ethiopic.el ("ethiopic"):
	Escape apostrophes in doc strings.

	Make ‘text-quoting-style’ a plain defvar
	It doesn’t need customization, as it’s likely useful only by experts.
	Suggested by Stefan Monnier in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg01020.html
	* lisp/cus-start.el: Remove doc.c section for builtin customized vars.

	Quoting fixes in lisp/textmodes
	* lisp/textmodes/bibtex.el (bibtex-validate)
	(bibtex-validate-globally, bibtex-search-entries):
	* lisp/textmodes/ispell.el (ispell-command-loop):
	* lisp/textmodes/page-ext.el (search-pages, pages-directory):
	* lisp/textmodes/texinfmt.el (texinfmt-version)
	(texinfo-format-region, texinfo-format-buffer-1):
	* lisp/textmodes/two-column.el (2C-split):
	Respect text quoting style in doc strings and diagnostics.
	* lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
	* lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
	Escape apostrophes in doc strings.

	Documentation fixes re quotes
	Prefer curved quotes in examples if users will typically see
	curved quotes when the examples run.
	Mention format-message when appropriate.
	Don’t use @code in examples.
	Quote an apostrophe with @kbd.

	Quoting fixes in lisp/progmodes
	* lisp/progmodes/cc-engine.el (c-bos-report-error):
	* lisp/progmodes/cpp.el (cpp-edit-reset):
	* lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
	* lisp/progmodes/etags.el (etags-tags-apropos-additional)
	(etags-tags-apropos, list-tags, tags-apropos):
	* lisp/progmodes/executable.el (executable-set-magic):
	* lisp/progmodes/octave.el (octave-sync-function-file-names)
	(octave-help, octave-find-definition-default-filename)
	(octave-find-definition):
	Respect text quoting style in doc strings and diagnostics.
	* lisp/progmodes/cc-langs.el (c-populate-syntax-table):
	* lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
	* lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
	Escape apostrophes in doc strings.
	* lisp/progmodes/cmacexp.el (c-macro-expansion):
	Use straight quoting in ASCII comment.
	* lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
	(idlwave-pad-keyword):
	* lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
	(vhdl-electric-open-bracket, vhdl-electric-close-bracket):
	(vhdl-electric-semicolon, vhdl-electric-comma)
	(vhdl-electric-period, vhdl-electric-equal):
	Use directed quotes in diagnostics and doc strings.

2015-08-30  Xue Fuqiao  <xfq.free@gmail.com>

	Minor documentation and NEWS tweak
	* doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
	Add an index entry.
	* etc/NEWS: Fix a typo in character-fold-to-regexp.

2015-08-30  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-convert-file-attributes):
	Revert patch from 2015-08-24.  Tramp shall behave like for local files.
	* test/automated/tramp-tests.el (tramp-test18-file-attributes):
	Adapt test.

2015-08-30  Paul Eggert  <eggert@cs.ucla.edu>

	Text quoting fixes in cedet, emulation, emacs-lisp
	* lisp/cedet/ede.el (ede-check-project-directory):
	* lisp/cedet/semantic/analyze/debug.el
	(semantic-analyzer-debug-insert-include-summary):
	* lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
	* lisp/cedet/semantic/decorate/include.el
	(semantic-decoration-unknown-include-describe)
	(semantic-decoration-all-include-summary):
	* lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
	* lisp/emulation/edt.el (edt-load-keys):
	* lisp/emulation/viper-cmd.el
	(viper-display-current-destructive-command)
	(viper-query-replace, viper-brac-function):
	* lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
	* lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
	Respect text quoting style in doc string or diagnostic.
	* lisp/cedet/mode-local.el (describe-mode-local-overload):
	Use format-message to avoid overtranslating quotes.
	* lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
	Escape an apostrophe in a docstring.
	* lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.

2015-08-29  Daniel Colascione  <dancol@dancol.org>

	Fix which-func for curly quotes: look for symbol, not message
	* lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
	imenu-unavailable error symbol instead of trying to match message
	exactly.
	* lisp/imenu.el (imenu-unavailable): New error.
	(imenu-unavailable-error): New function.

2015-08-29  Eli Zaretskii  <eliz@gnu.org>

	Fix Python tests on MS-Windows
	* test/automated/python-tests.el
	(python-shell-calculate-command-1): Run python-shell-interpreter
	through shell-quote-argument before comparing with what
	python-shell-calculate-command returns.
	(python-shell-calculate-pythonpath-1)
	(python-shell-calculate-pythonpath-2)
	(python-shell-calculate-process-environment-2): Use path-separator
	instead of a literal ':'.
	(python-shell-calculate-exec-path-2)
	(python-shell-calculate-exec-path-3)
	(python-shell-calculate-exec-path-4)
	(python-shell-with-environment-1)
	(python-shell-with-environment-2): Run "/env/bin" through
	expand-file-name before comparing with exec-path.  (Bug#21375)

2015-08-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Use Core Text types/functions/variables/enumerators directly
	* src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
	(CharacterCollection): Remove typedefs.  All uses replaced with
	definitions.
	(MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
	(MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
	(MAC_FONT_CASCADE_LIST_ATTRIBUTE)
	(MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
	(MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
	(MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
	(MAC_FONT_SLANT_TRAIT): Remove macros.  All uses replaced with
	definitions.
	(MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
	(MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
	(MAC_FONT_FORMAT_BITMAP)
	(MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
	(MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
	All uses replaced with definitions.
	(kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
	(kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
	(kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
	Add compatibility enumerators for older versions.
	(mac_font_descriptor_create_with_attributes)
	(mac_font_descriptor_create_matching_font_descriptors)
	(mac_font_descriptor_create_matching_font_descriptor)
	(mac_font_descriptor_copy_attribute)
	(mac_font_descriptor_supports_languages)
	(mac_font_create_with_name, mac_font_get_size)
	(mac_font_copy_family_name, mac_font_copy_character_set)
	(mac_font_get_glyphs_for_characters, mac_font_get_ascent)
	(mac_font_get_descent, mac_font_get_leading)
	(mac_font_get_underline_position)
	(mac_font_get_underline_thickness, mac_font_copy_graphics_font)
	(mac_font_copy_non_synthetic_table): Remove macros.  All uses
	replaced with definitions.
	(mac_font_create_preferred_family_for_attributes)
	(mac_font_get_advance_width_for_glyph)
	(mac_font_get_bounding_rect_for_glyph)
	(mac_font_create_available_families, mac_font_shape):
	Remove macros for renamed functions.
	(mac_nsctfont_copy_font_descriptor): Remove unused macro.
	* src/macfont.m (mac_font_descriptor_supports_languages):
	Rename from mac_ctfont_descriptor_supports_languages.
	(mac_font_create_preferred_family_for_attributes): Rename from
	mac_ctfont_create_preferred_family_for_attributes.
	(mac_font_get_advance_width_for_glyph): Rename from
	mac_ctfont_get_advance_width_for_glyph.
	Use kCTFontOrientationDefault also for older versions.
	(mac_font_get_bounding_rect_for_glyph): Rename from
	mac_ctfont_get_bounding_rect_for_glyph.
	Use kCTFontOrientationDefault also for older versions.
	(mac_font_create_available_families): Rename from
	mac_ctfont_create_available_families.
	(mac_font_equal_in_postscript_name): Rename from
	mac_ctfont_equal_in_postscript_name.  All uses changed.
	(mac_font_create_line_with_string_and_font): Rename from
	mac_ctfont_create_line_with_string_and_font.  All uses changed.
	(mac_font_shape): Rename from mac_ctfont_shape.
	(mac_font_family_compare): Remove unused declaration.

2015-08-29  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor text quoting in calc, calendar, vc
	* lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
	* lisp/calc/calc-help.el (calc-j-prefix-help):
	* lisp/calc/calc-misc.el (calc-help):
	* lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
	Escape an apostrophe in a docstring.
	* lisp/calc/calc-forms.el (calc-hms-notation):
	* lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
	Escape an apostrophe in a diagnostic.
	* lisp/calc/calc-misc.el (calc-help):
	* lisp/calendar/diary-lib.el (diary-include-files):
	* lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
	* lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
	* lisp/vc/ediff-diff.el (ediff-same-contents):
	* lisp/vc/ediff-merg.el (ediff-re-merge):
	* lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
	* lisp/vc/ediff-util.el (ediff-test-save-region)
	(ediff-status-info):
	* lisp/vc/ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor):
	* lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
	* lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
	Respect text quoting style in doc string or diagnostic.
	* lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
	* lisp/vc/add-log.el (change-log-goto-source):
	Avoid double-formatting.
	* lisp/vc/ediff-init.el (format-message):
	New backward-compatibility alias.

2015-08-28  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor text quoting problems in lisp top level
	* lisp/apropos.el (apropos-describe-plist):
	* lisp/cus-theme.el (customize-themes):
	* lisp/dired.el (dired-log):
	* lisp/help-fns.el (describe-variable):
	* lisp/hexl.el (hexl-insert-multibyte-char):
	* lisp/info.el (Info-finder-find-node):
	* lisp/json.el (json-read-string):
	* lisp/novice.el (disabled-command-function)
	(disabled-command-function):
	* lisp/startup.el (normal-mouse-startup-screen):
	* lisp/woman.el (WoMan-log, WoMan-warn):
	Respect text quoting style in doc string or diagnostic.
	* lisp/replace.el (replace-character-fold):
	* src/syntax.c (Fmodify_syntax_entry):
	Escape an apostrophe in a docstring.
	* lisp/tempo.el (tempo-define-template):
	Remove confusing apostrophe from docstring.
	* lisp/whitespace.el (whitespace-mark-x):
	Use directed quotes in docstring.

2015-08-28  Simen Heggestøyl  <simenheg@gmail.com>

	Fix indentation rule in css-mode
	* lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
	brackets in presence of pseudo-selectors.  (Bug#21328)

2015-08-28  Eli Zaretskii  <eliz@gnu.org>

	Fix a bug in recording a macro while flyspell-mode is active
	* lisp/subr.el (sit-for): Don't call read-event when recording a
	macro.  (Bug#21329)

2015-08-27  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>

	Tweak startup screen quoting
	* lisp/startup.el (normal-splash-screen): Use standard
	"M-" abbreviation rather than a confusingly-different one.
	(normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.

2015-08-27  Paul Eggert  <eggert@cs.ucla.edu>

	Add test case for ‘format’ bug and refactor
	* src/editfns.c (styled_format): Refactor internally, mostly by
	moving declarations closer to uses.  This should not affect behavior.
	* test/automated/textprop-tests.el (textprop-tests-format): New test.

	Fix ‘format’ bug with property offsets
	* src/editfns.c (styled_format): Fix recently-introduced ‘format’
	bug in calculating string property offsets (Bug#21351).

	Use straight quotes in lib-src diagnostics
	These auxiliary programs can’t use Emacs’s text-quoting-style,
	and it’s too much trouble to redo that mechanism by hand.
	So just use straight quotes for now.
	* lib-src/ebrowse.c (main):
	* lib-src/emacsclient.c (decode_options, main):
	* lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
	(Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
	(Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
	(none_help, print_language_names, print_help, add_regex)
	(suggest_asking_for_help):
	* lib-src/make-docfile.c (write_c_args, scan_c_stream):
	Use straight quotes in diagnostics.

	‘text-quoting-style’ fixes for admin
	* admin/admin.el (cusver-scan, cusver-check):
	* admin/authors.el (authors-canonical-file-name):
	* admin/bzrmerge.el (bzrmerge-missing):
	Respect ‘text-quoting-style’ in diagnostics.

2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>

	Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
	This removes the need for GCPRO1 etc.  Suggested by Stefan Monnier in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00918.html
	* doc/lispref/internals.texi (Writing Emacs Primitives):
	* etc/NEWS:
	Document the change.
	* src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
	(nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
	(Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
	* src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
	* src/eval.c (gcpro_level) [DEBUG_GCPRO]:
	* src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
	(GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
	(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
	(BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
	(GCPRO7, UNGCPRO, RETURN_UNGCPRO):
	Remove.  All uses removed.  The code now assumes
	GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
	* src/bytecode.c (relocate_byte_stack):
	Rename from unmark_byte_stack, since it now only relocates.
	All callers changed.
	* src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
	with GCPROs removed.
	* src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
	* test/automated/finalizer-tests.el (finalizer-basic)
	(finalizer-circular-reference, finalizer-cross-reference)
	(finalizer-error):
	* test/automated/generator-tests.el (cps-test-iter-close-finalizer):
	Remove tests, as they depend on gc-precise.

2015-08-26  Nicolas Petton  <nicolas@petton.fr>

	Improve seq-concatenate for new sequence types
	Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
	ensure that concatenation happens on sequences only.  This makes it
	possible to use `seq-concatenate' for new types of seqs.
	* lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
	New function used in `seq-concatenate'.
	* test/automated/seq-tests.el (test-seq-into-sequence): New unit test
	for seq-into-sequence.

2015-08-26  Stephen Leake  <stephen_leake@stephe-leake.org>

	Add mode local overrides to xref-find-definitions
	* lisp/cedet/mode-local.el (xref-mode-local--override-present)
	(xref-mode-local-overload): New; add mode local overrides to
	xref-find-definitions.
	* test/automated/elisp-mode-tests.el: Add mode local override tests.
	(xref-elisp-test-run): Handle indented defuns.
	(xref-elisp-generic-*): Improve doc strings.
	* lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
	(elisp--xref-find-definitions): Use it.

	Add mode local overrides to describe-function
	* lisp/cedet/mode-local.el (describe-mode-local-overload):
	New; add mode local overrides to describe-function.
	* etc/NEWS: Document change.

2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer straight quoting in some etc text files
	These files are plain text and might be used by non-Emacs apps.
	They’re mostly ASCII, so just use straight quotes.

	Fix quoting in ‘message_with_string’
	* src/nsfont.m (nsfont_open): Use directed quotes in format; they
	should work now.
	* src/xdisp.c (message_to_stderr): New function, refactored from
	part of ‘message3_nolog’.
	(message3_nolog): Use it.
	(message_with_string): Use it.  Don’t mishandle NUL bytes when
	noninteractive.  Prefer AUTO_STRING when it’s most likely faster.
	Use ‘format-message’, not ‘format’, so that quotes are translated.

2015-08-26  Eli Zaretskii  <eliz@gnu.org>

	Mention false positives of file-accessible-directory on w32
	* src/fileio.c (Ffile_accessible_directory_p): Doc fix.
	(Bug#21346)

2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>

	Treat error strings as help
	* src/print.c (print_error_message): Translate quotes and command
	keys in errmsg so that users see, e.g., "Symbol’s value as
	variable is void: foo" when text-quoting-style is curved.

2015-08-26  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-cache.el (top): Use `message', not `format-message'.

2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>

	Top-level elisp files respect ‘text-quoting-style’
	In top-level elisp files, use format-message in diagnostic formats,
	so that they follow user preference as per ‘text-quoting-style’
	rather than being hard-coded to quote `like this'.
	* lisp/allout.el (allout-get-configvar-values):
	* lisp/apropos.el (apropos-symbols-internal):
	* lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
	(dired-do-create-files-regexp, dired-create-files-non-directory):
	* lisp/dired-x.el (dired-do-run-mail):
	* lisp/dired.el (dired-log, dired-dnd-handle-local-file):
	* lisp/disp-table.el (standard-display-european):
	* lisp/find-dired.el (find-dired):
	* lisp/forms.el (forms-mode):
	* lisp/ido.el (ido-buffer-internal):
	* lisp/info.el (Info-index-next):
	* lisp/outline.el (outline-invent-heading):
	* lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
	* lisp/proced.el (proced-log):
	* lisp/ps-print.el (ps-print-preprint, ps-get-size):
	* lisp/recentf.el (recentf-open-files, recentf-save-list):
	* lisp/savehist.el (savehist-save):
	* lisp/server.el (server-ensure-safe-dir):
	* lisp/ses.el (ses-rename-cell):
	* lisp/simple.el (list-processes--refresh):
	* lisp/startup.el (command-line):
	* lisp/strokes.el (strokes-unset-last-stroke)
	(strokes-execute-stroke):
	Use format-message so that quotes are restyled.
	* lisp/cus-edit.el (custom-raised-buttons, customize-browse):
	Don’t quote ‘raised’.
	* lisp/descr-text.el (describe-char):
	* lisp/dirtrack.el (dirtrack-debug-message):
	* lisp/hexl.el (hexl-insert-multibyte-char):
	Apply substitute-command-keys to help string.
	* lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
	(wdired-do-perm-changes):
	Let dired-log do the formatting.

2015-08-25  Paul Eggert  <eggert@cs.ucla.edu>

	Go back to grave quoting in Tramp
	* lisp/net/tramp-adb.el:
	* lisp/net/tramp-cache.el:
	* lisp/net/tramp-compat.el:
	* lisp/net/tramp-gvfs.el:
	* lisp/net/tramp-gw.el:
	* lisp/net/tramp-sh.el:
	* lisp/net/tramp-smb.el:
	* lisp/net/tramp.el:
	Stick with grave quoting in diagnostics strings.  This is more
	portable to older Emacs, desirable for Tramp.
	* lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
	for diagnostic that needs requoting.
	* lisp/net/tramp-compat.el (format-message):
	Fall back on simple ‘format’, since that’s good enough now.

	Go back to grave quoting in Gnus
	* lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
	* lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
	(gnus-agent-fetch-headers):
	* lisp/gnus/gnus-int.el (gnus-start-news-server):
	* lisp/gnus/gnus-registry.el:
	(gnus-registry--split-fancy-with-parent-internal)
	(gnus-registry-post-process-groups):
	* lisp/gnus/gnus-score.el (gnus-summary-increase-score):
	* lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
	* lisp/gnus/gnus-topic.el (gnus-topic-rename):
	* lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
	* lisp/gnus/spam.el (spam-check-blackholes):
	Stick with grave quoting in diagnostics strings.  This is more
	portable to older Emacs, desirable for Gnus.

	Fix customization of text-quoting-style
	* lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
	* lisp/wid-edit.el (widget-docstring):
	Get raw docstring here since it’s cooked later and should not be
	cooked twice.
	* lisp/cus-edit.el (custom-group-value-create):
	Cook the docstring before inserting it.
	* lisp/cus-start.el (text-quoting-style): Quote the customization
	docstrings according to the new rules.  Give curved examples.

	format-message now curves ` and '
	That way, the caller doesn’t have to use curved quotes to
	get diagnostics that match the text-quoting-style preferences.
	Suggested by Dmitry Gutov in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00893.html
	This means we no longer need %qs, so remove that format.
	While we’re at it, fix an unlikely bug and lessen the pressure
	on the garbage collector by processing the string once rather
	than twice in the usual case.
	* doc/lispref/strings.texi (Formatting Strings):
	* etc/NEWS: Document this.
	* lisp/subr.el (format-message): Remove; now done in C.
	* src/callint.c (Fcall_interactively):
	* src/editfns.c (Fmessage, Fmessage_box):
	Use Fformat_message instead of Finternal__text_restyle
	followed by Fformat.
	* src/doc.c (LSQM, RSQM): Remove; all uses changed to use
	uLSQM and uRSQM.
	(Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
	when pure ASCII now suffices.  Fix unlikely bug when parsing
	unibyte string containing non-ASCII bytes.  Use inline code
	rather than memcpy, as it’s a tiny number of bytes.
	(Finternal__text_restyle): Remove; no longer used.
	(syms_of_doc): Don’t declare it.
	* src/editfns.c (Fformat): Rewrite in terms of new function
	‘styled_format’.
	(Fformat_message): New function, moved here from subr.el.
	(styled_format): New function, with the old guts of Fformat,
	except it now optionally transliterates quotes, and it transliterates
	traditional grave accent and apostrophe quoting as well.
	Remove recently-added q flag; no longer needed or used.
	(syms_of_editfns): Define format-message.
	* src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
	Remove; no longer need to be global symbols.
	* src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
	so that callers can use `%s'.
	* src/image.c (image_size_error, xbm_load_image, xbm_load)
	(xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
	(gif_load, imagemagick_load_image, imagemagick_load, svg_load)
	(svg_load_image, gs_load, x_kill_gs_process):
	* src/lread.c (load_warn_old_style_backquotes):
	* src/xfaces.c (load_pixmap):
	* src/xselect.c (x_clipboard_manager_error_1):
	Use `%s' instead of %qs in formats.

2015-08-25  Eli Zaretskii  <eliz@gnu.org>

	Minor fixes in doc/emacs/search.texi
	* doc/emacs/search.texi (Basic Isearch): Fix a typo.
	(Special Isearch): Use @w{} to generate several consecutive spaces
	with Texinfo 6.  (Bug#21345)

2015-08-25  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
	(tramp-awk-coding-test): New defconsts.
	(tramp-remote-coding-commands): Use them.
	(tramp-find-inline-encoding): Check for Perl only if necessary.

2015-08-25  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
	index entries for the special form `quote'.

2015-08-25  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

	Gnus format-message typo fix
	* lisp/gnus/gnus-util.el (gnus-format-message):
	Fix typo when running in older Emacs.

	Prefer directed to neutral quotes in docstings and diagnostics.
	In docstrings, escape apostrophes that would otherwise be translated
	to curved quotes using the newer, simpler rules.
	* admin/unidata/unidata-gen.el (unidata-gen-table):
	* lisp/align.el (align-region):
	* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
	* lisp/bookmark.el (bookmark-default-annotation-text):
	* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
	* lisp/calc/calc-lang.el (math-read-giac-subscr)
	(math-read-math-subscr):
	* lisp/calc/calc-misc.el (report-calc-bug):
	* lisp/calc/calc-prog.el (calc-fix-token-name)
	(calc-read-parse-table-part):
	* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
	* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
	* lisp/dabbrev.el (dabbrev-expand):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* lisp/emacs-lisp/elint.el (elint-get-top-forms):
	* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
	* lisp/emulation/viper-cmd.el (viper-toggle-search-style):
	* lisp/erc/erc-button.el (erc-nick-popup):
	* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
	* lisp/eshell/em-dirs.el (eshell/cd):
	* lisp/eshell/em-glob.el (eshell-glob-regexp):
	* lisp/eshell/em-pred.el (eshell-parse-modifiers):
	* lisp/eshell/esh-arg.el (eshell-parse-arguments):
	* lisp/eshell/esh-opt.el (eshell-show-usage):
	* lisp/files-x.el (modify-file-local-variable):
	* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
	(filesets-update-pre010505):
	* lisp/find-cmd.el (find-generic, find-to-string):
	* lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
	* lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
	(gnus-agent-fetch-headers):
	* lisp/gnus/gnus-int.el (gnus-start-news-server):
	* lisp/gnus/gnus-registry.el:
	(gnus-registry--split-fancy-with-parent-internal):
	* lisp/gnus/gnus-score.el (gnus-summary-increase-score):
	* lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
	* lisp/gnus/gnus-topic.el (gnus-topic-rename):
	* lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
	* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
	* lisp/gnus/spam.el (spam-check-blackholes):
	* lisp/mail/feedmail.el (feedmail-run-the-queue):
	* lisp/mpc.el (mpc-playlist-rename):
	* lisp/net/ange-ftp.el (ange-ftp-shell-command):
	* lisp/net/mairix.el (mairix-widget-create-query):
	* lisp/net/tramp-cache.el:
	* lisp/obsolete/otodo-mode.el (todo-more-important-p):
	* lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
	* lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
	* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
	* lisp/org/ob-core.el (org-babel-goto-named-src-block)
	(org-babel-goto-named-result):
	* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
	* lisp/org/ob-ref.el (org-babel-ref-resolve):
	* lisp/org/org-agenda.el (org-agenda-prepare):
	* lisp/org/org-bibtex.el (org-bibtex-fields):
	* lisp/org/org-clock.el (org-clock-notify-once-if-expired)
	(org-clock-resolve):
	* lisp/org/org-feed.el (org-feed-parse-atom-entry):
	* lisp/org/org-habit.el (org-habit-parse-todo):
	* lisp/org/org-mouse.el (org-mouse-popup-global-menu)
	(org-mouse-context-menu):
	* lisp/org/org-table.el (org-table-edit-formulas):
	* lisp/org/ox.el (org-export-async-start):
	* lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
	(dun-rooms, dun-endgame-questions):
	* lisp/progmodes/ada-mode.el (ada-goto-matching-start):
	* lisp/progmodes/ada-xref.el (ada-find-executable):
	* lisp/progmodes/antlr-mode.el (antlr-options-alists):
	* lisp/progmodes/flymake.el (flymake-parse-err-lines)
	(flymake-start-syntax-check-process):
	* lisp/progmodes/python.el (python-define-auxiliary-skeleton):
	* lisp/progmodes/sql.el (sql-comint):
	* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
	* lisp/server.el (server-get-auth-key):
	* lisp/subr.el (version-to-list):
	* lisp/textmodes/reftex-ref.el (reftex-label):
	* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
	* lisp/vc/ediff-diff.el (ediff-same-contents):
	* lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
	* test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
	Use directed rather than neutral quotes in diagnostics.

	Treat ' like ’ even when not matching `
	This is simpler and easier to explain, and should encourage better
	typography.  Do this in Electric Quote mode and when translating
	quotes in docstrings.  Inspired by a suggestion by Dmitry Gutov in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00806.html
	* doc/emacs/text.texi (Quotation Marks):
	* doc/lispref/help.texi (Keys in Documentation):
	* etc/NEWS:
	Document this.
	* lisp/electric.el (electric-quote-post-self-insert-function):
	* src/doc.c (Fsubstitute_command_keys):
	Always treat ' like ’ even when not matched by an open quote.

2015-08-25  Glenn Morris  <rgm@gnu.org>

	* doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
	* lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.

2015-08-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/macfont.m (macfont_create_family_with_symbol):
	Accept localized names.

2015-08-24  Paul Eggert  <eggert@cs.ucla.edu>

	Tramp diagnostics as per ‘text-quoting-style’
	* lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
	(tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
	(tramp-adb-handle-delete-directory)
	(tramp-adb-handle-delete-file)
	(tramp-adb-handle-file-local-copy)
	(tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
	(tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
	(tramp-adb-maybe-open-connection):
	* lisp/net/tramp-cache.el:
	* lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
	(tramp-compat-octal-to-decimal)
	(tramp-compat-coding-system-change-eol-conversion):
	* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
	(tramp-gvfs-do-copy-or-rename-file)
	(tramp-gvfs-handle-delete-directory)
	(tramp-gvfs-handle-delete-file)
	(tramp-gvfs-handle-expand-file-name)
	(tramp-gvfs-handle-file-local-copy)
	(tramp-gvfs-handle-file-notify-add-watch)
	(tramp-gvfs-handle-make-directory)
	(tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
	* lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
	(tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
	* lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
	(tramp-sh-handle-set-visited-file-modtime)
	(tramp-sh-handle-set-file-modes)
	(tramp-sh-handle-file-name-all-completions)
	(tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-sh-handle-make-directory)
	(tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
	(tramp-sh-handle-insert-directory, tramp-process-sentinel)
	(tramp-sh-handle-start-file-process)
	(tramp-sh-handle-file-local-copy)
	(tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
	(tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
	(tramp-find-file-exists-command, tramp-open-shell)
	(tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-find-inline-encoding, tramp-find-inline-compress)
	(tramp-compute-multi-hops, tramp-maybe-open-connection)
	(tramp-wait-for-output, tramp-send-command-and-check)
	(tramp-send-command-and-read, tramp-get-remote-path)
	(tramp-get-ls-command, tramp-get-ls-command-with-dired)
	(tramp-get-ls-command-with-quoting-style)
	(tramp-get-test-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-python):
	* lisp/net/tramp-smb.el (tramp-smb-errors)
	(tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
	(tramp-smb-handle-delete-directory)
	(tramp-smb-handle-delete-file)
	(tramp-smb-handle-file-local-copy)
	(tramp-smb-handle-make-directory)
	(tramp-smb-handle-make-directory-internal)
	(tramp-smb-handle-make-symbolic-link)
	(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):
	* lisp/net/tramp.el (tramp-debug-message, tramp-error)
	(tramp-process-actions):
	Generate diagnostics according to ‘text-quoting-style’, by
	using curved quotes in format strings and ‘format-message’
	when appropriate.
	* lisp/net/tramp-compat.el (format-message):
	Define a replacement, if it’s an older version of Emacs
	that doesn’t have it already.

	* etc/NEWS: Clarify text-quoting-style and electric-quote-mode.

2015-08-24  Xue Fuqiao  <xfq.free@gmail.com>

	Fix documentation for `save-excursion'
	* doc/lispref/positions.texi (Excursions):
	* doc/lispintro/emacs-lisp-intro.texi (save-excursion)
	(Template for save-excursion, Point and mark): `save-excursion'
	does not save&restore the mark any more.

2015-08-24  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
	New defconsts.
	(tramp-do-file-attributes-with-stat)
	(tramp-do-directory-files-and-attributes-with-stat): Use them.
	(tramp-convert-file-attributes): Remove double slashes in symlinks.
	* test/automated/tramp-tests.el (tramp-test18-file-attributes):
	Handle symlinks with "//" in the file name.

	Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.

2015-08-24  Nicolas Petton  <nicolas@petton.fr>

	Fix cl-subseq and cl-concatenate
	* lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
	seq functions.
	* lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
	seq-concatenate.

2015-08-24  Pip Cet  <pipcet@gmail.com>  (tiny change)

	Fix full-screen code when there is no window manager (Bug#21317)
	* src/xterm.h (x_wm_supports): Declare external.
	* src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
	(do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
	(x_check_fullscreen): Call `x_wm_set_size_hint', restore
	`fullscreen' frame parameter.
	* src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
	without a window manager.

2015-08-24  Glenn Morris  <rgm@gnu.org>

	* lisp/version.el (emacs-version): No longer include build host.
	* doc/lispref/intro.texi (Version Info): Update example.

2015-08-24  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/lispref/elisp.texi: Fix typo in previous change.

	More-conservative ‘format’ quote restyling
	Instead of restyling curved quotes for every call to ‘format’,
	create a new function ‘format-message’ that does the restyling,
	and using the new function instead of ‘format’ only in contexts
	where this seems appropriate.
	Problem reported by Dmitry Gutov and Andreas Schwab in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00826.html
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00827.html
	* doc/lispref/commands.texi (Using Interactive):
	* doc/lispref/control.texi (Signaling Errors, Signaling Errors):
	* doc/lispref/display.texi (Displaying Messages, Progress):
	* doc/lispref/elisp.texi:
	* doc/lispref/help.texi (Keys in Documentation):
	* doc/lispref/minibuf.texi (Minibuffer Misc):
	* doc/lispref/strings.texi (Formatting Strings):
	* etc/NEWS:
	Document the changes.
	* lisp/abbrev.el (expand-region-abbrevs):
	* lisp/apropos.el (apropos-library):
	* lisp/calc/calc-ext.el (calc-record-message)
	(calc-user-function-list):
	* lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
	* lisp/calc/calc-lang.el (math-read-big-balance):
	* lisp/calc/calc-store.el (calc-edit-variable):
	* lisp/calc/calc-units.el (math-build-units-table-buffer):
	* lisp/calc/calc-yank.el (calc-edit-mode):
	* lisp/calendar/icalendar.el (icalendar-export-region)
	(icalendar--add-diary-entry):
	* lisp/cedet/mode-local.el (mode-local-print-binding)
	(mode-local-describe-bindings-2):
	* lisp/cedet/semantic/complete.el (semantic-completion-message):
	* lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
	* lisp/cedet/semantic/wisent/comp.el (wisent-log):
	* lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
	* lisp/descr-text.el (describe-text-properties-1, describe-char):
	* lisp/dframe.el (dframe-message):
	* lisp/dired-aux.el (dired-query):
	* lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
	* lisp/emacs-lisp/bytecomp.el (byte-compile-log)
	(byte-compile-log-file, byte-compile-warn, byte-compile-form):
	* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
	(cconv-analyze-form):
	* lisp/emacs-lisp/check-declare.el (check-declare-warn):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
	* lisp/emacs-lisp/edebug.el (edebug-format):
	* lisp/emacs-lisp/eieio-core.el (eieio-oref):
	* lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
	(eldoc-message):
	* lisp/emacs-lisp/elint.el (elint-file, elint-log):
	* lisp/emacs-lisp/find-func.el (find-function-library):
	* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
	* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
	* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
	* lisp/emacs-lisp/package.el (package-compute-transaction)
	(package-install-button-action, package-delete-button-action)
	(package-menu--list-to-prompt):
	* lisp/emacs-lisp/timer.el (timer-event-handler):
	* lisp/emacs-lisp/warnings.el (lwarn, warn):
	* lisp/emulation/viper-cmd.el:
	(viper-toggle-parse-sexp-ignore-comments)
	(viper-kill-buffer, viper-brac-function):
	* lisp/emulation/viper-macs.el (viper-record-kbd-macro):
	* lisp/facemenu.el (facemenu-add-new-face):
	* lisp/faces.el (face-documentation, read-face-name)
	(face-read-string, read-face-font, describe-face):
	* lisp/files.el (find-alternate-file, hack-local-variables)
	(hack-one-local-variable--obsolete, write-file)
	(basic-save-buffer, delete-directory):
	* lisp/format.el (format-write-file, format-find-file)
	(format-insert-file):
	* lisp/help-fns.el (help-fns--key-bindings)
	(help-fns--compiler-macro, help-fns--obsolete)
	(help-fns--interactive-only, describe-function-1)
	(describe-variable):
	* lisp/help.el (describe-mode):
	* lisp/info-xref.el (info-xref-output):
	* lisp/info.el (Info-virtual-index-find-node)
	(Info-virtual-index, info-apropos):
	* lisp/international/kkc.el (kkc-error):
	* lisp/international/mule-cmds.el:
	(select-safe-coding-system-interactively)
	(select-safe-coding-system, describe-input-method):
	* lisp/international/mule-conf.el (code-offset):
	* lisp/international/mule-diag.el (describe-character-set)
	(list-input-methods-1):
	* lisp/international/quail.el (quail-error):
	* lisp/minibuffer.el (minibuffer-message):
	* lisp/mpc.el (mpc--debug):
	* lisp/msb.el (msb--choose-menu):
	* lisp/net/ange-ftp.el (ange-ftp-message):
	* lisp/net/gnutls.el (gnutls-message-maybe):
	* lisp/net/newst-backend.el (newsticker--sentinel-work):
	* lisp/net/newst-treeview.el (newsticker--treeview-load):
	* lisp/net/nsm.el (nsm-query-user):
	* lisp/net/rlogin.el (rlogin):
	* lisp/net/soap-client.el (soap-warning):
	* lisp/net/tramp.el (tramp-debug-message):
	* lisp/nxml/nxml-outln.el (nxml-report-outline-error):
	* lisp/nxml/nxml-parse.el (nxml-parse-error):
	* lisp/nxml/rng-cmpct.el (rng-c-error):
	* lisp/nxml/rng-match.el (rng-compile-error):
	* lisp/nxml/rng-uri.el (rng-uri-error):
	* lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
	* lisp/org/org-ctags.el:
	(org-ctags-ask-rebuild-tags-file-then-find-tag):
	* lisp/proced.el (proced-log):
	* lisp/progmodes/ebnf2ps.el (ebnf-log):
	* lisp/progmodes/flymake.el (flymake-log):
	* lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
	* lisp/replace.el (occur-1):
	* lisp/simple.el (execute-extended-command)
	(undo-outer-limit-truncate, define-alternatives):
	* lisp/startup.el (command-line):
	* lisp/subr.el (error, user-error, add-to-list):
	* lisp/tutorial.el (tutorial--describe-nonstandard-key)
	(tutorial--find-changed-keys):
	* src/callint.c (Fcall_interactively):
	* src/editfns.c (Fmessage, Fmessage_box):
	Restyle the quotes of format strings intended for use as a
	diagnostic, when restyling seems appropriate.
	* lisp/subr.el (format-message): New function.
	* src/doc.c (Finternal__text_restyle): New function.
	(syms_of_doc): Define it.

2015-08-23  Paul Eggert  <eggert@cs.ucla.edu>

	* etc/NEWS: The new ‘q’ flag is not an incompatible change.

2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Fix python-shell-buffer-substring on indented code
	(Bug#21086)
	* lisp/progmodes/python.el (python-shell-buffer-substring):
	Respect current line indentation when calculating string.
	* test/automated/python-tests.el
	(python-shell-buffer-substring-10)
	(python-shell-buffer-substring-11)
	(python-shell-buffer-substring-12): New tests.

2015-08-23  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor glitches from ‘format’ reversion
	* doc/lispref/strings.texi (Formatting Strings):
	After reversion, ‘text-quoting-style’ is documented in ‘Keys in
	Documentation’, not below.
	* src/syntax.c (Finternal_describe_syntax_value):
	Prefer AUTO_STRING to build_string where either will do, as
	AUTO_STRING is a bit faster.

2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Defer shell setup code until first interactive prompt
	* lisp/progmodes/python.el
	(python-shell-comint-watch-for-first-prompt-output-filter):
	New function.
	(inferior-python-mode): Use it.
	(python-shell-first-prompt-hook): New hook.
	(python-shell-send-setup-code)
	(python-shell-completion-native-turn-on-maybe-with-msg): Attach to
	this hook instead of inferior-python-hook.

2015-08-23  Nicolas Petton  <nicolas@petton.fr>

	Remove the calls to `seq-into` from `seq-concatenate`
	Since most new types of seq would have to be defined as sequences (cons
	cells or CL structs, mostly), there is no need to convert the seqs to
	sequences (which can be a fairly expensive operation).
	* lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
	sequences.

2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Fix completion for pdb interactions
	* lisp/progmodes/python.el (python-shell-completion-setup-code):
	Simplify.  Toggle print_mode for native wrapped completer.
	(python-shell-completion-native-setup): Ensure process buffer.
	Add print_mode attribute to completer wrapper to toggle returning
	or printing candidates.
	(python-shell-completion-native-get-completions): Cleanup.
	(python-shell-completion-get-completions): Cleanup.
	(python-shell-completion-at-point): Perform prompt checks.
	Force fallback completion in pdb interactions.

2015-08-23  Nicolas Petton  <nicolas@petton.fr>

	Make seq.el more extensible by using cl-defmethod
	* lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
	make it easier to extend seq.el with new "seq types".
	* test/automated/seq-tests.el (test-setf-seq-elt): New test.
	* lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
	subseq in cl-extra.el, and use it in seq.el.

2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Fix prompt detection with user overridden interpreter
	* lisp/progmodes/python.el (python-shell-prompt-detect):
	Honor buffer local python-shell-interpreter and
	python-shell-interpreter-interactive-arg.

2015-08-23  Eli Zaretskii  <eliz@gnu.org>

	Support exec-directory with non-ASCII characters on Windows
	* src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
	in the system's ANSI codepage, when it is used for invoking
	cmdproxy.

2015-08-23  Andreas Schwab  <schwab@linux-m68k.org>

	Revert "Extend ‘format’ to translate curved quotes"
	This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.

	Revert "Prefer ‘format’ to ‘substitute-command-keys’"
	This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.

2015-08-23  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
	Clarify "invisible window".

2015-08-23  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
	magic-fallback-mode-alist.

2015-08-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: fallback completion, ffap and eldoc setup enhancements
	Setup codes are now sent continuously so that the current frame is
	always taken into account.  This allows working within debuggers
	and always keeping a fresh version of setup codes that will return
	proper results.
	* lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
	(python-shell-send-setup-code): Send code only when
	python-shell-setup-codes is non-nil.
	(python-shell-completion-string-code): Cleanup trailing newline.
	(python-shell-completion-get-completions): Always use
	python-shell-completion-setup-code.
	(python-ffap-setup-code): Work with any object, not only modules.
	(python-ffap-string-code): Cleanup trailing newline.
	(python-ffap-module-path): Always use python-ffap-setup-code.
	(python-eldoc-string-code): Cleanup trailing newline.
	(python-eldoc--get-doc-at-point): Always use
	python-eldoc-setup-code.  Return non-nil only if docstring is
	found.

	python.el: Increase native completion robustness
	* lisp/progmodes/python.el (python-shell-completion-native-setup):
	Make completer print real candidates and just return dummy ones to
	avoid input modification.
	(python-shell-completion-native-get-completions): Set
	comint-redirect-insert-matching-regexp to non-nil and make
	comint-redirect-finished-regexp match the last dummy candidate.
	Use python-shell-accept-process-output to wait for the full list
	of candidates.

2015-08-22  Eli Zaretskii  <eliz@gnu.org>

	Fix invocation of programs via cmdproxy.exe
	* src/w32proc.c (sys_spawnve): Use exec-directory, not
	invocation-directory, for finding cmdproxy.exe.  When Emacs is
	run from the source tree, look for cmdproxy.exe in the same source
	tree.  (Bug#21323)

2015-08-22  Simen Heggestøyl  <simenheg@gmail.com>

	Handle comments inside unquoted URIs in css-mode
	* lisp/textmodes/css-mode.el (css--uri-re): New defconst.
	(css-syntax-propertize-function): New defconst.
	(css--font-lock-keywords): Handle parens around unquoted URIs.
	(css-mode): Set `syntax-propertize-function'.

2015-08-22  Eli Zaretskii  <eliz@gnu.org>

	Support invocation of Hunspell with multiple dictionaries
	* lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
	Support lists of dictionaries of the form "DICT1,DICT2,...".
	(ispell-hunspell-add-multi-dic): New command.  (Bug#20495)

	Minor formatting changes in ispell.el
	* lisp/textmodes/ispell.el (ispell-create-debug-buffer)
	(ispell-print-if-debug, ispell-aspell-find-dictionary)
	(ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
	(ispell-hunspell-dictionary-alist)
	(ispell-hunspell-fill-dictionary-entry)
	(ispell-find-hunspell-dictionaries, ispell-send-replacement)
	(ispell-buffer-with-debug, ispell-complete-word)
	(ispell-current-dictionary, ispell-current-personal-dictionary)
	(ispell-accept-output, ispell-minor-mode)
	(ispell-personal-dictionary, ispell-dictionary-alist)
	(ispell-really-aspell, ispell-really-hunspell)
	(ispell-encoding8-command, ispell-aspell-supports-utf8)
	(ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
	Fix whitespace, inconsistent capitalization, and arguments in doc
	strings.

2015-08-22  Martin Rudalics  <rudalics@gmx.at>

	* lisp/window.el (adjust-window-trailing-edge): Fix bug where this
	function refused to resize a size-preserved window.

2015-08-22  Eli Zaretskii  <eliz@gnu.org>

	* doc/lispref/windows.texi (Selecting Windows): Improve
	documentation and indexing of 'window-use-time'.

2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
	* lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
	* lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
	* lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
	* lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
	* lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
	* lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
	Fix up commenting style.

2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	text-quoting-style in emacs-lisp diagnostics
	* lisp/emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
	(ad-disable-advice, ad-remove-advice, ad-set-argument)
	(ad-set-arguments):
	* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
	(byte-compile-unfold-lambda, byte-optimize-form-code-walker)
	(byte-optimize-while, byte-optimize-apply):
	* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
	(byte-compile-log-file, byte-compile-format-warn)
	(byte-compile-nogroup-warn, byte-compile-arglist-warn)
	(byte-compile-cl-warn)
	(byte-compile-warn-about-unresolved-functions)
	(byte-compile-file, byte-compile-fix-header)
	(byte-compile--declare-var, byte-compile-file-form-defmumble)
	(byte-compile-form, byte-compile-normal-call)
	(byte-compile-variable-ref, byte-compile-variable-set)
	(byte-compile-subr-wrong-args, byte-compile-setq-default)
	(byte-compile-negation-optimizer)
	(byte-compile-condition-case--old)
	(byte-compile-condition-case--new, byte-compile-save-excursion)
	(byte-compile-defvar, byte-compile-autoload)
	(byte-compile-lambda-form)
	(byte-compile-make-variable-buffer-local, display-call-tree)
	(batch-byte-compile):
	* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
	(cconv-analyze-form):
	* lisp/emacs-lisp/chart.el (chart-space-usage):
	* lisp/emacs-lisp/check-declare.el (check-declare-scan)
	(check-declare-warn, check-declare-file)
	(check-declare-directory):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
	(checkdoc-message-text-engine):
	* lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
	* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
	(cl-symbol-macrolet):
	* lisp/emacs-lisp/cl.el (cl-unload-function, flet):
	* lisp/emacs-lisp/copyright.el (copyright)
	(copyright-update-directory):
	* lisp/emacs-lisp/edebug.el (edebug-read-list):
	* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
	* lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
	(eieio-oref, eieio-oset-default):
	* lisp/emacs-lisp/eieio-speedbar.el:
	(eieio-speedbar-child-make-tag-lines)
	(eieio-speedbar-child-description):
	* lisp/emacs-lisp/eieio.el (defclass, change-class):
	* lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
	(elint-init-form, elint-check-defalias-form)
	(elint-check-let-form):
	* lisp/emacs-lisp/ert.el (ert-get-test):
	* lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
	(find-function-library):
	* lisp/emacs-lisp/generator.el (iter-yield):
	* lisp/emacs-lisp/gv.el (gv-define-simple-setter):
	* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
	* lisp/emacs-lisp/package-x.el (package-upload-file):
	* lisp/emacs-lisp/package.el (package-version-join)
	(package-disabled-p, package-activate-1, package-activate)
	(package--download-one-archive)
	(package--download-and-read-archives)
	(package-compute-transaction, package-install-from-archive)
	(package-install, package-install-selected-packages)
	(package-delete, package-autoremove)
	(package-install-button-action, package-delete-button-action)
	(package-menu-hide-package, package-menu--list-to-prompt)
	(package-menu--perform-transaction)
	(package-menu--find-and-notify-upgrades):
	* lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
	* lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
	* lisp/emacs-lisp/ring.el (ring-next, ring-previous):
	* lisp/emacs-lisp/rx.el (rx-check, rx-anything):
	* lisp/emacs-lisp/smie.el (smie-config-save):
	* lisp/emacs-lisp/subr-x.el (internal--check-binding):
	* lisp/emacs-lisp/testcover.el (testcover-1value):
	Use curved quotes in diagnostic format strings.

2015-08-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Ensure remote process-environment on non-interactive processes
	* lisp/progmodes/python.el
	(python-shell-tramp-refresh-process-environment): New function.
	(python-shell-with-environment): Use it.
	* test/automated/python-tests.el (python-shell-with-environment-2):
	Update.

	python.el: Enhancements to process environment setup.
	* lisp/progmodes/python.el (python-shell-process-environment)
	(python-shell-extra-pythonpaths, python-shell-exec-path)
	(python-shell-virtualenv-root): Update docstring.  Remove :safe.
	(python-shell-setup-codes): Remove :safe.
	(python-shell-remote-exec-path): New defcustom.
	(python-shell--add-to-path-with-priority): New macro.
	(python-shell-calculate-pythonpath): Give priority to
	python-shell-extra-pythonpaths.  Update docstring.
	(python-shell-calculate-process-environment): Give priority to
	python-shell-process-environment.  Update docstring.
	(python-shell-calculate-exec-path): Give priority to
	python-shell-exec-path and calculated virtualenv bin directory.
	Update docstring.
	(python-shell-tramp-refresh-remote-path): New function.
	(python-shell-with-environment): Use it when working remotely and
	do not modify tramp-remote-path.  Allow nesting.
	(python-shell-calculate-command): Remove useless
	python-shell-with-environment call.
	* test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
	(python-shell-calculate-pythonpath-2)
	(python-shell-calculate-process-environment-6)
	(python-shell-calculate-process-environment-7)
	(python-shell-calculate-process-environment-8)
	(python-shell-calculate-exec-path-3)
	(python-shell-calculate-exec-path-4)
	(python-shell-calculate-exec-path-5)
	(python-shell-calculate-exec-path-6)
	(python-shell-with-environment-3): New tests.
	(python-shell-calculate-process-environment-2)
	(python-shell-calculate-process-environment-3)
	(python-shell-calculate-process-environment-4)
	(python-shell-calculate-process-environment-5)
	(python-shell-calculate-exec-path-1)
	(python-shell-calculate-exec-path-2)
	(python-shell-with-environment-1)
	(python-shell-with-environment-2): Update and simplify.

2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid hard-coding "M-x command" in docstrings
	* lisp/calendar/todo-mode.el (todo-mode):
	* lisp/desktop.el (desktop-save-mode):
	* lisp/edmacro.el (edit-kbd-macro):
	* lisp/emacs-lisp/package.el (package-menu-execute):
	* lisp/emulation/viper-cmd.el (viper-ask-level):
	* lisp/emulation/viper-init.el (viper-expert-level):
	* lisp/filesets.el (filesets-add-buffer):
	* lisp/follow.el (follow-mode):
	* lisp/gnus/auth-source.el (auth-sources):
	* lisp/international/ogonek.el (ogonek-informacja)
	(ogonek-information):
	* lisp/net/tramp.el (tramp-process-actions):
	* lisp/org/org-gnus.el (org-gnus-no-new-news):
	* lisp/org/org.el (org-ellipsis):
	* lisp/progmodes/python.el (python-shell-get-process-or-error):
	* lisp/progmodes/vhdl-mode.el (vhdl-mode):
	* lisp/server.el (server-start):
	* lisp/type-break.el (type-break-noninteractive-query):
	* lisp/userlock.el (ask-user-about-supersession-help):
	* lisp/whitespace.el (whitespace-report-region):
	Prefer (substitute-command-keys "`\\[foo-command]'")
	to "`M-x foo-command'" in docstrings and the like.

2015-08-21  Tassilo Horn  <tsdh@gnu.org>

	Use add-function for prettify-symbols-compose-predicate
	* lisp/textmodes/tex-mode.el (tex-common-initialization): Set
	prettify-symbols-compose-predicate in terms of add-function.
	* etc/NEWS: Mention prettify-symbols-compose-predicate and
	prettify-symbols-mode support in tex-mode.

2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
	(smie-indent-exps, smie-indent-keyword): Use it.
	* test/indent/css-mode.css: Test alignment with leading comment.

2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Respect text-quoting-style in (*Finder*) menus
	* lisp/info.el (info--prettify-description):
	Treat description as a docstring, so that it's requoted as
	per text-quoting-style.

2015-08-21  Martin Rudalics  <rudalics@gmx.at>

	Document `window-use-time' in Elisp manual
	* doc/lispref/windows.texi (Selecting Windows): Document
	`window-use-time'.

2015-08-21  Eli Zaretskii  <eliz@gnu.org>

	* src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
	This is a cleaner fix for Bug#21260 than the previous change.

2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Respect text-quoting-style in calc
	In calc, tespect text-quoting-style preference in diagnostic
	formats and fix a few similar problems in docstrings.
	* lisp/calc/calc-aent.el (math-read-factor):
	* lisp/calc/calc-embed.el (calc-do-embedded):
	* lisp/calc/calc-ext.el (calc-user-function-list)
	* lisp/calc/calc-graph.el (calc-graph-show-dumb):
	* lisp/calc/calc-help.el (calc-describe-key)
	(calc-describe-thing):
	* lisp/calc/calc-lang.el (calc-c-language)
	(math-parse-fortran-vector-end, math-parse-tex-sum)
	(math-parse-eqn-matrix, math-parse-eqn-prime)
	(calc-yacas-language, calc-maxima-language, calc-giac-language)
	(math-read-big-rec, math-read-big-balance):
	* lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
	(calc-auto-recompute):
	* lisp/calc/calc-prog.el (calc-user-define-invocation)
	(math-do-arg-check):
	* lisp/calc/calc-store.el (calc-edit-variable):
	* lisp/calc/calc-units.el (math-build-units-table-buffer):
	* lisp/calc/calc-vec.el (math-read-brackets):
	* lisp/calc/calc-yank.el (calc-edit-mode):
	* lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
	Use curved quotes in diagnostic format strings.
	* lisp/calc/calc-help.el (calc-describe-thing):
	Format docstrings with substitute-command-keys.
	* lisp/calc/calc-help.el (calc-j-prefix-help):
	* lisp/calc/calc-misc.el (calc-help):
	* lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
	Escape a docstring "`".

2015-08-21  Eli Zaretskii  <eliz@gnu.org>

	Fix documentation of 'menu-set-font' and 'set-frame-font'
	* lisp/menu-bar.el (menu-set-font): Doc fix.  (Bug#21303)
	* doc/lispref/frames.texi (Frame Font): Document that
	set-frame-font with the last argument 't' will also make the font
	the default for the future GUI frames.

	Document '--create-frame' option to emacsclient
	* doc/emacs/misc.texi (emacsclient Options): Document the
	'--create-frame' option.  (Bug#21308)

2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.

2015-08-21  Eli Zaretskii  <eliz@gnu.org>

	Document 'get-mru-window' in the ELisp manual
	* doc/lispref/windows.texi (Cyclic Window Ordering): Document
	'get-mru-window'.  (Bug#21306)

	Clarify documentation of 'get-buffer-window-list'
	* doc/lispref/windows.texi (Buffers and Windows): Mention that the
	current window, if relevant, will be the first in the list
	returned by 'get-buffer-window-list'.
	* lisp/window.el (get-buffer-window-list): Doc fix.  (Bug#21305)

2015-08-21  Vasilij Schneidermann  <v.schneidermann@gmail.com>

	In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
	* lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
	`switch-to-buffer'.

2015-08-21  Kaushal Modi  <kaushal.modi@gmail.com>  (tiny change)

	In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
	* lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
	`display-buffer' instead of `switch-to-buffer'.

2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Follow user preference in calendar diagnostics
	Respect text-quoting-style preference in diagnostic formats by
	using curved quotes (which are translated as per text-quoting-style)
	instead of grave accent and apostrophe (which are not).
	* lisp/calendar/appt.el (appt-display-message):
	* lisp/calendar/diary-lib.el (diary-check-diary-file)
	(diary-mail-entries, diary-from-outlook):
	* lisp/calendar/icalendar.el (icalendar-export-region)
	(icalendar--convert-float-to-ical)
	(icalendar--convert-date-to-ical)
	(icalendar--convert-ical-to-diary)
	(icalendar--convert-recurring-to-diary)
	(icalendar--add-diary-entry):
	* lisp/calendar/time-date.el (format-seconds):
	* lisp/calendar/timeclock.el (timeclock-mode-line-display)
	(timeclock-make-hours-explicit):
	* lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
	(todo-item-mark, todo-check-format)
	(todo-insert-item--next-param, todo-edit-item--next-key)
	(todo-mode):
	Use curved quotes in diagnostic format strings.
	* lisp/calendar/icalendar.el (icalendar-import-format-sample):
	* test/automated/icalendar-tests.el (icalendar--import-format-sample):
	Just use straight quoting for simple test case.

2015-08-21  Michael Albinus  <michael.albinus@gmx.de>

	* src/gfilenotify.c (Fgfile_add_watch):
	Handle errors from g_file_monitor.

2015-08-21  Martin Rudalics  <rudalics@gmx.at>

	In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
	* doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
	frame" instead of "non-minibuffer frame".

	Fix frame geometry related text
	* doc/lispref/frames.texi (Frame Layout):
	Rename `x-frame-geometry' to `frame-geometry'.
	* doc/lispref/frames.texi (Mouse Position):
	* doc/lispref/windows.texi (Coordinates and Windows):
	Use `set-mouse-absolute-pixel-position' instead of
	`x-set-mouse-absolute-pixel-position'.

	Sanitize frame geometry related functions
	* src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
	(Fx_frame_edges): Rename to Fns_frame_edges.
	* src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
	(Fx_frame_edges): Rename to Fw32_frame_edges.
	(Fx_mouse_absolute_pixel_position): Rename to
	Fw32_mouse_absolute_pixel_position.
	(Fx_set_mouse_absolute_pixel_position): Rename to
	Fw32_set_mouse_absolute_pixel_position.
	* lisp/frame.el (x-frame-geometry, w32-frame-geometry)
	(ns-frame-geometry, x-frame-edges, w32-frame-edges)
	(ns-frame-edges, w32-mouse-absolute-pixel-position)
	(x-mouse-absolute-pixel-position)
	(w32-set-mouse-absolute-pixel-position)
	(x-set-mouse-absolute-pixel-position): Declare.
	(frame-geometry, mouse-absolute-pixel-position)
	(set-mouse-absolute-pixel-position): New functions.
	(frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.

2015-08-21  Eli Zaretskii  <eliz@gnu.org>

	Fix MinGW64 build broken by latest w32uniscribe.c changes
	* src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
	MinGW64.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
	(Bug#21260)

2015-08-21  Tassilo Horn  <tsdh@gnu.org>

	Add TeX defaults for prettify-symbol-mode
	* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
	Rename from tex-prettify-symbols-alist.
	(tex--prettify-symbols-compose-p): New function.
	(tex-common-initialization): Use them as prettify-symbols-alist
	and prettify-symbols-compose-predicate.

	Generalize prettify-symbols to arbitrary modes
	* lisp/progmodes/prog-mode.el
	(prettify-symbols-default-compose-p): New function.
	(prettify-symbols-compose-predicate): New variable.
	(prettify-symbols--compose-symbol): Use it.

2015-08-20  Paul Eggert  <eggert@cs.ucla.edu>

	Don't quote symbols 'like-this' in docstrings etc.
	* admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
	* lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
	* lisp/allout.el (allout-add-resumptions, allout-mode):
	* lisp/calculator.el (calculator-operators):
	* lisp/cedet/data-debug.el (dd-propertize):
	* lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
	* lisp/cedet/semantic/analyze/debug.el:
	(semantic-analyzer-debug-global-miss-text):
	* lisp/cedet/semantic/lex-spp.el:
	(semantic-lex-spp-replace-or-symbol-or-keyword):
	* lisp/cedet/semantic/symref.el:
	(semantic-symref-cleanup-recent-buffers-fcn):
	* lisp/cedet/semantic/tag.el (semantic-tag-class):
	* lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
	* lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
	* lisp/gnus/pop3.el (pop3-authentication-scheme):
	* lisp/help-fns.el (describe-function-orig-buffer):
	* lisp/imenu.el (imenu--history-list):
	* lisp/mail/feedmail.el (feedmail-confirm-outgoing)
	(feedmail-display-full-frame, feedmail-deduce-bcc-where)
	(feedmail-queue-default-file-slug)
	(feedmail-queue-buffer-file-name):
	* lisp/net/mairix.el (mairix-searches-mode-map):
	* lisp/net/newst-backend.el (newsticker-retrieval-method)
	(newsticker-auto-mark-filter-list):
	* lisp/obsolete/vi.el (vi-mode):
	* lisp/progmodes/cc-engine.el (c-literal-type):
	* lisp/progmodes/cpp.el (cpp-face):
	* lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
	* lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
	* lisp/progmodes/pascal.el (pascal-auto-lineup):
	* lisp/progmodes/prog-mode.el (prog-widen):
	* lisp/progmodes/verilog-mode.el (verilog-regexp-words)
	(verilog-auto-lineup, verilog-auto-reset-widths)
	(verilog-auto-arg-format, verilog-auto-inst-template-numbers):
	* lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
	(flyspell-maybe-correct-doubling):
	* lisp/textmodes/table.el (table-justify, table-justify-cell)
	(table-justify-row, table-justify-column, table-insert-sequence)
	(table--justify-cell-contents):
	* lisp/url/url-auth.el (url-get-authentication):
	* lisp/window.el (display-buffer-record-window):
	* lisp/xml.el (xml-parse-file, xml-parse-region):
	* src/gfilenotify.c (Fgfile_add_watch):
	Don't quote symbols with apostrophes in doc strings.
	Use asymmetric quotes instead.
	* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
	Likewise for symbol in diagnostic.
	* lisp/image.el (image-extension-data):
	* lisp/register.el (frame-configuration-to-register):
	* src/buffer.c (syms_of_buffer):
	Remove bogus apostrophes after symbols.
	* lisp/thumbs.el (thumbs-conversion-program):
	Quote Lisp string values using double-quotes, not apostrophes.

2015-08-20  Martin Rudalics  <rudalics@gmx.at>

	Describe frame geometry and related functions in Elisp manual
	* doc/lispref/display.texi (Size of Displayed Text, Line Height)
	(Showing Images): Update references.
	* doc/lispref/elisp.texi (Top): Update node listing.
	* doc/lispref/frames.texi (Frame Geometry): New node.
	Move `Size and Position' section here.
	(Size Parameters): Update references.
	(Mouse Position): Update references and nomenclature.
	Describe new functions `x-mouse-absolute-pixel-position' and
	`x-set-mouse-absolute-pixel-position'.
	* doc/lispref/windows.texi (Window Sizes): Update references.
	(Resizing Windows): Update references.  Move description of
	`fit-frame-to-buffer' here.
	(Coordinates and Windows): Update nomenclature and references.
	Describe new arguments of `window-edges'.  Comment out
	descriptions of `window-left-column', `window-top-line',
	`window-pixel-left' and `window-pixel-top'.  Describe
	`window-absolute-pixel-position'.

2015-08-20  Alan Mackenzie  <acm@muc.de>

	Handling of `c-parse-state'.  Fix low level bug.
	* lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
	Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.

2015-08-20  Andreas Politz  <politza@hochschule-trier.de>

	* lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
	window instead of deleting it.

2015-08-20  Martin Rudalics  <rudalics@gmx.at>

	In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
	* src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
	determine whether frame has a titlebar.
	Suggested by Eli Zaretskii <eliz@gnu.org>

2015-08-20  Tassilo Horn  <tsdh@gnu.org>

	Add a prettify-symbols-alist for (La)TeX
	* lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
	New variable holding an alist suitable as prettify-symbols-alist in
	(La)TeX modes.

2015-08-19  Alan Mackenzie  <acm@muc.de>

	Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
	Fixes debbugs#21275.
	In Emacs >= 25, let electric-pair-mode take precedence over
	delete-selection-mode.
	* lisp/delsel.el (delete-selection-uses-region-p): New function,
	previously a lambda expression in a property value for
	`self-insert-command'.
	(top-level): Set the `delete-selection' property of
	`self-insert-command' to `delete-selection-uses-region-p'.
	* lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
	property for c-electric-\(brace\|paren\) the value
	`delete-selection-uses-region-p' when the latter function exists.

2015-08-19  Paul Eggert  <eggert@cs.ucla.edu>

	Fix key binding quoting in tutorial *Help*
	* lisp/tutorial.el (tutorial--describe-nonstandard-key):
	When generating help for custom key bindings, use the user-preferred
	quoting style rather than hardcoding the grave style.

2015-08-19  Eli Zaretskii  <eliz@gnu.org>

	Improve and future-proof OTF fonts support in w32uniscribe.c
	* src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
	about the expected results and why the new Uniscribe APIs are not
	used in this function.
	(ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
	(ScriptGetFontFeatureTags_Proc): New function typedefs.
	(uniscribe_new_apis): New static variable.
	(uniscribe_check_features): New function, implements OTF features
	verification while correctly accounting for features in the list
	after the nil member, if any.
	(uniscribe_check_otf_1): New function, retrieves the features
	supported by the font for the requested script and language using
	the Uniscribe APIs available from Windows Vista onwards.
	(uniscribe_check_otf): If the new Uniscribe APIs are available,
	use them in preference to reading the font data directly.  Call
	uniscribe_check_features to verify that the requested features are
	supported, replacing the original incomplete code.
	(syms_of_w32uniscribe): Initialize function pointers for the new
	Uniscribe APIs.  (Bug#21260)
	(otf_features): Scan the script, langsys, and feature arrays back
	to front, so that the result we return has them in alphabetical
	order, like ftfont.c does.
	* src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
	New variable for debugging w32uniscribe.c code.

2015-08-19  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
	Remove usage of `isearch-lax-whitespace' inside the `isearch-word'
	clause of `isearch-search-fun-default'.  That lax variable does not
	refer to lax-whitespacing.  Related to (bug#21277).
	This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
	* lisp/character-fold.el (character-fold-search): Set to nil.
	Default to nil for now, until someone implements proper
	lax-whitespacing with char-fold searching.

2015-08-19  Martin Rudalics  <rudalics@gmx.at>

	Fix doc-string of `help-mode-finish'.
	* lisp/help-mode.el (help-mode-finish): Fix doc-string.

	In nsimage.m include coding.h (Bug#21292)
	* src/nsimage.m (top-level): Include coding.h (Bug#21292).

	Move window edge functions to Elisp.
	* src/window.c (Fwindow_edges, Fwindow_pixel_edges)
	(Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
	(Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
	Move to window.el.
	(calc_absolute_offset): Remove.
	* lisp/frame.el (frame-edges): New function.
	* lisp/window.el (window-edges, window-pixel-edges)
	(window-absolute-pixel-edges): Move here from window.c.
	(window-body-edges, window-body-pixel-edges)
	(window-absolute-body-pixel-edges): Move here from window.c and
	rename "inside" to "body".  Keep old names as aliases.
	(window-absolute-pixel-position): New function.

2015-08-19  Katsumi Yamaoka  <yamaoka@jpl.org>

	[Gnus]: Use overlay functions directly
	* lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
	(gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
	(gnus-article-highlight-signature, gnus-article-extend-url-button)
	(gnus-article-add-button, gnus-insert-prev-page-button)
	(gnus-insert-next-page-button, gnus-insert-mime-security-button):
	* lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
	(gnus-cite-add-face):
	* lisp/gnus/gnus-html.el (gnus-html-wash-tags):
	* lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
	(gnus-tree-recenter, gnus-highlight-selected-tree):
	* lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
	(gnus-summary-show-thread, gnus-summary-hide-thread)
	(gnus-highlight-selected-summary):
	* lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
	* lisp/gnus/message.el (message-fix-before-sending)
	(message-toggle-image-thumbnails):
	* lisp/gnus/mm-decode.el (mm-convert-shr-links):
	* lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
	Use overlay functions directly instead of using gnus-overlay-*,
	message-overlay-*, and sieve-overlay-*.
	* lisp/gnus/gnus-sum.el (gnus-remove-overlays):
	* lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
	(gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
	(gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
	(gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
	* lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
	(message-overlay-get, message-overlay-put, message-overlays-in):
	* lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
	(sieve-overlays-at): Remove.

2015-08-19  Martin Rudalics  <rudalics@gmx.at>

	In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
	* src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
	builds can use the declaration from the system headers.
	(GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
	definition of TITLEBAR_INFO.
	Suggested by Eli Zaretskii  <eliz@gnu.org>

2015-08-19  Glenn Morris  <rgm@gnu.org>

	* lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".

2015-08-19  Paul Eggert  <eggert@cs.ucla.edu>

	Use new q ‘format’ flag when fixing quotes in C
	* src/image.c (image_size_error): New function.  All uses of
	image_error with "Invalid image size ..."  changed to use it.
	* src/image.c (image_size_error, xbm_load_image, xbm_load)
	(xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
	(jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
	(imagemagick_load, svg_load, svg_load_image, gs_load)
	(x_kill_gs_process):
	* src/lread.c (load_warn_old_style_backquotes):
	* src/xfaces.c (load_pixmap):
	* src/xselect.c (x_clipboard_manager_error_1):
	Use %qs, not uLSQM and uRSQM.
	* src/syntax.c (Finternal_describe_syntax_value):
	Prefer Fsubstitute_command_keys to Fformat, as this lets
	us use AUTO_STRING.
	* src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
	as it's now guaranteed to be ASCII.
	* src/xselect.c (x_clipboard_manager_error_2):
	Avoid grave accent in low-level stderr diagnostic.

2015-08-19  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>

	New q flag for ‘format’
	* doc/lispref/processes.texi (Sentinels):
	Don't hardwire grave quoting style in example.
	* doc/lispref/strings.texi (Formatting Strings):
	* etc/NEWS:
	Document new q flag.
	* src/editfns.c (Fformat): Implement it.

2015-08-18  Daiki Ueno  <ueno@gnu.org>

	pinentry.el: Add debugging support
	* lisp/net/pinentry.el (pinentry-debug): New variable.
	(pinentry-debug-buffer): New variable.
	(pinentry--process-filter): Send input to the debug buffer, if
	`pinentry-debug' is set.

	pinentry.el: Improve multiline prompt
	* lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
	(pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
	command.

2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>

	Fix multibyte confusion in diagnostics
	* src/print.c (print_error_message):
	Don't assume that the caller's name is unibyte.
	* src/xdisp.c (vadd_to_log):
	Don't assume that the formatted diagnostic is unibyte.

	Fix file name encodings in diagnostics
	Also, close some minor races when opening image files, by opening
	them once instead of multiple times.
	* src/gtkutil.c (xg_get_image_for_pixmap):
	* src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
	(svg_load):
	* src/nsimage.m (allocInitFromFile:):
	* src/xfns.c (xg_set_icon):
	Encode file name, since x_find_image_file no longer does that.
	* src/image.c (x_find_image_fd): New function.
	(x_find_image_file): Use it.  Do not encode resulting file name,
	since callers sometimes need it decoded.
	(slurp_file): File arg is now a fd, not a file name.
	All callers changed.  This saves us having to open the file twice.
	(xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
	(svg_load):
	Use x_find_image_fd and fdopen to save a file-open.
	Report file name that failed.
	* src/lread.c (openp): If PREDICATE is t, open the file in binary mode.

2015-08-18  Dmitry Gutov  <dgutov@yandex.ru>

	Allow blink-matching-paren to jump off screen
	* doc/emacs/programs.texi (Matching): Mention the
	`blink-matching-paren' value `jump-offscreen'.
	* lisp/simple.el (blink-matching-paren): New possible value.
	(blink-matching-paren-on-screen): Clarify the docstring.
	(blink-matching-open): Handle `jump-offscreen' (bug#21286).

	Refine the previous change
	* lisp/simple.el (blink-matching-open): Use minibuffer-message
	outside of save-excursion (bug#21286).

2015-08-18  Martin Rudalics  <rudalics@gmx.at>

	Rewrite and add frame geometry related functions.
	* src/frame.c (Fframe_position): New function.
	(Fset_frame_position): Rename parameters and rewrite doc-string.
	(syms_of_frame): Remove Qframe_position, Qframe_outer_size,
	Qtitle_height and Qframe_inner_size.  Add Qouter_edges,
	Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
	Qtitle_bar_size.
	* src/nsfns.m (frame_geometry): New function.
	(Fx_frame_geometry): Call frame_geometry.
	(Fx_frame_edges): New function.
	* src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
	(GetTitleBarInfo_Proc): Define these so we can use the
	GetTitleBarInfo API.
	(Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
	(Fx_frame_geometry): Rewrite.
	(Fx_frame_edges, Fx_mouse_absolute_pixel_position)
	(Fx_set_mouse_absolute_pixel_position): New functions.
	* src/xfns.c (frame_geometry): New function.
	(Fx_frame_geometry): Call frame_geometry.
	(Fx_frame_edges, Fx_mouse_absolute_pixel_position)
	(Fx_set_mouse_absolute_pixel_position): New functions.

2015-08-18  Michael Albinus  <michael.albinus@gmx.de>

	Improve Tramp's compatibility
	* lisp/net/tramp.el (tramp-get-method-parameter):
	* lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
	(tramp-adb-get-device):
	* lisp/net/trampver.el (tramp-repository-get-version):
	Use `tramp-compat-replace-regexp-in-string'.

2015-08-18  Pierre Téchoueyres  <pierre.techoueyres@free.fr>  (tiny change)

	* lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
	Encode/decode string.

2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>

	Clarify what happens to match data on failure
	Problem reported by Ernesto Alfonso (Bug#21279).
	* doc/lispref/searching.texi (Regexp Search, Simple Match Data):
	Document more carefully what happens to match data after a failed
	search.
	* src/search.c (Fmatch_beginning, Fmatch_end): Document that
	the return value is undefined if the last search failed.
	(Fmatch_data): Simplify doc string line 1.

2015-08-18  Daiki Ueno  <ueno@gnu.org>

	Revert "pinentry.el: Support external passphrase cache"
	This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
	pinentry.el shouldn't directly interact with the secrets service,
	but ask the caller to cache the passphrase.

2015-08-17  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/sending.texi (Mail Misc): Fix two index entries for
	Message mode hooks.

2015-08-17  Daiki Ueno  <ueno@gnu.org>

	epg.el: Make gpgconf output parsing future proof
	* lisp/epg.el (epg--start): Count the number of fields in "gpgconf
	--list-options" output.

	pinentry.el: Support external passphrase cache
	* lisp/net/pinentry.el (pinentry-use-secrets): New user option.
	(pinentry--allow-external-password-cache): New local variable.
	(pinentry--key-info): New local variable.
	(secrets-enabled, secrets-search-items, secrets-get-secret):
	Declare.
	(pinentry--send-passphrase): New function, split from
	`pinentry--process-filter'.
	(pinentry--process-filter): Use secrets.el to retrieve passphrase
	from login keyring.

	pinentry.el: Popup window for multiline prompt
	* lisp/net/pinentry.el (pinentry): New custom group.
	(pinentry-popup-prompt-window): New user option.
	(pinentry-prompt-window-height): New user option.
	(pinentry--prompt-buffer): New variable.
	(pinentry-prompt-mode-map): New variable.
	(pinentry-prompt-mode): New function.
	(pinentry--prompt): New function.
	(pinentry--process-filter): Use `pinentry--prompt' instead of
	`read-passwd' and `y-or-n-p'.

2015-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>

	message.el: Silent the byte compiler
	* lisp/gnus/message.el (message-overlay-put, message-make-overlay)
	(message-kill-all-overlays, message-overlays-in, message-overlay-get)
	(message-delete-overlay, message-window-inside-pixel-edges):
	Declare before using.

	* lisp/gnus/message.el (message-overlay-get, message-overlays-in)
	(message-window-inside-pixel-edges): XEmacs compatible functions.

2015-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* lisp/gnus/message.el (message-toggle-image-thumbnails): New command.

2015-08-17  Noah Friedman  <friedman@splode.com>

	* lisp/simple.el (blink-matching-open): Restore point before
	calling minibuffer-message.

2015-08-17  Ronnie Schnell  <ronnie@driver-aces.com>

	* lisp/play/dunnet.el: Update version number in header (now
	matches help).

2015-08-17  Paul Eggert  <eggert@cs.ucla.edu>

	Curved quotes in --batch diagnostics in non-UTF-8
	When run with --batch, check that curved quotes are compatible with
	the system locale before outputting them in diagnostics.
	Problem reported by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00594.html
	* lisp/startup.el (command-line): Set internal--text-quoting-flag
	after the standard display table is initialized.
	* src/doc.c (default_to_grave_quoting_style): New function.
	(text_quoting_style): Use it.
	(text_quoting_flag): New static var, visible to Lisp as
	internal--text-quoting-flag.
	* src/emacs.c: Include <wchar.h> if available.
	(using_utf8): New function.
	(main): Use it to initialize text_quoting_flag.
	* src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
	Don't define, as it's not needed and it clashes with wchar.h.

2015-08-17  Glenn Morris  <rgm@gnu.org>

	* doc/misc/tramp.texi (Configuration): Reword to avoid warning
	from makeinfo about spurious "Note:" cross-reference, and for grammar.

2015-08-17  Ilya Zakharevich  <ilya@math.berkeley.edu>

	Minor change in variable initialization on MS-Windows
	* src/w32fns.c <after_dead_key>: Initialize to -1.
	(deliver_wm_chars): If after_deadkey is zero, don't set after_dead
	non-zero.

	Fix a bug with LWindow key remapping on MS-Windows
	* src/w32fns.c (deliver_wm_chars): Fix a typo.  (Bug#21276)

2015-08-17  Eli Zaretskii  <eliz@gnu.org>

	Improve fontset support for latest OTF script tags
	* lisp/international/fontset.el (otf-script-alist): Add some
	missing script tags.
	(setup-default-fontset): Include settings for v2 versions of the
	script tags used by some modern OTF/TTF fonts.

2015-08-17  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

2015-08-16  Paul Eggert  <eggert@cs.ucla.edu>

	Use curved quotes in core elisp diagnostics
	In the core elisp files, use curved quotes in diagnostic formats,
	so that they follow user preference as per ‘text-quoting-style’
	rather than being hard-coded to quote `like this'.
	* lisp/abbrev.el (expand-region-abbrevs):
	* lisp/button.el (button-category-symbol, button-put)
	(make-text-button):
	* lisp/cus-start.el:
	* lisp/custom.el (custom-add-dependencies, custom-check-theme)
	(custom--sort-vars-1, load-theme):
	* lisp/emacs-lisp/byte-run.el (defun, defsubst):
	* lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
	(cl-generic-generalizers):
	* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
	* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
	* lisp/emacs-lisp/nadvice.el (advice--make-docstring)
	(advice--make, define-advice):
	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
	* lisp/emacs-lisp/timer.el (timer-event-handler):
	* lisp/env.el (setenv):
	* lisp/facemenu.el (facemenu-add-new-face)
	(facemenu-add-new-color):
	* lisp/faces.el (face-documentation, read-face-name)
	(face-read-string, read-face-font, face-spec-set-match-display)
	(read-color, x-resolve-font-name):
	* lisp/files.el (locate-user-emacs-file, find-alternate-file)
	(set-auto-mode, hack-local-variables)
	(hack-one-local-variable--obsolete)
	(dir-locals-set-directory-class, write-file)
	(basic-save-buffer, delete-directory, copy-directory)
	(recover-session, recover-session-finish, insert-directory)
	(file-modes-char-to-who, file-modes-symbolic-to-number)
	(move-file-to-trash):
	* lisp/font-lock.el (font-lock-fontify-buffer):
	* lisp/format.el (format-write-file, format-find-file)
	(format-insert-file):
	* lisp/frame.el (get-device-terminal, select-frame-by-name):
	* lisp/fringe.el (fringe--check-style):
	* lisp/help.el (describe-minor-mode-from-indicator):
	* lisp/image.el (image-type):
	* lisp/international/fontset.el (x-must-resolve-font-name):
	* lisp/international/mule-cmds.el (prefer-coding-system)
	(select-safe-coding-system-interactively)
	(select-safe-coding-system, activate-input-method)
	(toggle-input-method, describe-current-input-method):
	* lisp/international/mule-conf.el (code-offset):
	* lisp/mouse.el (minor-mode-menu-from-indicator):
	* lisp/replace.el (query-replace-read-from)
	(occur-after-change-function, occur-1):
	* lisp/scroll-bar.el (scroll-bar-columns):
	* lisp/simple.el (execute-extended-command)
	(undo-outer-limit-truncate, compose-mail, set-variable)
	(choose-completion-string, define-alternatives):
	* lisp/startup.el (site-run-file, tty-handle-args)
	(command-line, command-line-1):
	* lisp/subr.el (noreturn, define-error, add-to-list)
	(read-char-choice):
	* lisp/term/common-win.el (x-handle-xrm-switch)
	(x-handle-name-switch, x-handle-args):
	* lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
	Use curved quotes in diagnostics.
	* lisp/international/mule.el (find-auto-coding):
	Use " to quote in a diagnostic, to be consistent with the rest of
	this file.

	Convert lisp/term/x-win.el to UTF-8
	* lisp/term/x-win.el: Convert to UTF-8.  This doesn't affect
	runtime behavior, and the file is multilingual so compile-time
	appearance shouldn't be an issue.
	* admin/notes/unicode: Document this.

2015-08-16  Wilson Snyder  <wsnyder@wsnyder.org>

	Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
	* lisp/progmodes/verilog-mode.el: Fix some non-automated indent
	issues and comments, bug#943.
	(verilog-type-font-keywords): Cycle delay operators like ##1 and
	##[0:$] are now highlighted in their entirety similarly to the #
	delay-control operator.  Likewise, the followed-by operators #-#
	and #=# are no longer partially highlighted.
	(verilog-backward-syntactic-ws-quick)
	(verilog-skip-backward-comments): Minor performance improvements
	to buffer traversal functions for reduced latency.
	(verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
	keyword 'final' follows 'assert/assume/cover', then it is part of
	a deferred immediate assertion item and should not be treated as a
	final construct for indentation.  Reported by Yuri Sugihara.
	(verilog-do-indent): Virtual task/function/class definition lines
	should not be considered as declarations.  Reported by Enzo Chi.
	(verilog-do-indent): Do not falsely indent to '=' of
	property/sequence operators on subsequent lines of a multi-line
	statement.
	(verilog-assignment-operator-re): Fix '!==' operator and add
	support for '<->', ':/', '#-#', and '#=#' operators.
	(verilog-calculate-indent, verilog-label-be): Enable
	case-sensitive regular expression parsing when looking for
	keywords.
	(verilog-calc-1): Detect 'pure virtual method' declarations which
	exist in abstract classes.  Reported by Enzo Chi and Kaushal Modi.
	(verilog-backward-ws&directives): When moving back to the start of
	a line and the preceding line ended with an escaped-newline, then
	jump up one line.  This properly consumes a multi-line
	pre-processor directive.  Reported by Kaushal Modi.
	(verilog-dpi-import-export-re, verilog-extended-complete-re)
	(verilog-calc-1): Teach verilog-mode to properly indent after a
	DPI import/export statement that resides outside of a module.
	Reported by Kaushal Modi.
	(verilog-extended-complete-re): Update regexp to match both
	"DPI-C" and "DPI".  Reported by Kaushal Modi.

2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>

	substitute-command-keys a few more doc strings
	* lisp/allout.el (outlineify-sticky):
	* lisp/files.el (hack-one-local-variable--obsolete):
	* lisp/help-fns.el (help-fns--obsolete, describe-variable):
	Use substitute-command-keys on some doc strings so that
	they don't use hard-coded key bindings or quoting styles.

	Fix quoting in Fformat calls
	* src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
	(xpm_load, xpm_load_image, pbm_load, png_load_body)
	(jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
	(imagemagick_load, svg_load, svg_load_image, gs_load)
	(x_kill_gs_process):
	* src/lread.c (load_warn_old_style_backquotes):
	* src/xfaces.c (load_pixmap):
	* src/xselect.c (x_clipboard_manager_error_1):
	Quote diagnostics according to user preference when calling
	Fformat or its derivatives.

2015-08-15  Glenn Morris  <rgm@gnu.org>

	* admin/admin.el (set-version, set-copyright): Remove deleted files.

2015-08-15  Stephen Leake  <stephen_leake@stephe-leake.org>

	Allow describe-function helpers to access buffer-local values
	This will be used by cedet/mode-local.el `describe-mode-local-override'
	on `help-fns-describe-function-functions' in upstream CEDET.
	* lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
	`describe-function'.
	(describe-function): Bind it, save it on the help xref stack.

	Handle pulse-background being nil
	* lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
	pulse-background, handle it being nil.

2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>

	Fix "\`" confusion in Lisp strings
	* admin/authors.el (authors-canonical-author-name):
	Fix typo by using "\\`" not "\`" in string RE.
	* lisp/obsolete/complete.el (PC-complete-as-file-name):
	* lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
	* lisp/progmodes/verilog-mode.el (verilog-mode-map):
	Use plain "`", not the equivalent-but-confusing "\`", in strings.
	* lisp/textmodes/texinfmt.el: Fix comment likewise.

2015-08-15  Dani Moncayo  <dmoncayo@gmail.com>

	* nt/zipdist.bat: Remove -- no longer used.

2015-08-15  Jürgen Hötzel  <juergen@archlinux.org>

	* lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
	rather than "getenforce".
	(tramp-sh-handle-set-file-selinux-context): Do not
	cache SELinux context if not all context components are given.

2015-08-15  Eli Zaretskii  <eliz@gnu.org>

	Add doc strings to 2 help-mode.el functions
	* lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
	strings.  (Bug#21263)

	Remove files used by the old MS-Windows specific build procedure
	* admin/unidata/makefile.w32-in:
	* doc/emacs/makefile.w32-in:
	* doc/lispintro/makefile.w32-in:
	* doc/lispref/makefile.w32-in:
	* doc/misc/makefile.w32-in:
	* leim/makefile.w32-in:
	* lib-src/makefile.w32-in:
	* lib/makefile.w32-in:
	* lisp/makefile.w32-in:
	* nt/INSTALL.OLD:
	* nt/config.nt:
	* nt/emacs-src.tags:
	* nt/envadd.bat:
	* nt/gmake.defs:
	* nt/makefile.w32-in:
	* nt/multi-install-info.bat:
	* nt/nmake.defs:
	* nt/paths.h:
	* src/makefile.w32-in: Files deleted.
	* nt/configure.bat: Remove everything except the blurb about the
	new build procedure.
	* make-dist: Remove references to makefile.w32-in in various
	directories, and to files in nt/ that were deleted.
	* etc/NEWS: Mention the fact that the files were dropped.

2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
	(Bug#21248)

2015-08-14  Paul Eggert  <eggert@cs.ucla.edu>

	Default to inotify instead of gfile
	* configure.ac (with_file_notification): Fix typo that
	prevented suppression of file notification if HAVE_NS.
	(NOTIFY_OBJ): Prefer inotify to gfile if both exist and
	with_file_notification is 'yes' (Bug#21241).
	* etc/NEWS: Mention this.

	Fix broken URLs for ISO-IR
	* doc/emacs/mule.texi (Charsets):
	* lisp/international/mule-conf.el:
	Fix broken URL (Bug#21248).

	Low-level diagnostics now use ‘text-quoting-style’
	* src/doprnt.c (doprnt):
	Format ` and ' as per ‘text-quoting-style’.
	* src/xdisp.c (vmessage, message): Mention that the format should
	not contain ` or '.

	Prefer ‘format’ to ‘substitute-command-keys’
	* src/character.h (uLSQM, uRSQM): Move here ...
	* src/doc.c (uLSQM, uRSQM): ... from here.
	* src/doc.c (Fsubstitute_command_keys):
	* src/syntax.c (Finternal_describe_syntax_value):
	* lisp/cedet/mode-local.el (mode-local-print-binding)
	(mode-local-describe-bindings-2):
	* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
	* lisp/cus-theme.el (describe-theme-1):
	* lisp/descr-text.el (describe-text-properties-1, describe-char):
	* lisp/emacs-lisp/cl-extra.el (cl--describe-class):
	* lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
	* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
	* lisp/emacs-lisp/package.el (describe-package-1):
	* lisp/faces.el (describe-face):
	* lisp/help-fns.el (help-fns--key-bindings)
	(help-fns--compiler-macro, help-fns--parent-mode)
	(help-fns--obsolete, help-fns--interactive-only)
	(describe-function-1, describe-variable):
	* lisp/help.el (describe-mode):
	Prefer ‘format’ to ‘substitute-command-keys’ when either will do
	to implement quoting style.  This generally makes the code simpler.

	Extend ‘format’ to translate curved quotes
	This is a followup to the recent doc string change, and deals with
	diagnostics and the like.  This patch is more conservative than
	the doc string change, in that the behavior of ‘format’ changes
	only if its first arg contains curved quotes and the user prefers
	straight or grave quotes.  (Come to think of it, perhaps we should
	be similarly conservative with doc strings too, but that can wait.)
	The upside of this conservatism is that existing usage is almost
	surely unaffected.  The downside is that we'll eventually have to
	change Emacs's format strings to use curved quotes in places where
	the user might want curved quotes, but that's a simple and
	mechanical translation that I'm willing to do later.  (Bug#21222)
	* doc/lispref/help.texi (Keys in Documentation):
	Move description of text-quoting-style from here ...
	* doc/lispref/strings.texi (Formatting Strings):
	... to here, and describe new behavior of ‘format’.
	* etc/NEWS: Describe new behavior.
	* lisp/calc/calc-help.el (calc-describe-thing):
	* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
	* lisp/info.el (Info-find-index-name):
	Use ‘concat’ rather than ‘format’ to avoid misinterpretation
	of recently-added curved quotes.
	* src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
	Move from here ...
	* src/lisp.h: ... to here.
	* src/doc.c (text_quoting_style): New function.
	(Fsubstitute_command_keys): Use it.
	* src/editfns.c (Fformat): Implement new behavior.
	* src/lisp.h (enum text_quoting_style): New enum.

2015-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/keyboard.c: Use false/true instead of 0/1 for booleans.
	* src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.

2015-08-14  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
	stderr to /dev/null, this is done in `tramp-send-command-and-check'.

2015-08-14  Jürgen Hötzel  <juergen@archlinux.org>

	Flush file properties in Tramp
	* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
	(tramp-sh-handle-set-file-times):
	* lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
	(tramp-adb-handle-set-file-times): Flush the file properties of
	the directory.

2015-08-14  Ronnie Schnell  <ronnie@driver-aces.com>

	* doc/emacs/misc.texi (Amusements): Fixed typo.

2015-08-14  Eli Zaretskii  <eliz@gnu.org>

	Don't miss warnings about removing string text properties while dumping
	* src/alloc.c (purecopy): Warn about removing a string's text
	properties even when the same string was already pure-copied
	earlier.
	* lisp/progmodes/elisp-mode.el (elisp--xref-format)
	(elisp--xref-format-extra): Fix the commentary.

2015-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).

2015-08-13  Magnus Henoch  <magnus.henoch@gmail.com>

	* lisp/progmodes/compile.el: Use lexical-binding.
	(compilation-move-to-column): Assume 8-wide TABs (bug#21038).

2015-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	(uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
	* lisp/uniquify.el: Remove redundant `:group's.

2015-08-13  Jürgen Hötzel  <juergen@archlinux.org>

	* lisp/net/tramp-adb.el
	(tramp-adb-handle-directory-files-and-attributes): Make a copy of
	result to prevent modification of the tramp-cache by side effects.
	Use the correct cache key.

2015-08-13  Paul Eggert  <eggert@cs.ucla.edu>

	Make add_to_log varargs
	* src/alloc.c (run_finalizer_handler):
	* src/charset.c (load_charset_map_from_vector):
	* src/nsimage.m (ns_load_image):
	* src/xfaces.c (load_pixmap, load_color2):
	Simplify, now that add_to_log has a variable number of args.
	* src/image.c (image_error): Take a variable number of args.
	Callers simplified.
	* src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
	* src/xdisp.c (format_nargs, vadd_to_log): New functions.
	(add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
	* src/xfaces.c (merge_face_ref): Fix typo that omitted color name.

	Optional args for holiday-greek-orthodox-easter
	* etc/NEWS: Document this.
	* lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
	Add optional args N and STRING, mimicking the API and code of
	‘holiday-easter-etc’.  From suggestion by Foivos S. Zakkak (Bug#21256).

2015-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>

	xref-find-definitions: Exclude more generic function items.
	* lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
	Add doc string.
	(cl--generic-find-defgeneric-regexp): New.
	(find-function-regexp-alist): Add it.
	* lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
	elisp-mode.el, change to search for ";;; Code:"
	(find-alias-regexp): Move here from elisp-mode.el, cleaned up.
	(find-function-regexp-alist): Add them.
	* lisp/progmodes/elisp-mode.el:
	(elisp--xref-format, elisp--xref-format-extra): Change back to
	defvar due to bug#21237.
	(elisp--xref-find-definitions): Exclude co-located default methods for
	generic functions.  Also exclude implicitly declared defgeneric.
	(elisp--xref-find-definitions): Handle C source properly.  Exclude minor
	mode variables defined by 'define-minor-mode'.
	* test/automated/elisp-mode-tests.el: Declare generic functions, add
	tests for them.
	(xref-elisp-test-run): Fix bug.
	(emacs-test-dir): Improve initial value.
	(find-defs-defun-defvar-el): Don't expect defvar.
	(find-defs-feature-el): Match change to find-feature-regexp.

2015-08-13  Eli Zaretskii  <eliz@gnu.org>

	Improve warning about purecopy of strings with properties
	* src/alloc.c (purecopy): Show the offending string with the
	warning about removing its text properties.

2015-08-12  Alan Mackenzie  <acm@muc.de>

	Introduce new macros to cover Emacs's new names in cl-lib.el
	This also eliminates `mapcan' warnings in XEmacs.
	* lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
	characterize [X]Emacs versions.
	(top-level): Require either 'cl or 'cl-lib, depending on
	c--mapcan-status.
	Change this back to cc-external-require from an eval-when-compile
	require.
	(c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
	(c--delete-duplicates): New macros which expand into either old or new
	names.
	(c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
	rather than the old names.
	* lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
	rather than mapcan.
	* lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
	* lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
	depending on c--mapcan-status.
	(c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
	(c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
	(c-not-decl-init-keywords, c-not-primitive-type-keywords)
	(c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
	(c-decl-block-key, c-keywords, c-keywords-obarray)
	(c-regular-keywords-regexp, c-primary-expr-regexp)
	(c-primary-expr-regexp, c-block-prefix-disallowed-chars)
	(c-known-type-key, c-nonlabel-token-key)
	(c-make-init-lang-vars-fun): Use the new macros rather than the old
	names.

2015-08-12  Oleh Krehel  <ohwoeowho@gmail.com>

	loadhist.el (read-feature): Conform to completing-read
	* lisp/loadhist.el (read-feature): According to `completing-read'
	documentation, if collection is a list, then it must be a list of
	strings, not a list of symbols like before.

2015-08-12  David Kastrup  <dak@gnu.org>

	Deal gracefully with up-events (Bug#19746)
	* src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
	(parse_modifiers_uncached): React gracefully to "up-" modifiers:
	those may easily be injected by user-level Lisp code.
	(read_key_sequence): Discard unbound up-events like unbound
	down-events: they are even more likely only relevant for special
	purposes.
	While Emacs will not produce up-events on its own currently (those are
	converted to drag or click events before being converted to
	Lisp-readable structures), the input queue can be made to contain them
	by synthesizing events to `unread-command-events'.  Emacs should deal
	consistently with such events.

2015-08-12  Eli Zaretskii  <eliz@gnu.org>

	Fix display of thin lines whose newline has line-height property of t
	* src/xdisp.c (append_space_for_newline): Don't try to fix ascent
	and descent values of non-empty glyph rows, since they could have
	forced low values deliberately.  (Bug#21243)

2015-08-12  Richard Stallman  <rms@gnu.org>

	Offer to combine multiple To or CC fields.
	* lisp/mail/sendmail.el (mail-combine-fields): New function.
	(mail-send): Call 'mail-combine-fields'.

	Don't decrypt encrypted files.
	* lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.

	Handle encrypted mbox files.
	* lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
	the mbox file if necessary.

	Re-enable mime processing after decryption.  Add 'decrypt' keyword.
	* lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
	(rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
	In a mime message, reenable Mime and show the parts that
	were shown before.
	Add keyword "decrypt" if anything decrypted.

	epa-inhibit inhibits auto-recognition of .gpg files
	* lisp/epa-file.el (epa-inhibit): New variable.
	(epa-file-handler): Check epa-inhibit.

2015-08-12  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.

2015-08-11  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Respect python.el imenu when semantic-mode is off
	Fixes bug#21220
	* lisp/cedet/semantic/wisent/python.el: Do not force
	wisent-python-default-setup on python-mode-hook.

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

	Give names to Unicode code points in C code
	* src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
	(ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
	(NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
	(RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
	(LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
	(LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
	(OBJECT_REPLACEMENT_CHARACTER):
	New named constants for Unicode code points.
	* src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
	* src/composite.c (char_composable_p):
	* src/lread.c (readevalloop, read1):
	* src/xdisp.c (get_next_display_element):
	Use them.
	* src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
	Remove; now in character.h.

2015-08-11  Stephen Leake  <stephen_leake@stephe-leake.org>

	elisp--xref-find-definitions handle cl-defstuct default constructor
	* lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
	(elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
	(elisp--xref-find-definitions): Handle cl-defstuct default constructor.
	* test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
	from xref-elisp-test for ease of debugging.
	(xref-elisp-deftest): Rename from xref-elisp-test.
	(find-defs-constructor): New test.
	(find-defs-defgeneric-el): Match batch test config.
	(compile): Required for find-defs compilation-minor-mode test.
	(find-defs-defvar-el): Match code change.
	(find-defs-face-el): Match code change.
	* lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
	Improve doc string.

2015-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/replace.el (perform-replace): Document `replacements'.
	(perform-replace): Move the description of the format of `replacements'
	from the body's comment to the doc string.

2015-08-11  Jürgen Hötzel  <juergen@archlinux.org>

	* lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
	sequence.  Recent adb version send initial escape sequences, even
	when terminal type is set to TERM=dumb.

2015-08-10  Stephen Leake  <stephen_leake@stephe-leake.org>

	Rewrite elisp--xref-find-definitions to handle many more cases; add tests
	* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
	Function deleted.
	(elisp--xref-format-cl-defmethod): New defconst.
	(find-feature-regexp, find-alias-regexp): New defcustoms.
	(elisp--xref-make-xref): New function.
	(elisp--xref-find-definitions): Rewrite using the above, handle many
	more cases.  Always output all available definitions.
	(xref-location-marker): No need for special cases.
	* test/automated/elisp-mode-tests.el: Add more tests of
	elisp--xref-find-definitions, improve current tests.

2015-08-10  Eli Zaretskii  <eliz@gnu.org>

	Fix recording of events pushed onto unread-command-events
	* src/keyboard.c (read_char): Make sure events read from
	unread-command-events and unread-post-input-method-events are
	always recorded by record_char.  Reported by David Kastrup
	<dak@gnu.org>, see
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00193.html.

2015-08-10  Samer Masterson  <samer@samertm.com>

	Set file buffer as current for "--file"
	* lisp/startup.el (command-line-1): Set file buffer as current before
	it is displayed so it can be used with options like "--eval".
	(Bug#21095)

2015-08-10  Eli Zaretskii  <eliz@gnu.org>

	Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
	* src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
	after setting LC_ALL to the desired locale, to avoid affecting how
	numbers are read and printed.  (Bug#21223)

2015-08-10  Alan Mackenzie  <acm@muc.de>

	Fix "Invalid search bound (wrong side of point)" in fontification
	* lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
	an initialization expression, check point is not beyond the
	fontification limit.

2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Fix DPI calculation when Xft/DPI is default
	* src/xsettings.c (parse_settings): Don't use Xft/DPI default
	value of -1, which evaluates to 2**32 - 1 (Bug#21152).
	Remove unnecessary cast while we're in the neighborhood.

2015-08-09  Dmitry Gutov  <dgutov@yandex.ru>

	Add project-vc-search-path and project-vc-ignores
	* lisp/progmodes/project.el (project-vc): New group.
	(project-vc-search-path, project-vc-ignores): New variables.
	(project--value-in-dir): Utility function.
	(project-search-path, project-ignores): Use them.
	* lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
	at bos.  Don't add extra `/'.  Don't prepend with `*' if replaced.

2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	Fix some minor quoting issues with grave accent
	* src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
	Remove redundant quotes.
	* src/doc.c (uLSQM, uRSQM): New macros.
	* src/doc.c (Fsubstitute_command_keys):
	* src/syntax.c (Finternal_describe_syntax_value): Follow the user
	preference for quotes rather than hardcoding the ‘grave’ style.
	* src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
	(re_match_2_internal) [DEBUG]: In debugging output, quote C
	strings with "...", not `...'.

	ChangeLog.2 ignores remote-tracking merges
	* build-aux/gitlog-to-emacslog: Ignore commit logs matching
	"Merge remote-tracking branch '.*'" too.  See Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00384.html

2015-08-09  Nicolas Richard  <youngfrog@members.fsf.org>

	Use kpsewhich in ffap-latex-mode, if available
	* lisp/ffap.el (ffap-latex-guess-rules): New variable.
	(ffap-latex-mode): Use kpsewhich if available.

	ffap: disallow braces in filenames for tex modes
	* lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
	braces in tex-related modes.

	Remove useless backslashes from ffap-string-at-point-mode-alist
	* lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
	misleading backslashes from default value.

	Augment docstring of ffap-string-at-point-mode-alist
	* lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
	and END are handled.

2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>

	* lisp/org/org-src.el (org-edit-src-code)
	(org-edit-fixed-width-region):
	* lisp/simple.el (completion-setup-function):
	Remove calls to substitute-command-keys that always just return
	their argument.

2015-08-09  Daiki Ueno  <ueno@gnu.org>

	* lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
	(Bug#21210)

2015-08-09  Ivan Kanis  <ivan@kanis.fr>

	Fix link to source code in help window
	* lisp/help-fns.el (find-lisp-object-file-name): Remove code that
	will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
	'No longer include timestamp in header of .elc files'.  Add code
	that will return .el source file in load-path.

2015-08-09  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
	Respect `isearch-lax-whitespace' when searching through
	`isearch-word'.

2015-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* test/automated/ert-tests.el (ert-test-deftest): Add FIXME.

	* lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
	* lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
	(org-set-regexps-and-options, org-assign-fast-keys)
	(org-contextualize-keys, org-contextualize-validate-key)
	(org-notes-order-reversed-p, org-local-logging, org-map-entries)
	(org-find-olp, org-find-exact-heading-in-directory)
	(org-cycle-agenda-files, org-release-buffers, org-fill-template)
	(org-agenda-prepare-buffers, org-occur-in-agenda-files)
	(org-replace-escapes): Use dolist.
	(org-mode): Optimize away XEmacs-only code.
	(org-refile-get-targets): Remove unused var `f'.
	(org-fast-todo-selection): Remove unused var `e'.
	(org-make-tags-matcher): Use dolist.  Remove unused var `term'.
	(org-fast-tag-selection): Use dolist.  Remove unused var `e'.
	(org-format-latex): Use dolist.  Remove unused var `e'.
	(org-toggle-heading): Access vars lexically rather than dynamically.
	(org-backward-sentence, org-forward-sentence, org-meta-return)
	(org-kill-line): Mark arg as unused.
	(org-submit-bug-report): Silence compiler warning.
	(org-occur-in-agenda-files): Don't use add-to-list on local vars.
	(org-get-cursor-date): Remove unused var `tm'.
	(org-comment-or-uncomment-region): Use standard name `_'.
	(reftex-docstruct-symbol, reftex-cite-format): Declare to
	silence byte-compiler.
	(org-reftex-citation): Add `org--' prefix to dynamically scoped
	`rds' var.

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

	Electric quote if coding is undecided or no conv
	* lisp/electric.el (electric--insertable-p): Also say that a
	string is insertable if the buffer file coding system is undecided
	or uses no conversion, as curved quotes will work in either case.

	* configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.

2015-08-08  Eli Zaretskii  <eliz@gnu.org>

	Fix overlay string display regressions introduced in Emacs 24.5
	* src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
	buffer position, if we move the iterator to a new position as
	result of jumping over text covered by a "replacing" display
	property.
	* test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.

	Support recovery from C stack overflow on MS-Windows
	* src/w32fns.c (w32_reset_stack_overflow_guard)
	(stack_overflow_handler): New functions for handling C stack
	overflow exceptions.
	(my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
	specially, and zero out except_addr if we do.
	(globals_of_w32fns): Initialize dwMainThreadId in non-interactive
	mode.
	* src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
	the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
	the MinGW build, but the code guarded by that is for Posix hosts.
	* src/keyboard.c (command_loop) [WINDOWSNT]:
	Call w32_reset_stack_overflow_guard.
	* nt/inc/ms-w32.h (sigjmp_buf): New typedef.
	(sigsetjmp): New macro.
	(w32_reset_stack_overflow_guard): Declare the prototype.
	* configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.

2015-08-07  Phillip Lord  <phillip.lord@newcastle.ac.uk>

	Improve error signaling for seq-subseq
	* lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
	when indexes are too large, but to silently ignore numbers which
	are too negative for lists.  String and vector handling errors in
	both cases.  This has been regularized.  Error signaling behavior
	has been explicitly added to the doc string.

	* lisp/emacs-lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
	therefore also impacted by this change.  Update the doc string
	to reflect this.

	* test/automated/seq-tests.el (test-seq-subseq): Tests have been
	added for these exceptional cases, as well as one non exceptional
	base case.

2015-08-07  Jürgen Hötzel  <juergen@archlinux.org>

	Improve error checking in tramp-adb.el
	* lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
	Improve error checking.  "ls -l" on Android in Enforcing mode can
	print "lstat './FILENAME failed: Permission denied".

2015-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
	non-struct vectors.

2015-08-07  Stephen Leake  <stephen_leake@stephe-leake.org>

	Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
	* lisp/window.el: Fix typo that broke build.
	(display-buffer--action-function-custom-type):
	Add `display-buffer-use-some-frame'.
	(display-buffer): Add `display-buffer-use-some-frame' to doc string.

	Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
	* lisp/window.el (display-buffer-use-some-frame): Add support for
	'inhibit-same-window in alist.
	* doc/lispref/windows.texi (display-buffer-use-some-frame):
	Doc support for 'inhibit-same-window in alist.

2015-08-07  Eli Zaretskii  <eliz@gnu.org>

	Avoid infinite loop in display of invisible text in strings
	* src/xdisp.c (handle_invisible_prop): If the next change of
	invisibility spec does not mean the beginning of a visible text,
	update the string position from which to start the search for the
	next invisibility change.  This avoids an infinite loop when we
	have more than one invisibility spec that are made inactive by
	buffer-invisibility-spec.  Simplify code.  (Bug#21200)
	* test/redisplay-testsuite.el (test-redisplay-4): Add a test case
	for the situation that caused bug #21200.

2015-08-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Simplify describe-package-1
	(package-help-section-name-face): New face.
	(package--print-help-section): New function.
	(describe-package-1): Refactor section printing.
	(package-make-button): Use face instead of font-lock-face, which
	doesn't work on buttons.

	* lisp/emacs-lisp/package.el: Define custom faces
	(package-name-face, package-description-face)
	(package-status-built-in-face, package-status-external-face)
	(package-status-available-face, package-status-new-face)
	(package-status-held-face, package-status-disabled-face)
	(package-status-installed-face, package-status-dependency-face)
	(package-status-unsigned-face, package-status-incompat-face)
	(package-status-avail-obso-face): New faces.
	(package-menu--print-info-simple): Use them.

2015-08-05  Paul Eggert  <eggert@cs.ucla.edu>

	Fix some confusion with ‘format’
	* lisp/allout-widgets.el (allout-widgets-before-change-handler)
	(allout-graphics-modification-handler):
	Protect arbitrary string in a format context with "%s" format.
	* lisp/avoid.el:
	* lisp/cedet/semantic/bovine/scm.el: Fix comment.
	* lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
	* lisp/erc/erc-button.el (erc-button-beats-to-time):
	* lisp/gnus/message.el (message-send-form-letter):
	* lisp/org/ob-core.el (org-babel-check-evaluate)
	(org-babel-confirm-evaluate):
	* lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
	* lisp/org/ox-latex.el (org-latex-compile):
	* lisp/org/ox-man.el (org-man-compile):
	* lisp/org/ox-odt.el (org-odt-template):
	* lisp/org/ox-texinfo.el (org-texinfo-compile):
	* lisp/progmodes/prolog.el (prolog-help-info)
	(prolog-view-predspec):
	* lisp/progmodes/ruby-mode.el (ruby-parse-partial):
	* lisp/progmodes/verilog-mode.el (verilog-showscopes):
	* lisp/textmodes/rst.el (rst-replace-lines):
	Change (message (format ...)) to (message ...), and likewise
	for ‘error’.  This lessens the probability of confusion when the
	output of ‘format’ contains ‘%’.

2015-08-05  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/replace.el (replace-character-fold): Default to nil.

	* lisp/character-fold.el: Fix lax whitespace.
	(character-fold-table): Don't make space match other whitespace chars.
	(character-fold-to-regexp): Simplify lax behavior.

2015-08-05  Dmitry Gutov  <dgutov@yandex.ru>

	Preserve window point in xref-find-definitions-other-window
	Fix the problem reported by Ingo Logmar in
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00152.html
	* lisp/progmodes/xref.el (xref--goto-char): Extract from
	xref--goto-location.
	(xref--pop-to-location): Use it.  Replace xref--goto-location with
	a direct xref-location-marker call.
	(xref--show-location): Likewise.
	(xref--display-position): Use xref--goto-char.

	* lisp/progmodes/project.el: Add a paragraph to the front matter.

2015-08-04  David Kastrup  <dak@gnu.org>

	* lisp/vc/emerge.el (emerge-show-file-name):
	* lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
	(vhdl-comment-insert, vhdl-hooked-abbrev):
	* lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
	* lisp/progmodes/fortran.el (fortran-window-create-momentarily):
	* lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
	* lisp/progmodes/cperl-mode.el (cperl-putback-char):
	* lisp/obsolete/vip.el (vip-escape-to-emacs)
	(vip-prefix-arg-value, vip-prefix-arg-com):
	* lisp/obsolete/terminal.el (te-escape-extended-command-unread):
	* lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
	(quail-tibkey-update-translation):
	* lisp/leim/quail/lrt.el (quail-lrt-update-translation):
	* lisp/leim/quail/lao.el (quail-lao-update-translation):
	* lisp/leim/quail/japanese.el (quail-japanese-update-translation)
	(quail-japanese-self-insert-and-switch-to-alpha):
	* lisp/leim/quail/hangul.el (hangul2-input-method)
	(hangul3-input-method, hangul390-input-method):
	* lisp/language/hanja-util.el (hangul-to-hanja-char):
	* lisp/international/robin.el (robin-input-method):
	* lisp/international/quail.el (quail-start-translation)
	(quail-start-conversion):
	* lisp/gnus/gnus-art.el (gnus-article-describe-key)
	(gnus-article-describe-key-briefly):
	* lisp/eshell/em-hist.el (eshell-list-history):
	* lisp/term.el (term-dynamic-list-input-ring)
	(term-dynamic-list-completions):
	* lisp/subr.el (momentary-string-display):
	* lisp/simple.el (read-quoted-char):
	* lisp/pcomplete.el (pcomplete-show-completions):
	* lisp/kmacro.el (kmacro-repeat-on-last-key):
	* lisp/info.el (Info-summary):
	* lisp/ehelp.el (electric-help-command-loop):
	* lisp/ebuff-menu.el (electric-buffer-list)
	(Electric-buffer-menu-exit):
	* lisp/double.el (double-translate-key):
	* lisp/comint.el (comint-dynamic-list-input-ring)
	(comint-dynamic-list-completions): Do not overwrite preexisting
	contents of `unread-command-events' when putting new events into it.

2015-08-04  Daniel Colascione  <dancol@dancol.org>

	Improve ansi-color filtering of unrecognized escape sequences
	* lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
	escape sequences.
	(ansi-color-filter-apply, ansi-color-apply): Filter out
	unrecognized escape sequences.

2015-08-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
	definitions to `easy-menu-define', improve a couple to account for
	async, and add a couple of new commands.

2015-08-03  Jürgen Hötzel  <juergen@archlinux.org>

	* lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.

2015-08-03  Ingo Lohmar  <i.lohmar@gmail.com>

	Add new 'calendar-weekend-days' option
	Make the days receiving the 'calendar-weekend-header' face freely
	customizable, as they differ by region/culture.
	* doc/emacs/calendar.texi (Move to Beginning or End): Document the
	new variable.
	* lisp/calendar/calendar.el (calendar-generate-month): New variable
	calendar-weekend-days to customize day header fontification.

2015-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Redo text-quoting-style variable
	Rename help-quote-translation to text-quoting-style,
	and use symbols rather than characters as values.
	This follows suggestions along these lines by Alan Mackenzie in:
	https://lists.gnu.org/r/emacs-devel/2015-06/msg00343.html
	and by Drew Adams in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00048.html
	* doc/lispref/help.texi (Keys in Documentation)
	* etc/NEWS:
	* lisp/cus-start.el (standard):
	* src/doc.c (Fsubstitute_command_keys, syms_of_doc):
	Document and/or implement the new behavior instead of the old.
	(syms_of_doc): New symbols 'grave' and 'straight'.

2015-08-03  Nikolaus Rath  <Nikolaus@rath.org>

	nnimap.el: Use IMAP MOVE extension if available
	* lisp/gnus/nnimap.el (nnimap-request-move-article)
	(nnimap-process-expiry-targets, nnimap-split-incoming-mail):
	Use MOVE extension if available.

	nnimap.el: Explicitly ask for server capabilities
	* lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
	capabilities will be returned in the login-result.

2015-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Treat help strings like other doc strings
	* doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
	* lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
	substitute-command-keys.
	* src/keyboard.c (show_help_echo, parse_menu_item): Call
	substitute-command-keys on the help string before displaying it.

	Also mention "curly quotes"
	See Drew Adams's email in:
	https://lists.gnu.org/r/emacs-devel/2015-08/msg00040.html
	* doc/lispref/help.texi (Keys in Documentation):
	Add index entry "curly quotes".
	* etc/NEWS: Use the phrase "curly quotes" too.

	ede-proj-target-makefile docstring tweaks
	* lisp/cedet/ede/proj.el (ede-proj-target-makefile):
	Consistently use "all:" to describe the all: target,
	replacing three different and confusingly-quoted usages.

2015-08-02  Evgeny Fraimovitch  <johnlen7@gmail.com>  (tiny change)

	Don't abort emacsclientw when -a was specified
	* lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
	out if we are in emacsclientw and -a was specified.

2015-08-02  Eli Zaretskii  <eliz@gnu.org>

	Fix handling of 1st keystroke on MS-Windows
	* src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
	This is needed to correctly handle the session's first keystroke,
	if it has any modifiers.  (Bug#19994)

2015-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Substitute some customization etc. doc strings
	These changes apply substitute-command-keys to some
	doc strings that were going through untranslated
	when creating customization or other widgets.
	* lisp/cus-edit.el (custom-group-value-create):
	* lisp/wid-edit.el (widget-default-create):
	(widget-push-button-value-create):
	Treat the widget tag as a doc string.
	* lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
	Treat the :documentation value as a doc string.
	* lisp/wid-edit.el (widget-choose):
	Treat the choice names as doc strings.
	(widget-default-create): Treat the :doc value as a doc string.
	(widget-toggle-value-create): Treat the :on and :off values
	as doc strings.
	(widget-documentation-string-value-create):
	Substitute the doc string.

2015-08-01  Dmitry Gutov  <dgutov@yandex.ru>

	Add a second argument to project-ignores
	* lisp/progmodes/project.el (project-ignores): Add a second
	argument DIR.
	* lisp/progmodes/project.el (project-ignores): Only include the VC
	ignores if DIR is the VC root.
	* lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.

2015-08-01  Eli Zaretskii  <eliz@gnu.org>

	Prevent incorrect display when 'line-spacing' variable is set
	* src/xdisp.c (try_window_id): Give up this optimization if the
	buffer has its 'line-spacing' variable set non-nil.

2015-08-01  Dmitry Gutov  <dgutov@yandex.ru>

	Don't pass NOVISIT to find-file
	* lisp/progmodes/etags.el (next-file):
	Don't pass NOVISIT to find-file (bug#21175).

	Ignore buffer restriction for tags-loop-eval
	* lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
	restriction (bug#21167).

2015-08-01  Eli Zaretskii  <eliz@gnu.org>

	Fix a thinko in 'ffap-gopher-at-point'
	* lisp/ffap.el (ffap-gopher-at-point): Fix last change.  (Bug#21168)

	Honor 'line-spacing' for empty lines
	* src/xdisp.c (append_space_for_newline): Honor 'line-height'
	property and 'line-spacing' frame parameter or variable or
	property for empty lines, by doing the same processing as in
	x_produce_glyph for newline characters.  (Bug#21165)

2015-08-01  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify by assuming C99 integer division
	* src/floatfns.c (ceiling2, floor2, truncate2):
	Assume C99 (i.e., Fortran) semantics for integer division.
	This simplifies the code.

2015-07-31  Paul Eggert  <eggert@cs.ucla.edu>

	Don't overflow if computing approximate percentage
	* lisp/align.el (align-region):
	* lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
	* lisp/cedet/semantic/wisent.el (wisent-parse-region):
	* lisp/cus-edit.el (custom-buffer-create-internal):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
	(checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
	(checkdoc-next-message-error):
	* lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
	* lisp/epa.el (epa-progress-callback-function):
	* lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
	* lisp/ffap.el (ffap-menu-rescan):
	* lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
	* lisp/gnus/nndiary.el (nndiary-retrieve-headers):
	* lisp/gnus/nneething.el (nneething-retrieve-headers):
	* lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
	* lisp/gnus/nnmh.el (nnmh-retrieve-headers):
	* lisp/gnus/nnml.el (nnml-retrieve-headers):
	* lisp/gnus/nnspool.el (nnspool-retrieve-headers):
	* lisp/gnus/nntp.el (nntp-retrieve-headers)
	(nntp-retrieve-articles):
	* lisp/imenu.el (imenu--relative-position):
	* lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
	(skkdic-convert-okuri-nasi):
	* lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
	* lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
	* lisp/org/org-list.el (org-update-checkbox-count):
	* lisp/org/org.el (org-table-map-tables)
	(org-update-parent-todo-statistics):
	* lisp/play/decipher.el (decipher-insert-frequency-counts)
	(decipher-analyze-buffer):
	* lisp/profiler.el (profiler-format-percent):
	* lisp/progmodes/cc-cmds.el (c-progress-update):
	* lisp/progmodes/cpp.el (cpp-highlight-buffer):
	* lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
	(idlwave-list-load-path-shadows):
	* lisp/progmodes/opascal.el (opascal-step-progress):
	* lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
	(vhdl-scan-directory-contents):
	* lisp/textmodes/bibtex.el (bibtex-progress-message):
	* lisp/textmodes/flyspell.el (flyspell-small-region)
	(flyspell-external-point-words):
	* lisp/textmodes/table.el (table-recognize):
	Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
	progress-report percentages and the like.  This avoids problems
	if (* 100 NUMERATOR) would overflow.
	* lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
	* lisp/gnus/registry.el (registry-reindex):
	Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
	* lisp/descr-text.el (describe-char):
	* lisp/org/org-colview.el (org-nofm-to-completion):
	* lisp/ps-print.el (ps-plot):
	* lisp/simple.el (what-cursor-position):
	Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
	more-complicated and less-accurate approximation.

	Fix some int overflows in profiler.c
	* src/profiler.c (make_log): Make args EMACS_INT, not int,
	to avoid unwanted behavior on 'int' overflow.
	(make_log, evict_lower_half, record_backtrace):
	Use ptrdiff_t, not int, for object indexes.

	Port to pedantic memcpy
	* src/keyboard.c (menu_bar_items, tool_bar_items):
	* src/xrdb.c (magic_db):
	Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).

	Merge from gnulib
	This incorporates:
	2015-07-29 time_rz: port to pedantic memcpy
	* lib/time_rz.c: Copy from gnulib.

2015-07-31  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
	When updating the very last entry, tabulated-list-print would
	erase it and then try to look at the next one (which obviously
	isn't there).

2015-07-31  Eli Zaretskii  <eliz@gnu.org>

	Allow to use the old key processing code on MS-Windows
	* src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
	New variable.
	(w32_wnd_proc): Use it to invoke the old code that processed
	character keys, as fallback, when this variable is non-nil.
	Fix typos in comments.  (Bug#19994)

2015-07-31  Ilya Zakharevich  <ilya@math.berkeley.edu>

	Improve handling of Unicode keyboard input on MS-Windows
	* src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
	(FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
	(w32_wnd_proc): Call deliver_wm_chars to process non-special keys
	upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages.  If that is
	successful, don't call TranslateMessage.  (Bug#19994)

2015-07-30  Dmitry Gutov  <dgutov@yandex.ru>

	Fix default-directory in changeset diffs after vc-print-log
	* lisp/vc/log-view.el (log-view-diff-common): Move the
	revision-granularity check back into log-view-diff-changeset.
	(log-view-diff-changeset): Bind default-directory to the current
	VC root.

	Rename project-directories to project-roots
	* lisp/progmodes/project.el (project-search-path-function)
	(project-search-path): Update the docstring.
	(project-directories): Rename to `project-roots', update all
	callers and implementations accordingly.
	(project-root): Remove.
	* lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
	as the default file mask.

2015-07-30  Eli Zaretskii  <eliz@gnu.org>

	Support long URLs in w32-shell-execute
	* src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
	and filename_to_ansi to convert the DOCUMENT argument, as it could
	be a URL that is not limited to MAX_PATH characters.  Instead, use
	MultiByteToWideChar directly, and allocate heap storage as
	required to accommodate the converted string.  Likewise with
	non-Unicode operation.  Ensure OPERATION is null-terminated, even
	if it is longer than 32K bytes.  (Bug#21158)

2015-07-30  Stephen Leake  <stephen_leake@stephe-leake.org>

	* lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.

2015-07-29  Stephen Leake  <stephen_leake@stephe-leake.org>

	Add docs for display-buffer action display-buffer-use-some-frame
	* lisp/window.el (display-buffer-use-some-frame): Improve doc string.
	* doc/lispref/windows.texi (Display Action Functions):
	Add display-buffer-use-some-frame.
	* etc/NEWS: Mention display-buffer-use-some-frame.

	Add display-buffer action display-buffer-use-some-frame
	* lisp/window.el (display-buffer-use-some-frame): New.

	Handle vc-mtn error more gently
	* lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
	branch is nil.

2015-07-29  Michael Albinus  <michael.albinus@gmx.de>

	Fix Tramp problems with multihops, and nc
	* lisp/net/tramp-cache.el (tramp-get-file-property)
	(tramp-set-file-property, tramp-flush-file-property)
	(tramp-get-connection-property, tramp-set-connection-property)
	(tramp-flush-connection-property): Remove hop from vector.
	* lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
	* lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
	(tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
	netstat to 60".
	(tramp-sh-handle-start-file-process): Do not show hops in prompt.
	* lisp/net/tramp.el (tramp-handle-file-name-as-directory)
	(tramp-handle-file-name-directory, tramp-handle-file-remote-p):
	Keep hop in result.
	* test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
	Add hop tests.

2015-07-29  Eli Zaretskii  <eliz@gnu.org>

	Resurrect highlighting of repeated words by Flyspell Mode
	* lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
	characters between point and the doublon candidate, so that
	flyspell-word-search-backward finds it.  (Bug#21157)

	Fix redisplay of large images on expose events
	* src/xdisp.c (expose_window, expose_area): Avoid comparisons
	between signed negative values and unsigned values.  This
	prevented redisplay on expose events when the window showed a very
	large image.

2015-07-29  Paul Eggert  <eggert@cs.ucla.edu>

	Remove unnecessary stack overflow dependency
	* configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
	Don't worry about $ac_cv_header_sys_resource_h and
	$ac_cv_func_getrlimit, as they're no longer needed for this.
	Problem reported by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-07/msg00443.html

2015-07-28  Andy Moreton  <andrewjmoreton@gmail.com>  (tiny change)

	Pacify compilation -Wincompatible-pointer-types warnings
	* src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
	warning.
	(CompareStringW_Proc): New typedef.
	(w32_compare_strings): Use it, to pacify compiler warnings under
	"-Wincompatible-pointer-types".
	* src/w32fns.c (GetDiskFreeSpaceExW_Proc)
	(GetDiskFreeSpaceExA_Proc): New typedefs.
	(Ffile_system_info): Use them, to pacify compiler warnings under
	"-Wincompatible-pointer-types".

2015-07-28  Paul Eggert  <eggert@cs.ucla.edu>

	Fix subscript error in calculate_direct_scrolling
	Use slightly-longer cost vectors.  Without this change,
	calculate_direct_scrolling can have a subscript violation when
	FRAME_LINES (frame) <= delta.
	* src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
	(line_ins_del, do_line_insertion_deletion_costs):
	Allocate and use slightly-larger cost vectors, ones based on
	FRAME_TOTAL_LINES instead of FRAME_LINES.

	Fix uninitialized value in encode_coding_object
	* src/coding.c (encode_coding_object): Also initialize
	coding->src_pos and coding->src_pos_byte when NILP (src_object).
	This avoids later use of uninitialized storage.

2015-07-27  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/lispref/variables.texi (Variable Aliases): Typo fix.
	(Bug#21141)

2015-07-27  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib
	This incorporates:
	2015-07-27 time_rz: port better to MinGW
	2015-07-27 time: port __need_time_t to MinGW
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
	* lib/time-internal.h: New file, from gnulib.

2015-07-27  Eli Zaretskii  <eliz@gnu.org>

	Handle NULL pointers in w32heap.c allocation routines
	* src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
	freeable".
	(realloc_after_dump, realloc_before_dump, free_before_dump):
	Handle NULL pointers gracefully, as Emacs now seems to expect that.

	Fix Cairo build without PNG
	* src/image.c: Define PNG function when USE_CAIRO is defined, even
	if HAVE_PNG is not.  (Bug#21133)

	MS-Windows follow-up for recent TZ-related changes
	* nt/mingw-cfg.site (ac_cv_header_pthread_h)
	(gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
	picking up 'struct timespec' from pthread.h, if it is installed on
	the user's system.  We want either the definitions from MinGW
	system headers, if available, or the Gnulib replacements if not.
	* nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
	lib/time.h.
	* lib/time.in.h: Don't let __need_* symbols affect what happens on
	MinGW.  These symbols are defined by MinGW system headers, but we
	don't want that to affect whether Gnulib portions of the header
	are or aren't used.

2015-07-26  Paul Eggert  <eggert@cs.ucla.edu>

	* src/ftfont.c (ftfont_close): Add comment re Bug#20890.

	New optional ZONE arg for format-time-string etc.
	This simplifies time conversions in other time zones.
	It also prevents display-time-world tampering with TZ (Bug#21020).
	* admin/admin.el (add-release-logs):
	Use improved add-log-time-format API.
	* admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
	(GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
	* configure.ac (tzalloc): Remove test for this, since
	Emacs no longer uses HAVE_TZALLOC directly.
	* doc/lispref/os.texi (Time of Day, Time Conversion)
	(Time Parsing):
	* etc/NEWS: Document the new behavior.
	Merge from gnulib, incorporating:
	2015-07-25 strftime: fix newly-introduced bug on Solaris
	2015-07-23 fprintftime, strftime: use timezone_t args
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
	* m4/time_h.m4:
	Update from gnulib.
	* lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
	New files from gnulib.
	* lisp/time-stamp.el (time-stamp-string):
	* lisp/time.el (display-time-world-list)
	(display-time-world-display):
	Use new API, with time zone arg.
	* lisp/time.el (display-time-world-display):
	Fix race when current-time advances while we're running.
	* lisp/vc/add-log.el (add-log-iso8601-time-zone)
	(add-log-iso8601-time-string): Accept optional time zone arg.
	* lisp/vc/add-log.el (add-change-log-entry):
	* lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
	* nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
	Add rules for the time module, since they're now needed
	for tzalloc etc.
	* src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
	(emacs_getenv_TZ, emacs_setenv_TZ): New decls.
	* src/editfns.c: Include errno.h.
	(set_time_zone_rule): Omit unnecessary forward decl.
	(initial_tz): Remove, replacing with ...
	(local_tz, wall_clock_tz, utc_tz): New static vars and constants.
	(tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
	(emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
	(tzlookup): New static functions.
	(init_editfns): New arg DUMPING.  All uses changed.
	(init_editfns): Omit most initialization if dumping, not if
	!initialized.  Initialize wall_clock_tz and local_tz.
	(emacs_nmemftime, format_time_string): Time zone argument can now
	be any time zone, not just a boolean for UTC or local time.  All
	callers changed.
	(Fformat_time_string, Fencode_time, Fcurrent_time_string)
	(Fcurrent_time_zone): New optional arg ZONE.
	(Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
	the same form as with the other new additions.
	(decode_time_zone): Remove; no longer needed.
	(tzvalbuf): Now file-scope.
	(emacs_getenv_TZ, emacs_setenv_TZ): New functions.
	(syms_of_editfns): Define Qwall.
	* src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
	* src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
	[!HAVE_TZALLOC]:
	Remove; now supplied by gnulib.
	* src/emacs.c (main):
	* src/lisp.h (init_editfns): Adjust to init_editfns API change.

2015-07-26  Shigeru Fukaya  <shigeru.fukaya@gmail.com>

	Fix infinite loop in delete-consecutive-dups
	* lisp/subr.el (delete-consecutive-dups): Work even if the last
	element is nil (Bug#20588).  Avoid rescan of a circular list in
	deletion of last element.

2015-07-26  Martin Rudalics  <rudalics@gmx.at>

	Have `x-frame-geometry' return nil for terminal and initial
	frames (Bug#21132)
	* src/nsfns.m (Fx_frame_geometry):
	* src/xfns.c (Fx_frame_geometry): Return nil for initial and
	terminal frames.
	* src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
	(Fx_frame_geometry): Return nil for terminal frames

2015-07-26  HOSOYA Kei  <hosoyakei.free@gmail.com>  (tiny change)

	* etc/tutorials/TUTORIAL.ja: Improve translation.

2015-07-25  Eli Zaretskii  <eliz@gnu.org>

	Avoid crashes when w32 GUI functions are called in -batch
	* src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
	(Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
	FRAME_W32_WINDOW for initial frame.  (Bug#21132)

	Fix flyspell-check-previous-highlighted-word
	* lisp/textmodes/flyspell.el
	(flyspell-check-previous-highlighted-word): Really accept a
	numeric argument, as the doc string describes.  Fix an off-by-one
	error in looking up overlays, so invocation with point immediately
	after a word would check that word.  Clarify the doc string as
	Suggested by N. Jackson <nljlistbox2@gmail.com>.  (Bug#21129)

2015-07-24  Michael Albinus  <michael.albinus@gmx.de>

	Minor cleanup in tramp-tests.el
	* test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
	Implement using the documented interface
	`tramp-connection-properties', rather than with internal functions.

2015-07-24  Harald Hanche-Olsen  <hanche@math.ntnu.no>  (tiny change)

	Pass lambdas to `skeleton-read'
	* lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
	* lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
	lambdas to `skeleton-read' (bug#20386).

2015-07-24  Eli Zaretskii  <eliz@gnu.org>

	* INSTALL (DETAILED BUILDING AND INSTALLATION):
	Mention --without-imagemagick.

	Don't require GUI frames and mouse for Flyspell menus
	* lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
	(flyspell-emacs-popup): Require neither a GUI frame nor mouse
	support, since pop-up menus work with text terminals and can be
	controlled via the keyboard.

	Improve documentation of Flyspell commands
	* doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
	can be invoked via the keyboard.  Mention those commands by name
	and add them to the fn index.  (Bug#21125)

2015-07-23  Michael Albinus  <michael.albinus@gmx.de>

	Fix some Tramp problems with HP-UX
	* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Add "tab0" to stty call.
	* test/automated/tramp-tests.el (tramp-persistency-file-name):
	Set to nil.
	(tramp--test-hpux-p): New defun.
	(tramp--test-utf8): Use it.

2015-07-22  Glenn Morris  <rgm@gnu.org>

	* build-aux/update-subdirs: Put "no-update-autoloads: t" in output.

2015-07-22  Eli Zaretskii  <eliz@gnu.org>

	Fix point positioning in ffap-next-guess
	* lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
	as our callers expect.  This was clobbered as part of fixing
	bug#5673.  (Bug#21107)
	(ffap-gopher-at-point): Set ffap-string-at-point-region.

2015-07-22  Martin Rudalics  <rudalics@gmx.at>

	* lisp/window.el (even-window-sizes): Fix customization type.

	Optionally even widths of `display-buffer' windows.  (Bug#21100)
	* lisp/window.el (quit-restore-window): Restore width if
	requested.
	(display-buffer-record-window): Record width when window is
	reused and horizontally combined.
	(even-window-sizes): New option to allow evening window widths.
	(even-window-heights): Defalias to `even-window-sizes'.
	(window--even-window-heights): Rename to
	`window--even-window-sizes'.  Handle side-by-side windows.
	(display-buffer-use-some-window): Call `window--even-window-sizes'
	instead of `window--even-window-heights'.
	* lisp/help.el (resize-temp-buffer-window): Fix indentation.
	* doc/lispref/windows.texi (Choosing Window Options): Describe
	`even-window-sizes'.
	(Coordinates and Windows): Fix typo.

2015-07-22  Stephen Leake  <stephen_leake@stephe-leake.org>

	Add file name to autoload error messages
	* lisp/emacs-lisp/autoload.el (autoload-save-buffers):
	Add condition-case to add file name to error message.

2015-07-22  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
	Use 0.0.0.1 as test host.

2015-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	(advice--called-interactively-skip): Fix inf-loop (bug#21083)
	* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
	Fix inf-loop (bug#21083).

2015-07-21  Glenn Morris  <rgm@gnu.org>

	* test/automated/package-test.el (package-test-signed):
	Update for recent changes.

	* test/automated/elisp-mode-tests.el
	(elisp-xref-finds-both-function-and-variable)
	(elisp-xref-finds-only-function-for-minor-mode):
	Update for recent xref name changes.

2015-07-21  Dmitry Gutov  <dgutov@yandex.ru>

	Make eldoc timer non-repeatable
	* lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
	non-repeatable.  Since it's on post-command hook, that just wasted
	CPU cycles.

2015-07-21  Michael Albinus  <michael.albinus@gmx.de>

	Mention `tramp-connection-properties' in NEWS

	Sync with Tramp repository
	* doc/misc/tramp.texi (Configuration): Note, that Tramp must be
	required prior changing its configuration.
	(Connection caching, Predefined connection information)
	(Remote shell setup): Fix typos.
	(Predefined connection information): Describe, how to overwrite
	parameters of `tramp-methods'.
	(Remote programs, Remote processes, Traces and Profiles):
	Simplify example.
	(Remote programs): Remove superfluous comment.
	* doc/misc/trampver.texi: Update release number.
	* lisp/net/tramp-cache.el (tramp-connection-properties):
	Adapt docstring.
	* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
	(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
	(tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
	"gvfs-mkdir -p ..." does not work robust.
	(tramp-gvfs-maybe-open-connection):
	Adapt `tramp-get-method-parameter' call.
	* lisp/net/tramp-sh.el (tramp-methods):
	Add `tramp-remote-shell-login' parameter where it fits.
	(tramp-get-remote-path): Use it.
	(tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
	(all): Adapt `tramp-get-method-parameter' calls.
	* lisp/net/tramp.el (tramp-methods): Adapt docstring.
	(tramp-get-method-parameter): Replace argument METHOD by VEC.
	Check also for hits in `tramp-connection-properties'.  Adapt docstring.
	(tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
	(all): Adapt `tramp-get-method-parameter' calls.
	* lisp/net/trampver.el: Update release number.
	* test/automated/tramp-tests.el (tramp--instrument-test-case):
	Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
	(tramp-test13-make-directory, tramp--test-adb-p)
	(tramp--test-smb-or-windows-nt-p): Simplify.
	(tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
	(tramp--test-special-characters): Fix docstring.  Add gvfs and
	ftp tests.
	(tramp--test-utf8): Fix docstring.

2015-07-20  Dmitry Gutov  <dgutov@yandex.ru>

	Add new xref-query-replace command
	* lisp/progmodes/xref.el (xref--match-buffer-bounds):
	New function, extracted from xref-pulse-momentarily.
	(xref-query-replace): New command.
	(xref--query-replace-1): New helper function.
	(xref--xref-buffer-mode-map): Add `r' binding.

2015-07-20  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify icalendar decoding of Z dates
	* lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
	Simplify calculation of time strings with trailing "Z".

2015-07-19  Dmitry Gutov  <dgutov@yandex.ru>

	Do not corrupt grep-find-ignored-files
	* lisp/progmodes/project.el (project-ignores): Change the order of
	the arguments to nconc, in order not to corrupt grep-find-ignored-files.

	Add xref-match-item, and use it
	* lisp/progmodes/xref.el (xref-match-bounds): New generic function.
	(xref-file-location): Add reader for the column slot.
	(xref-match-item): New class.
	(xref-match-bounds): A method implementation for it.
	(xref-make-match): New constructor function.
	(xref--current-item): New private variable.
	(xref-pulse-momentarily): Use it.
	(xref--pop-to-location): Change the first argument to an xref
	item, instead of location, bind xref--current-item.
	Update all callers.
	(xref-next-line, xref-prev-line, xref--next-error-function)
	(xref--mouse-2): Look for the property `xref-item',
	instead of `xref-location'.
	(xref--item-at-point): Likewise.  This function replaces
	`xref-location-at-point'.  Update all callers.
	(xref--insert-xrefs): Add the `xref-item' text property, instead
	of `xref-location'.
	(xref--collect-match): Use xref-make-match.

	* lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
	Update all references.

	* lisp/progmodes/xref.el (xref--xref): Rename the `description'
	slot to `summary'.

	vc-hg: Perform the print-log call asynchronously
	* lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
	asynchronously (bug#21067).

	Add xref-after-jump-hook and xref-after-return-hook
	* lisp/progmodes/xref.el (xref-after-jump-hook)
	(xref-after-return-hook): New hooks.
	(xref-pulse-on-jump): Remove, in favor of the above.
	(xref-pulse-momentarily): Rename from xref--maybe-pulse.
	(xref--pop-to-location, xref--display-position)
	(xref-pop-marker-stack): Use the new hooks, as requested in
	https://lists.gnu.org/r/emacs-devel/2015-07/msg00213.html

2015-07-19  Bozhidar Batsov  <bozhidar@batsov.com>

	* lisp/progmodes/js.el (js-mode): Correct the lighter.

2015-07-19  Leo Liu  <sdl.web@gmail.com>

	Fix a bug in cfengine3-mode
	* lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
	eldoc-documentation-function.

2015-07-18  Julien Danjou  <julien@danjou.info>

	sieve-mode: support "body" test command
	* lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
	Add missing "body" test command.

2015-07-18  Eli Zaretskii  <eliz@gnu.org>

	Fix info-apropos when the default encoding is Latin-N
	* lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
	'undecided', so that it is set to the encoding of the Info file we
	are about to insert.  Otherwise, 'info-apropos' will fail to find
	some index nodes in some UTF-8 encoded files, if the buffer's
	previous encoding is Latin-N or some such.

2015-07-18  Ivan Andrus  <darthandrus@gmail.com>

	* lisp/epg.el (epg--start): Check that gpgconf can be found
	before calling it.

	Expose more file types to OS X that Emacs understands
	* nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
	sty, dtx, json, and org files.  Export UTIs for el, elc, and org files.

2015-07-18  Eli Zaretskii  <eliz@gnu.org>

	Fix visual-order cursor movement when lines are truncated
	* src/xdisp.c (Fmove_point_visually): When lines are truncated,
	simulate display in a window of infinite width, to allow move_it_*
	functions reach positions outside of normal window dimensions.
	Remove code that tried to handle a subset of these situations by
	manual iteration of buffer text.  (Bug#17777)

	Fix following Info cross-references to anchors
	* lisp/info.el (Info-read-subfile): Add to the returned value the
	length of subfile preamble, after converting it to file's byte
	offset, as expected by the caller.  Use bufferpos-to-filepos.
	(Info-find-node-2): If searching for a node with a
	1000-character slop fails, try again with a 10000-character slop,
	to account for known bugs in Texinfo 5.0 and 5.1.  (Bug#21055)
	* lisp/international/mule-util.el (bufferpos-to-filepos): New
	function.
	* etc/NEWS: Mention bufferpos-to-filepos.

	Fix scrolling backwards on TTY frames under scroll-conservatively
	* src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
	in moving backwards on TTY frames.  (Bug#21080)

2015-07-17  Dmitry Gutov  <dgutov@yandex.ru>

	Consider a jsdoc tag to be a beginning of a paragraph as well
	* lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
	consider a jsdoc tag to be a beginning of a paragraph as well.

2015-07-17  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Fix warnings.

	* lisp/emacs-lisp/package.el (package-buffer-info):
	Add author and maintainers to `package-buffer-info'.

	* lisp/emacs-lisp/package.el: Many small changes.
	Replace all instances of 'face with 'font-lock-face.
	(describe-package-1): Improve some strings and move the summary
	up the list.
	(package-install-file): Update docstring.
	(package-menu-hide-package): Bind to `H'.

	* lisp/emacs-lisp/package.el (package--with-work-buffer-async):
	Fix error handling.

2015-07-17  Paul Eggert  <eggert@cs.ucla.edu>

	Fix hang with large yanks This should fix the bug fixed by Mike
	Crowe's patch in:
	https://lists.gnu.org/r/emacs-devel/2015-07/msg00106.html
	A problem in this area has been reported by several users; see
	Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
	This fix differs from Mike Crowe's patch in that it should avoid a
	race condition that could lose SIGIO signals.  ignore_sigio dates
	back to the 1980s when some platforms couldn't block signals, and
	could only ignore them, which led to races when signals arrived
	while being ignored.  We shouldn't have to worry about those old
	platforms now.
	* src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
	* src/emacs.c (shut_down_emacs):
	Don't call ignore_sigio; unrequest_sigio should suffice.
	* src/keyboard.c (kbd_buffer_store_buffered_event):
	Use unrequest_sigio, not ignore_sigio.
	(kbd_buffer_get_event):
	Call request_sigio when getting the ball rolling again.

2015-07-17  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/obsolete/longlines.el (longlines-search-function):
	Fallback on `isearch-search-fun-default'.

2015-07-17  Tassilo Horn  <tsdh@gnu.org>

	Support @-mentions
	* lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
	of mentions/messages with @nick instead of just nick.

2015-07-16  Michael Albinus  <michael.albinus@gmx.de>

	Fix bug#20943
	* lisp/autorevert.el (auto-revert-handler): Do not check for
	`buffer-modified-p'.
	* lisp/files.el (buffer-stale--default-function): Check for
	`buffer-modified-p'.
	* test/automated/auto-revert-tests.el
	(auto-revert-test02-auto-revert-mode-dired): Adapt test.

2015-07-16  Ari Roponen  <ari.roponen@gmail.com>

	Fix delete-dups bug on long lists
	* lisp/subr.el (delete-dups):
	Don't mistakenly keep some dups when applied to long lists.

2015-07-16  Paul Eggert  <eggert@cs.ucla.edu>

	Better heuristic for C stack overflow
	Improve the heuristic for distinguishing stack overflows from
	other SIGSEGV causes (Bug#21004).  Corinna Vinschen explained that
	the getrlimit method wasn't portable to Cygwin; see:
	https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
	Corinna suggested pthread_getattr_np but this also has problems.
	Instead, replace the low-level system stuff with a simple
	heuristic based on known good stack addresses.
	* src/eval.c, src/lisp.h (near_C_stack_top): New function.
	* src/sysdep.c: Don't include <sys/resource.h>.
	(stack_direction): Remove.  All uses removed.
	(stack_overflow): New function.
	(handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
	Make SEGV fatal in non-main threads.

2015-07-16  Daiki Ueno  <ueno@gnu.org>

	epg: Automatically start pinentry server
	* lisp/epg-config.el (epg-gpgconf-program): New variable.
	* lisp/epg.el (epg--start): Call `pinentry-start' if
	allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.

2015-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/nnimap.el: Fix my last bogus change.
	Reinstall Stefan Monnier's change that was made in
	<83d824bc4041332f338ad7e5e830f443535aa300>.

2015-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib
	This incorporates:
	2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
	2015-07-05 acl-permissions: Fix on FreeBSD
	2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
	* lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
	* lib/set-permissions.c: Copy from gnulib.

	Port to stricter C99
	* src/keyboard.h (kbd_buffer_store_event_hold):
	Don't return a void expression.

2015-07-15  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/frames.texi (Creating Frames):
	Fix the command `C-x 5 m' runs.

2015-07-14  Michael Albinus  <michael.albinus@gmx.de>

	New autorevert tests
	* test/automated/auto-revert-tests.el: New file.

2015-07-14  Paul Eggert  <eggert@cs.ucla.edu>

	Clear gcprolist etc. after stack overflow
	After stack overflow, command_loop calls init_eval, and this needs to
	clear gcprolist and byte_stack_list (Bug#20996).
	* src/alloc.c (init_alloc):
	Move gcprolist and byte_stack_list initialization from here ...
	* src/eval.c (init_eval): ... to here.

2015-07-13  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/windows.texi (Pop Up Window): Fix the description
	of `C-x 4 m'.

2015-07-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Avoid deprecated enums in mac-ct font backend driver
	* src/macfont.m (mac_font_copy_default_descriptors_for_language)
	(mac_ctfont_get_advance_width_for_glyph)
	(mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.

	Cache font family in mac-ct font backend driver
	* src/macfont.m (macfont_family_cache): New variable.
	(syms_of_macfont): Initialize it.
	(macfont_available_families_cache): New variable.
	(macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
	(macfont_set_family_cache, macfont_invalidate_available_families_cache)
	(macfont_handle_font_change_notification)
	(macfont_init_font_change_handler)
	(macfont_copy_available_families_cache): New functions.
	(macfont_create_family_with_symbol): Use font family caches.
	(macfont_list, macfont_list_family):
	Use macfont_copy_available_families_cache instead of
	mac_font_create_available_families.

2015-07-12  Dmitry Gutov  <dgutov@yandex.ru>

	Show the default value in the prompt
	* lisp/progmodes/xref.el: Add `M-?' binding for
	xref-find-references.  Declare functions `grep-read-files' and
	`grep-expand-template'.
	(xref--read-identifier): Show the default value in the prompt.

	* lisp/progmodes/xref.el (xref-find-regexp): When called with
	prefix argument, ask for file patterns to search as well.  When
	prompting for the directory, require an existing one.
	(xref-collect-matches): Add a new argument, FILES.  Use it in the
	above function.

	Add `project-ignores'
	* lisp/progmodes/project.el (project-ignores): New generic
	function, and an implementation for the VC project type.
	* lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
	variant of rgrep-default-command that handles a generic list of
	ignores.
	(xref-collect-matches): Use it, and pass through to it the value
	of the newly added argument.
	(xref-find-regexp): Handle ignored paths within the project.
	Remove outdated comment.
	* lisp/vc/vc.el (vc-default-ignore-completion-table):
	Skip the comments and the empty lines.

2015-07-12  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.

2015-07-11  Eric Abrahamsen  <eric@ericabrahamsen.net>

	gnus-registry.el: Correct function argument order
	* lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
	Reverse the order of function arguments.

2015-07-11  Dmitry Gutov  <dgutov@yandex.ru>

	Bind grep-highlight-matches to nil
	* lisp/progmodes/xref.el (xref-collect-matches):
	Bind grep-highlight-matches to nil (bug#20728).

2015-07-11  Nikolaus Rath  <Nikolaus@rath.org>

	nnimap.el: Fix IMAP message size parsing
	* lisp/gnus/nnimap.el (nnimap-transform-headers):
	Don't assume that UID comes before RFC822.SIZE.

2015-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/gnus/nnimap.el: Clean up "unused var" warnings
	(auth-source-creation-prompts): Declare.
	(nnimap-retrieve-headers, nnimap-status-message)
	(nnimap-request-create-group, nnimap-request-delete-group)
	(nnimap-close-group, nnimap-request-move-article)
	(nnimap-request-accept-article, nnimap-request-newgroups)
	(nnimap-request-post, nnimap-dummy-active-number)
	(nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
	(nnimap-parse-flags): Remove unused var `p'.
	(nnimap-retrieve-group-data-early): Remove unused var `groups'.
	(nnimap-flags-to-marks): Remove unused var `totalp'.

2015-07-10  Andy Moreton  <andrewjmoreton@gmail.com>  (tiny change)

	* src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.

2015-07-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/macfont.m (macfont_list): Ignore font families lacking
	font descriptors.

2015-07-09  Dmitry Gutov  <dgutov@yandex.ru>

	Don't check the exit status, it can be misleading
	* lisp/progmodes/xref.el (xref-collect-matches): Don't check the
	exit status, it can be misleading.

	Introduce a Project API
	* lisp/progmodes/project.el: New file.
	* lisp/cedet/ede.el (project-try-ede): New function.
	(project-root): New implementation.
	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
	Set project-search-path-function.
	(elisp--xref-find-references): Delegate some logic to
	project-search-path.
	(elisp-search-path): New function.
	(elisp-xref-find): Don't implement `matches' anymore.
	* lisp/progmodes/etags.el: Don't implement `matches'.
	Delegate some logic to project-search-path.
	(etags-search-path): New function.
	* lisp/progmodes/xref.el (xref-find-function):
	Remove `matches' from the API.
	(xref-find-regexp): Move whatever common logic was in elisp and
	etags implementations, and search the directories returned by
	project-directories and project-search-path.

2015-07-09  Nicolas Petton  <nicolas@petton.fr>

	* test/automated/map-tests.el (test-map-delete-return-value):
	Uncomment test.

	Add support for gv.el in map.el
	* lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
	* lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
	* test/automated/map-tests.el: Update tests to work with the new
	implementations of map-elt and map-put.

2015-07-09  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.

2015-07-09  Dmitry Gutov  <dgutov@yandex.ru>

	Syntax-propertize until the end of the line first
	* lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
	until the end of the line first.

2015-07-09  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/files.texi (File Archives): Add a cross reference.

2015-07-08  Nikolaus Rath  <Nikolaus@rath.org>

	nnimap.el: Handle plain value for nnimap-stream
	* lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
	capabilities, so that a 'plain value for the `nnimap-stream' server
	variable is handled correctly.
	* doc/misc/gnus.texi (Customizing the IMAP Connection):
	Document the 'plain option.

2015-07-08  Leo Liu  <sdl.web@gmail.com>

	Fix bug in thing-at-point--bounds-of-well-formed-url
	* lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
	sure boundary contains current point.

2015-07-08  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
	in the end.

	Declare whitespace-line-column a safe file-local
	* lisp/whitespace.el (whitespace-line-column): Declare to be a
	safe file-local when the value is an integer.

2015-07-08  Eric Abrahamsen  <eric@ericabrahamsen.net>

	gnus-group.el: Check if group names are already strings
	* lisp/gnus/gnus-group.el (gnus-group-group-name):
	The group name may already be a string.
	Specifically, in the group list reached from the *Server* buffer,
	the 'gnus-group text property returns a string.  Everywhere else
	it returns a symbol.

	nnimap.el: Remove unused let variables
	* lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.

2015-07-08  Eli Zaretskii  <eliz@gnu.org>

	Support "maximized" property of runemacs's shortcut
	* nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
	the '--maximized' switch to Emacs.

	Support "minimized" property of runemacs's shortcut
	* nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
	pass the '--iconic' switch to Emacs.  (Bug#20991)

2015-07-08  Xue Fuqiao  <xfq.free@gmail.com>

	Doc fixes
	* doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
	C-w' in Diff mode.
	* doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
	Add a cross reference.

2015-07-08  Nicolas Richard  <youngfrog@members.fsf.org>

	* lisp/obsolete/landmark.el: Add Obsolete-since header.

2015-07-07  Glenn Morris  <rgm@gnu.org>

	* test/automated/ert-tests.el (ert-test-deftest):
	Update for recent changes.

2015-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	(gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
	* lisp/emacs-lisp/gv.el (gv-setter): New function.
	(gv-invalid-place): New error.
	(gv-get): Use them.
	(gv-synthetic-place, gv-delay-error): New places.
	* lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
	(cl-defgeneric, cl-defmethod): Use gv-setter.

2015-07-07  Fabrice Popineau  <fabrice.popineau@gmail.com>

	Make vc-tests work with MSYS svn program
	* lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
	svn is an MSYS program.

2015-07-07  Ken Brown  <kbrown@cornell.edu>

	Improve recent change to emacsclient on Cygwin
	* lisp/server.el (server-process-filter): Remove redundant check
	that 'cygwin-convert-file-name-from-windows' is defined as a
	function on Cygwin.  Don't call that function unless its argument
	starts with a drive letter.

2015-07-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-compute-transaction):
	Fix void variable due to `found-something' being in the wrong `let'.

2015-07-07  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* lisp/play/landmark.el: Move to lisp/obsolete/.

2015-07-07  Martin Rudalics  <rudalics@gmx.at>

	Have `x-show-tip' handle `right' and `bottom' frame parameters
	* src/nsfns.m (compute_tip_xy, Fx_show_tip)
	* src/w32fns.c (compute_tip_xy, Fx_show_tip)
	* src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
	tooltips also via `right' and `bottom' frame parameters.

2015-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add online-help support to describe types
	* lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
	(describe-symbol): Improve the selection of default.
	* lisp/help-mode.el: Require cl-lib.
	(describe-symbol-backends): Move from help-fns.el.
	(help-make-xrefs): Use it.
	* lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
	for types.
	(cl--typedef-regexp): New const.
	(find-function-regexp-alist): Add entry for types.
	(cl-help-type, cl-type-definition): New buttons.
	(cl-find-class): New function.
	(cl-describe-type): New command.
	(cl--describe-class, cl--describe-class-slot)
	(cl--describe-class-slots): New functions, moved from eieio-opt.el.
	* lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
	(cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
	New functions.  Moved from eieio-opt.el.
	(cl--generic-class-parents): New function, extracted from
	cl--generic-struct-specializers.
	(cl--generic-struct-specializers): Use it.
	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
	Improve constructor's docstrings.
	(cl-struct-unknown-slot): New error.
	(cl-struct-slot-offset): Use it.
	* lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
	definition in current-load-list.
	* lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
	(eieio--add-new-slot): Set it.
	(eieio-defclass-internal): Use new name for current-load-list.
	(eieio-oref): Add compiler-macro to warn about unknown slots.
	* lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
	as compile-time as well.  Improve constructor docstrings.
	* lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
	(eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
	(eieio-class-def): Remove button.
	(eieio-help-constructor): Use new name for load-history element.
	(eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
	(eieio-method-documentation): Move to cl-generic.el.
	(eieio-display-method-list): Use new names.
	* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Add "define-linline".
	(lisp-fdefs): Remove "defsubst".
	(el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
	* lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
	(macroexp--warn-and-return): Use it to avoid inf-loops.
	Add `compile-only' argument.

2015-07-06  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Fix local/remote shell environment setup
	* lisp/progmodes/python.el (python-shell-with-environment):
	Fix remote/local environment setup.
	* test/automated/python-tests.el (python-shell-with-environment-1)
	(python-shell-with-environment-2): New tests.

2015-07-06  Glenn Morris  <rgm@gnu.org>

	* lisp/simple.el (set-variable): Tweak recent doc fix.

2015-07-06  Ken Brown  <kbrown@cornell.edu>

	* src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.

2015-07-06  Glenn Morris  <rgm@gnu.org>

	* lisp/simple.el (set-variable): Use user-error for type mismatch.

2015-07-06  Ken Brown  <kbrown@cornell.edu>

	* src/emacs.c (main): Don't increase the stack size on Cygwin.

2015-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	(describe-symbol): Rewrite describe-function-or-variable
	* lisp/help-fns.el (describe-symbol-backends): New var.
	(help-xref-stack-item): Declare.
	(describe-symbol): Rename from describe-function-or-variable.
	Rewrite using describe-symbol-backends instead of help-xref-interned.
	* lisp/help.el (help-map): Use it.
	* lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
	(help-xref-interned): Make it into an obsolete alias.

	* lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
	`file' arg (bug#20972).  Always use utf-8-emacs.  Use with-temp-buffer
	and cl-letf.

2015-07-06  Wolfgang Jenkner  <wjenkner@inode.at>

	Fix parsing glitches in dired-mark-sexp (bug#13575)
	* lisp/dired-x.el (dired-x--string-to-number): New function.
	(dired-mark-sexp): Use it.  Tweak dired-re-inode-size.  Fix usage
	of directory-listing-before-filename-regexp.  Consider
	forward-word harmful and replace it.  Add more verbiage in
	comments and doc string.

2015-07-06  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Respect process environment for remote shells
	* lisp/progmodes/python.el
	(python-shell-calculate-process-environment): Calculate
	process-environment or tramp-remote-process-environment depending
	whether current file is remote.
	(python-shell-calculate-exec-path): Calculate exec-path or
	tramp-remote-path depending whether current file is remote.
	(python-shell-with-environment): New macro.
	(python-shell-prompt-detect, python-shell-calculate-command)
	(python-shell-make-comint, python-check): Use it.

	python.el: Avoid making let-bound defvars buffer local  (Bug#18244)
	* lisp/progmodes/python.el (python-shell--interpreter)
	(python-shell--interpreter-args): New vars.
	(inferior-python-mode, python-shell-make-comint): Use them.

	python.el: Fixes for IPython 3.x  (Bug#20580)
	* lisp/progmodes/python.el:
	(python-shell-completion-native-setup): Fix IPython 3.x setup.
	(python-shell-completion-native-get-completions): Fix timeout
	logic.

	python.el: Fix mark-defun behavior  (Bug#19665)
	* lisp/progmodes/python.el (python-mark-defun): New function.
	* test/automated/python-tests.el (python-mark-defun-1)
	(python-mark-defun-2, python-mark-defun-3): New tests.

2015-07-05  Glenn Morris  <rgm@gnu.org>

	* lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
	such as "extends(parent), private".  (Bug#20969)
	* test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
	New tests.

2015-07-05  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid duplicate calls to current_timespec
	* src/process.c (wait_reading_process_output):
	Cache current_timespec results as long as we're not waiting.

2015-07-05  Ian Kelling  <ian@iankelling.org>

	Avoid returning early reading process output due to SIGIO
	* src/process.c (wait_reading_process_output): Extend the behavior of
	not breaking due to not finding output when a timer has lowered the
	timeout to include when SIGIO lowers the timeout.

	Don't return as fast reading any process output
	* src/process.c (wait_reading_process_output):
	The patch for Bug#17647 returns too fast sometimes when reading
	from any processes.  Revert part of it, and limit the timeout more
	sensibly (Bug#20978).

	Refactor timeouts in wait_reading_process_output
	* src/process.c (wait_reading_process_output):
	Simplify timeouts with an enum.  Remove a redundant condition.
	(Bug#20978)

	Remove ADAPTIVE_READ_BUFFERING ifdef
	* src/process.c (make-process, make-pipe-process, deactivate_process)
	(wait_reading_process_output, read_process_output, send_process)
	(init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
	added in case there was an operating system in which it was not
	useful.  That was 11 years ago and it hasn't happened.  Make
	development easier by not considering the effect of changes on a
	theoretical OS where this is disabled (Bug#20978).

2015-07-05  Glenn Morris  <rgm@gnu.org>

	* lisp/simple.el (set-variable): Doc fix.

	* lisp/progmodes/fortran.el (fortran-line-length): Doc fix.

2015-07-05  Ian Kelling  <ian@iankelling.org>

	accept-process-output fix
	This is a followon to the fix for bug#17647 (Bug#20976).
	* src/process.c (status_notify): Fix too high return in some cases.

2015-07-05  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el (character-fold-table):
	Only fold decompositions if at least one character is non-spacing.
	(Bug#20975)

2015-07-05  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib
	This incorporates:
	2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
	2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
	2015-07-02 update-copyright: fix test failure with perl >= 5.22
	2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
	2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
	* build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
	* lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.

2015-07-05  Christoph Wedler  <christoph.wedler@sap.com>

	Respect `prog-indentation-context' in python.el
	* lisp/progmodes/python.el (python-indent-guess-indent-offset)
	(python-indent-context, python-indent--calculate-indentation)
	(python-info-current-defun)
	(python-info-dedenter-opening-block-message)
	(python-info-line-ends-backslash-p)
	(python-info-beginning-of-backslash)
	(python-info-continuation-line-p): Use `prog-widen'.
	(python-indent--calculate-indentation)
	(python-indent--calculate-levels)
	(python-indent-calculate-indentation): Use `prog-first-column'.
	(python-indent--calculate-levels): Simplify.
	Ignore also initial empty lines for syntax calculation.
	* lisp/progmodes/python.el (python-indent-context): Return
	:no-indent for first non-empty line, not just in line 1.
	* test/automated/python-tests.el (python-indent-base-case)
	(python-indent-inside-paren-1, python-indent-inside-paren-2)
	(python-indent-inside-paren-3, python-indent-inside-paren-4)
	(python-indent-inside-paren-5, python-indent-inside-paren-6)
	(python-indent-after-backslash-1)
	(python-indent-after-backslash-2)
	(python-indent-after-backslash-3)
	(python-indent-after-backslash-4, python-indent-inside-string-1):
	Expect :no-indent for first non-empty line.

2015-07-04  Daniel Colascione  <dancol@dancol.org>

	Factor isearch word description into new function
	* lisp/isearch.el (isearch--describe-word-mode): New function.
	(isearch-message-prefix, isearch-query-replace): Use it.

2015-07-04  Eli Zaretskii  <eliz@gnu.org>

	Fix mouse pointer on w32 when a menu is active
	* src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
	shape while a menu is in use.  This started happening since we now
	send WM_EMACS_SHOWCURSOR messages when the mouse moves.

2015-07-04  Martin Rudalics  <rudalics@gmx.at>

	Fix processing of alpha parameter for Windows tip frames  (Bug#17344)
	* src/w32fns.c (x_create_tip_frame): Fix processing alpha
	parameter.  (Bug#17344)

	Have `compilation-set-window' use right window for getting fringes
	(Bug#20829)
	* lisp/progmodes/compile.el (compilation-set-window):
	Take `window-fringes' from argument window.

2015-07-03  Glenn Morris  <rgm@gnu.org>

	Update eieio tests for recent eieio-core change.
	* test/automated/eieio-test-persist.el (persist-test-save-and-compare):
	* test/automated/eieio-tests.el
	(eieio-test-32-slot-attribute-override-2):
	Replace the deleted eieio--class-v with cl--find-class.

2015-07-03  Martin Rudalics  <rudalics@gmx.at>

	Fix some issues with `window-divider-mode'
	* lisp/frame.el (window-divider-default-places): New option.
	(window-divider-mode): Remove option.
	(window-divider-mode): Make it a "regular" minor mode.
	(window-divider-width-valid-p): Drop frame- prefix.
	(window-divider-mode-apply): New argument ENABLE.  Drop frame-
	prefix.  Handle `window-divider-default-places'.
	(frame--window-divider-mode-set-and-apply): Remove.
	(window-divider-default-bottom-width)
	(window-divider-default-right-width): Drop :group entries.
	* lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
	(menu-bar-right-window-divider, menu-bar-bottom-window-divider)
	(menu-bar-no-window-divider): Set `window-divider-default-places'
	and call `window-divider-mode'.
	* doc/emacs/frames.texi (Window Dividers): Document
	`window-divider-default-places'.

2015-07-02  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/display.texi (Displaying Boundaries):
	* doc/emacs/search.texi (Word Search): Add cross references.

2015-07-02  Paul Eggert  <eggert@cs.ucla.edu>

	-batch should not affect ‘’ -> `' display
	* lisp/startup.el (command-line): Do the ‘’ -> `' check even if
	-batch (Bug#20926).

2015-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
	* lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
	* lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
	Use cl--find-class instead.

	* lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).

2015-07-02  Martin Rudalics  <rudalics@gmx.at>

	Some further fixes in Change Window node (Bug#20183)
	* doc/emacs/windows.texi (Change Window): Replace "rearranging"
	by "resizing" in section title.  Add some concept indices.
	Suggested by N. Jackson (Bug#20183).

	* doc/emacs/windows.texi (Change Window): Reference window
	dividers.

	Document new `window-divider-mode'.
	* lisp/frame.el (window-divider-mode): Fix doc-string.
	* doc/emacs/frames.texi (Window Dividers): New section.

	Improve accessibility of window dividers (Bug#20183)
	* lisp/faces.el (window-divider)
	(window-divider-first-pixel, window-divider-last-pixel): Change
	membership from `frames' to `window-divider' customization group.
	* lisp/frame.el (window-divider): New customization group.
	(window-divider-mode): New minor mode.
	(window-divider-default-bottom-width)
	(window-divider-default-right-width): New options.
	(frame--window-divider-previous-mode): New variable.
	(frame-window-divider-width-valid-p)
	(frame--window-divider-mode-apply)
	(frame--window-divider-mode-set-and-apply): New functions.
	* lisp/menu-bar.el (menu-bar-options-save): Save
	window-divider-mode settings.
	(menu-bar-window-divider-customize)
	(menu-bar-bottom-and-right-window-divider)
	(menu-bar-right-window-divider, menu-bar-bottom-window-divider)
	(menu-bar-no-window-divider): New functions.
	(menu-bar-showhide-window-divider-menu): New variable.
	(menu-bar-showhide-menu): Show/hide window divider menu.
	* lisp/mouse.el (mouse-split-window-vertically)
	(mouse-split-window-horizontally): Replace `error' by
	`user-error'.  Bind `window-combination-resize' to nil.
	(top-level): Add/reorder mouse key bindings on mode- and
	vertical-line.

2015-07-02  Paul Eggert  <eggert@cs.ucla.edu>

	Don't display ‘’ as `' under X in en_GB
	The curved quote setup code invokes (char-displayable-p ?‘),
	but this isn’t reliable until after the X frame replaces the
	terminal frame (Bug#20926).
	* lisp/international/mule-cmds.el (set-locale-environment):
	Move curved quote setup code from here ...
	* lisp/startup.el (command-line): ... to here, after creating
	the X frame.

2015-07-01  Nicolas Richard  <youngfrog@members.fsf.org>

	* lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.

	* lisp/ido.el (ido-restrict-to-matches): Add an optional argument
	to reverse the meaning (Bug#15631).

2015-07-01  Eli Zaretskii  <eliz@gnu.org>

	Be more tolerant to fonts named "Foobar-12"
	* src/frame.c (x_set_font): If font_spec_from_name returns nil,
	don't barf; instead, request a new fontset to be generated.  This
	avoids unnecessarily rejecting fonts named against XLFD rules.  See
	https://lists.gnu.org/r/help-emacs-windows/2015-06/msg00001.html,
	for the description of the original problem.
	* lisp/faces.el (set-face-attribute): Don't be fooled too easily
	by a hyphen in a font's name.

	Fix value of posn-at-point in R2L lines
	* src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
	coordinate of -1, for a newline in a right-to-left line that
	overflowed into the left fringe.

2015-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	(cl--copy-slot-descriptor): Copy the `props' alist as well
	* lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
	Rename from cl--copy-slot-descriptor.
	(cl--copy-slot-descriptor): New function.  Copy the alist (bug#20914).

2015-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/term/xterm.el (xterm--query): Avoid generating garbage
	(xterm-query-timeout): New var.
	(xterm--query): Use it.  Fallback on async method if we timeout before
	getting the first byte of the reply (bug#12354).

2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes
	* lisp/character-fold.el (character-fold-search):
	* lisp/emacs-lisp/package.el (package-hidden-regexps):
	Fix typos.

2015-06-30  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/frames.texi (Frame Commands): Typo fix.  (Bug#20946)

2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>

	In strings, prefer plain ` and ' to \` and \'
	* lisp/allout.el (allout-insert-listified):
	* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	* lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
	(ls-lisp-string-lessp):
	* lisp/menu-bar.el (menu-bar-open):
	* lisp/obsolete/otodo-mode.el (todo-top-priorities):
	* lisp/progmodes/compile.el (compile):
	* lisp/progmodes/etags.el (tags-loop-scan):
	* lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
	* lisp/subr.el (posn-actual-col-row):
	* lisp/term/pc-win.el (x-list-fonts):
	* lisp/textmodes/texinfmt.el (texinfmt-version):
	* lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
	* lisp/time.el (display-time-world-list):
	* lisp/tmm.el (tmm-menubar):
	* src/buffer.c (syms_of_buffer):
	* src/fileio.c (syms_of_fileio):
	Omit unnecessary and confusing backslash before quote.
	* lisp/erc/erc.el (erc-cmd-LASTLOG):
	* lisp/progmodes/flymake.el (flymake-fix-file-name):
	* lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
	Fix string that was intended to escape a backslash and not a quote.

2015-06-30  Glenn Morris  <rgm@gnu.org>

	* leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.

	* lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
	Replace hard-coded lists with wildcard + filter-out.

	* configure.ac (system-configuration-features): Add X11, NS.

	Improve reproducibility of generated loaddefs file
	* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Make the return value the modtime of the input file (if no autoloads).
	(update-directory-autoloads): In the "no autoloads" section,
	use "most recent modtime" rather than "current time".

2015-06-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
	(Bug#20930)

2015-06-30  Nicolas Petton  <nicolas@petton.fr>

	* doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.

	Add seq-min and seq-max
	Bump version number.
	* lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
	* test/automated/seq-tests.el: Add tests for seq-min and seq-max.

2015-06-30  Eli Zaretskii  <eliz@gnu.org>

	Make sure sleep-for always delays for as long as it's told
	* src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
	a loop, to ensure we always wait exactly the required amount of
	time.  (Bug#15990)

2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>

	Fix pointer signedness glitch
	* src/font.c (font_load_for_lface): Use SSDATA, not SDATA.

2015-06-30  Eli Zaretskii  <eliz@gnu.org>

	Don't block changes in mouse pointer inside 'track-mouse'
	* etc/NEWS:
	* doc/lispref/frames.texi (Mouse Tracking): Document the special
	effect of setting 'track-mouse' to 'dragging'.
	* lisp/textmodes/artist.el (artist-mouse-draw-continously):
	* lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
	* lisp/mouse-drag.el (mouse-drag-throw):
	* lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
	to avoid changes in the shape of the mouse pointer.
	* src/xdisp.c (define_frame_cursor1): Don't change the mouse
	pointer shape when do_mouse_tracking has the value of 'dragging',
	not just any non-nil value.  (Bug#20934)
	(syms_of_xdisp): DEFSYM 'dragging'.

2015-06-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-toggle-word): Fix toggle.

	* lisp/emacs-lisp/package.el (package-compute-transaction):
	Don't assume version sorting.

	* lisp/emacs-lisp/package.el (package--save-selected-packages):
	Don't save before init time, to avoid overwriting configurations.
	(Bug#20855)

2015-06-30  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/emacs/display.texi (Standard Faces, Fringes): Add cross
	references.

2015-06-29  Ted Zlatanov  <tzz@lifelogs.com>

	Update for the upcoming CFEngine 3.7 release: support macros and
	quoted context strings; reformat JSON; indent promise attributes 2
	units by default; give function parameter descriptions in the eldoc
	glue.
	* lisp/progmodes/cfengine.el: Update version and docs and fix name.
	Autoload `json-pretty-print'.  Support new features in 3.7.
	(cfengine-parameters-indent): Set default promise attribute indent to
	2 more than the promise itself.
	(cfengine3-macro-regex): New variable to match the new macro syntax.
	(cfengine3-font-lock-keywords): Use it to highlight macros.
	(cfengine3-indent-line): Use it to indent macros to column 0.
	(cfengine3-class-selector-regex): Update for the new quoted strings
	format.
	(cfengine3-reformat-json-string): New function to reformat a JSON
	string using `json-pretty-print'.
	(cfengine3-format-function-docstring): Use function parameter
	description if it's provided by the cf-promises syntax dump.

2015-06-29  Michael R. Mauger  <michael@mauger.com>

	Cygwin emacsclient handles w32 file names
	* lisp/server.el (server-process-filter): Allow Cygwin's
	emacsclient to be used as a file handler on MS-Windows.

2015-06-29  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/isearch.el (isearch-exit): Don't call isearch-done twice
	(bug#20925).

2015-06-29  Eli Zaretskii  <eliz@gnu.org>

	* doc/lispref/text.texi (Sticky Properties): Improve wording.
	(Bug#20924)

	Allow font names that end in "-NN", where NN is a number
	* src/font.c (font_load_for_lface): If the font-spec didn't match
	any available fonts, try again without interpreting trailing "-NN"
	as the font size.  For the description of the original problem, see
	https://lists.gnu.org/r/help-emacs-windows/2015-06/msg00001.html

	.gdbinit followup to changes in !USE_LSB_TAG
	* src/.gdbinit (xgetsym): Don't left-shift $ptr even under
	!USE_LSB_TAG, as Emacs no longer does.

2015-06-29  Wolfgang Jenkner  <wjenkner@inode.at>

	* lisp/calc/calc-store.el (calc-insert-permanent-variable): Heed case.
	Otherwise `s p' of f and F will stomp on each other's value.
	(Bug#20916)

2015-06-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
	Don't block remember-pos if buffer isn't displayed.  (Bug#20921)

2015-06-29  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
	as additional guess.

	* lisp/emacs-lisp/package.el (describe-package): Convert the guess
	to a string.

2015-06-28  Paul Eggert  <eggert@cs.ucla.edu>

	apropos-library quoting fix
	* lisp/apropos.el (apropos-library): Quote library consistently
	with the rest of the quoting used by apropos.

	Clarify interpreter-mode-alist doc
	* lisp/files.el (interpreter-mode-alist):
	Reword to avoid confusing quoting that wasn't working anyway.

2015-06-28  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.12
	* doc/misc/trampver.texi:
	* lisp/net/trampver.el: Update release number.
	* test/automated/tramp-tests.el (tramp-test13-make-directory):
	Fix cleanup.

2015-06-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).

2015-06-27  Dmitry Gutov  <dgutov@yandex.ru>

	Bind grep-highlight-matches around the rgrep call
	* lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
	around the rgrep call (bug#20728).

	Put "--color" before the other options in grep-command
	* lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
	before the other options in grep-command (bug#20912).

	Add --color Grep option to the command dynamically
	* lisp/progmodes/grep.el (grep-template, grep-find-template):
	Update the description for <C>.  (Bug#20728)
	(grep-compute-defaults): Don't add the --color option to
	grep-options.  Only add it to grep-command.
	(grep-expand-keywords): Expand the env value opts into <C>.
	(grep-expand-template): Replace cf in the env with the opts list,
	that can include -i and --color.
	* lisp/progmodes/xref.el (xref-collect-matches): Do not remove
	"--color=always" from the template, because we don't have to.

2015-06-27  Paul Eggert  <eggert@cs.ucla.edu>

	cl-extra fixes for most-negative-fixnum
	* lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
	Don't mishandle an argument equal to most-negative-fixnum,
	whose absolute value equals itself.
	(cl-gcd, cl-lcm): Use dolist rather than doing it by hand.

	Initialize cl--gensym-counter to 0
	Previously it was initialized to a random value, which made it
	harder to reproduce earlier Emacs runs.  The need for a random
	value went away when Emacs introduced and used the #: syntax for
	uninterned symbols (Bug#20862).
	* doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
	Document that cl--gensym-counter now starts with 0.
	* lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
	(cl--random-time): Move to near only remaining use.
	* lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.

	Improve docstring for macroexp-let2
	* lisp/emacs-lisp/macroexp.el (macroexp-let2):
	Improve as per suggestion by RMS in:
	https://lists.gnu.org/r/emacs-devel/2015-06/msg00621.html
	Also, rename args to match new doc string.

2015-06-27  Eli Zaretskii  <eliz@gnu.org>

	Fix VC test suite on MS-Windows
	* lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
	always starts with 3 slashes after the colon.
	* test/automated/vc-tests.el (vc-test--create-repo-function): Use
	'w32-application-type' to invoke CVS on MS-Windows with properly
	formatted CVSROOT directory name.

	Add a new function w32-application-type
	* src/w32proc.c (Fw32_application_type): New function.

	Avoid error in TLS connections due to incorrect format
	* src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
	the call to 'error', instead of the unsupported %u.  Reported by
	lo2net <fangtao0901@gmail.com>.  (Bug#20908)

2015-06-26  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/replace.el (replace-search): Fix regexp case (bug#20901).

2015-06-26  Leo Liu  <sdl.web@gmail.com>

	* lisp/emacs-lisp/cl-indent.el: Fix indentation for
	`with-output-to-string' in elisp.

	Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
	with-output-to-string".
	This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.

2015-06-26  Eli Zaretskii  <eliz@gnu.org>

	Minor corrections in ELisp manual
	* doc/lispref/nonascii.texi (Character Properties): Correct
	inaccuracies in description of values of the Unicode properties.

	Fix invisible mouse pointers on Windows.
	* src/w32fns.c: Include windowsx.h.
	(w32_wnd_proc): If the mouse moved and the mouse pointer is
	invisible, make it visible again even when the main (Lisp)
	thread is busy.
	* src/w32term.c (w32_toggle_invisible_pointer): Rather then
	garbaging the frame have the input thread call SetCursor.

2015-06-26  Martin Rudalics  <rudalics@gmx.at>

	Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
	* src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
	for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
	* src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
	(w32_toggle_invisible_pointer): New function.
	(w32_create_terminal): Add w32_toggle_invisible_pointer as
	toggle_invisible_pointer_hook for this terminal.

2015-06-25  Xue Fuqiao  <xfq.free@gmail.com>

	Doc fix for deletion commands
	'delete-char' does not respect the value of 'delete-active-region'.
	* doc/emacs/killing.texi (Deletion):
	Fix documentation for some single-char deletion commands.

	* doc/emacs/help.texi (Apropos):
	Improve documentation of 'apropos-do-all'.

	* doc/emacs/help.texi (Help Summary):
	Improve documentation of 'describe-mode'.

2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>

	Fix submake dependency bug with .h files
	* src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
	Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
	before the submake in $(libsrc) would spin off a subsubmake
	for $(lib) in parallel with our submake for $(lib) (Bug#20894).

2015-06-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el (character-fold-table): Reuse `table'.

2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>

	Translate undisplayable ‘ to `
	* doc/lispref/help.texi (Keys in Documentation):
	* lisp/international/mule-cmds.el (set-locale-environment):
	* lisp/term/w32console.el (terminal-init-w32console):
	* src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
	If ‘ is not displayable, transliterate it to `, not to '.  See:
	https://lists.gnu.org/r/emacs-devel/2015-06/msg00542.html

	Fix C99 incompatibilities in Cairo code
	* src/image.c (xpm_load) [USE_CAIRO]:
	* src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
	Fix pointer signedness problem.

2015-06-25  Oleh Krehel  <ohwoeowho@gmail.com>

	lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
	* lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
	`with-output-to-string' should have the same indent as `progn'.
	This is in line with the declaration of `with-output-to-string'.

2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>

	Get ‘./configure; make -C src emacs’ to work
	Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
	* lib-src/Makefile.in (../lib/libgnu.a):
	* src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.

2015-06-24  Paul Eggert  <eggert@cs.ucla.edu>

	Fix GC bugs --with-wide-int and Qnil == 0
	Use the same alignment for the !USE_LSB_TAG case as for the
	more-typical USE_LSB_TAG case.  The attempt to support arbitrary
	alignments with !USE_LSB_TAG had subtle bugs in garbage collection
	once we changed the representation of symbols so that Qnil == 0.
	Problem reported by Eli Zaretskii (Bug#20862).
	* src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
	* src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
	(union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
	Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
	* src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
	This optimization in the !USE_LSB_TAG case is no longer valid when
	symbols are represented via offsets.  Change the only use to
	assume that pointers might hide in objects.
	* src/lisp.h (alignas) [!USE_LSB_TAG]:
	Require support in this case, too.
	(TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
	This is OK, because the !USE_LSB_TAG case now applies only when
	Lisp_Object is wider than void *, so there's no longer any need
	to shift the offset.  Not shifting the offset means that
	symbol representations have the same alignment as pointers,
	which the GC assumes.

2015-06-24  Xue Fuqiao  <xfq.free@gmail.com>

	* doc/lispintro/emacs-lisp-intro.texi (Data types):
	Improve documentation of 'substring'.

2015-06-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/character-fold.el (character-fold-table): Fix table generation.

2015-06-24  Glenn Morris  <rgm@gnu.org>

	* nextstep/Makefile.in (all): Make it the first target.
	(../src/emacs${EXEEXT}): Add rule for making it.

2015-06-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* etc/NEWS: Fix mention to old function name.

	* lisp/character-fold.el: New file (Bug#20887)
	(character-fold-to-regexp): New function.
	* lisp/replace.el (replace-search): Check value of
	`character-fold-search'.
	* lisp/isearch.el: Move character-folding code to
	character-fold.el
	(isearch-toggle-character-fold): New command.
	(isearch-mode-map): Bind it to "\M-s'".
	(isearch-mode): Check value of `character-fold-search'.

2015-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	lisp/subr.el (remove-from-invisibility-spec): Handle the t case
	* lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
	is visible even if it's not yet in buffer-invisibility-spec (bug#20468).

	* lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
	(xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.

2015-06-24  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-dep): Don't set sticky bit on the binary.

2015-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	lisp/gnus/nnmaildir.el: Silence lexical warnings
	* lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
	functional style.
	(nnmaildir--update-nov): Remove unused var `numdir'.
	(nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
	(nnmaildir-request-group, nnmaildir-request-create-group)
	(nnmaildir-request-post, nnmaildir-request-move-article)
	(nnmaildir-request-accept-article, nnmaildir-active-number):
	Mark unused args.
	(nnmaildir-get-new-mail, nnmaildir-group-alist)
	(nnmaildir-active-file): Declare.
	(nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
	(nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
	`mark', `end', `new-mark', and `mark-sym'.
	(nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
	`nlist2'.
	(nnmaildir-request-expire-articles):
	Remove unused vars `article', `stop' and `nlist2'.
	(nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
	`end'.  Use nnmaildir--article when dyn-binding is needed.
	Give the value directly in the `let' for `del-mark', `del-action',
	`add-action', and `set-action'.  Don't use `add-to-list' on a local var.
	(nnmaildir-close-server): Declare those local vars that need to be
	dyn-bound.

2015-06-24  Paul Eggert  <eggert@cs.ucla.edu>

	* src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.

	Port selection info fix to clang
	* src/keyboard.h (kbd_buffer_store_event_hold):
	Don't assume C11 semantics for alignof (Bug#20756).

	Fix bug that munged selection info
	On some optimizing C compilers, copying a structure did not
	copy the padding bytes between elements, and the type punning
	between struct input_data and struct selection_input_data did
	not work.  Change the C code to use a proper union type instead.
	Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
	* src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
	(readable_events, discard_mouse_events, kbd_buffer_events_waiting)
	(kbd_buffer_get_event, process_special_events, stuff_buffered_input)
	(mark_kboards):
	Use union buffered_input_event, not struct input_event.
	(clear_event, deliver_input_available_signal, process_special_events):
	Remove unnecessary forward decls.
	(kbd_buffer_store_buffered_event): New function, mostly just the
	old kbd_buffer_store_event_hold, except its argument is of type
	union buffered_input_event, not struct input_event.
	(kbd_buffer_unget_event): Define only if HAVE_X11, since it's
	not needed otherwise.  Argument is now of type
	struct selection_input_event *, not struct input_event *.
	All callers changed.
	(clear_event): Arg is now of type union buffered_input_event *,
	not struct input_event *.  All callers changed.
	* src/keyboard.h [HAVE_X11]: Include "xterm.h".
	(union buffered_input_event): New type.
	(kbd_buffer_store_event_hold): Now an inline function,
	defined here.
	* src/termhooks.h (EVENT_KIND_WIDTH): New constant.
	(struct input_event): Use it.
	* src/xselect.c (struct selection_event_queue):
	Make elements be of type struct selection_input_event,
	not struct input_event.
	(selection_input_event_equal): New static function.
	(x_queue_event): Use it.
	(x_queue_event, x_decline_selection_request)
	(x_selection_current_request, x_reply_selection_request)
	(x_handle_selection_request, x_handle_selection_clear)
	(x_handle_selection_event): Use struct selection_input_event,
	not struct input_event.  All callers changed.
	(x_convert_selection): Omit unused first arg.  All callers changed.
	(Fx_disown_selection_internal): Omit unnecessary union.
	* src/xterm.c (handle_one_xevent): Use new union buffered_input_event
	rather than rolling our own equivalent.  Prefer sie.kind when
	setting up that kind of structure.
	Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
	* src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
	(SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
	(SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
	(SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
	(SELECTION_EVENT_TIME, x_handle_selection_event):
	Arg is now of type struct selection_input_event *)
	not struct input_event *.  All callers changed.

2015-06-23  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-dep): Simplify with Make conditionals.

2015-06-23  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/isearch.el: Fold many unicode characters to ASCII.
	(isearch-character-fold-search, isearch--character-fold-extras)
	(isearch--character-fold-table): New variable.
	(isearch--character-folded-regexp): New function.
	(isearch-search-fun-default): Use them.
	* lisp/replace.el (replace-character-fold): New variable.
	(replace-search): Use it.
	* etc/NEWS: Document it.

2015-06-23  Glenn Morris  <rgm@gnu.org>

	Check for an input event before showing a dialog box.  (Bug#20813)
	* lisp/subr.el (y-or-n-p):
	* src/fns.c (Fyes_or_no_p): Check last-input-event as well
	as last-nonmenu-event.

2015-06-23  Jürgen Hartmann  <juergen_hartman_@hotmail.com>  (tiny change)

	Respect ‘switch-to-visible-buffer’ more rigidly.  (Bug#20861)
	* lisp/window.el (switch-to-visible-buffer): Doc adjustment.
	(switch-to-prev-buffer, switch-to-next-buffer): Respect
	switch-to-visible-buffer independent of the windows history.

2015-06-23  Paul Eggert  <eggert@cs.ucla.edu>

	* src/keyboard.c (last_timer_event): Remove unused var.

2015-06-23  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/package-test.el (package-test-update-listing):
	Fix test.

2015-06-23  Glenn Morris  <rgm@gnu.org>

	Revert 2014-06-25 nextstep/Makefile change.
	* nextstep/Makefile.in (${ns_appbindir}): Remove rule.
	(${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
	not as an order-only prerequisite.

	* configure.ac (--with-ns): Enable by default on OS X.

2015-06-23  Leo Liu  <sdl.web@gmail.com>

	Fix shell-for/backward-command to exclude spaces
	* lisp/shell.el (shell-forward-command, shell-backward-command):
	  Handle the 'move case from re-search-forward/backward.
	  fixes debbugs:20873

2015-06-22  Juri Linkov  <juri@linkov.net>

	* lisp/replace.el (query-replace-read-from): Add separator to
	the local binding of text-property-default-nonsticky.  (Bug#20690)

	* lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
	(Bug#20785)

2015-06-22  Ken Brown  <kbrown@cornell.edu>

	Enable CPU profiling on Cygwin
	* src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
	change that undefined this.
	(SIGEV_SIGNAL): Ensure that this is defined as a macro.
	* src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
	  Cygwin.

	Improve diagnostics of profiler-cpu-start
	* src/profiler.c (setup_cpu_timer): Change return type to 'int';
	return -1 if the sampling interval is invalid.
	(Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
	fails.  (Bug#20843)

2015-06-22  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Exclude packages by name.
	(package-hidden-regexps): New variable.
	(package-menu--refresh): Use it.
	(package-menu-hide-package): New command.

	* lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.

2015-06-22  Eli Zaretskii  <eliz@gnu.org>

	Fix debug-timer-check on systems without HAVE_TIMERFD
	* src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
	the expired timers, since wait_reading_process_output doesn't.
	(debug_timer_callback): Enlarge the tolerance to 20 msec.

	Fix RCS crashes in vc-test
	* lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
	ports of 'ci' on MS-Windows by always passing the -t- switch.

2015-06-22  Glenn Morris  <rgm@gnu.org>

	* doc/emacs/package.texi (Packages):
	* doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.

	* doc/misc/efaq-w32.texi (Downloading): Copyedits.  (Bug#20851)

2015-06-22  Paul Eggert  <eggert@cs.ucla.edu>

	Port tests to help-quote-translation
	* test/automated/ert-x-tests.el (ert-test-describe-test):
	* test/automated/package-test.el (package-test-describe-package)
	(package-test-signed): Allow straight quotes, too.

2015-06-22  Dmitry Gutov  <dgutov@yandex.ru>

	Make find-function-on-key use the current window
	* lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
	Extract from `find-function-on-key', add a second argument.
	(find-function-on-key): Use it (bug#19679).
	(find-function-on-key-other-window)
	(find-function-on-key-other-frame): New commands.

2015-06-21  Nicolas Petton  <nicolas@petton.fr>

	Revert "Define `map-elt' as a generalized variable"
	This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.

2015-06-21  Ken Brown  <kbrown@cornell.edu>

	Drop support for CPU profiling on Cygwin
	* src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
	(Bug#20843)

2015-06-21  Paul Eggert  <eggert@cs.ucla.edu>

	Fix some “nested” quoting confusion in doc strings
	* lisp/emacs-lisp/advice.el (ad-map-arglists):
	* lisp/kermit.el (kermit-clean-on):
	* lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
	* src/keyboard.c (Frecursive_edit):
	Use curved quotes when quoting text containing apostrophe,
	so that the apostrophe isn't curved in the output.

2015-06-21  Nicolas Petton  <nicolas@petton.fr>

	Define `map-elt' as a generalized variable
	* lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
	* lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
	* lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
	`setf' with `map-elt'.
	* test/automated/map-tests.el: Comment out `test-map-put-literal'.

2015-06-21  Michael Albinus  <michael.albinus@gmx.de>

	Improve error handling in tramp-adb.el
	* lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
	Improve error handling.

2015-06-21  Nicolas Petton  <nicolas@petton.fr>

	Reuse `alist-get' in map.el
	* lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
	elements.

2015-06-21  Eli Zaretskii  <eliz@gnu.org>

	Fix bytecomp-tests--warnings when $TMPDIR has a long name
	* test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
	Allow the warning to begin on the 3rd, not only 2nd line, which
	happens if temporary-file-directory has a very long name.

	Expect 2 icalendar tests to fail on MS-Windows
	* test/automated/icalendar-tests.el (icalendar-import-with-timezone)
	(icalendar-real-world): Make them expected failures on MS-Windows.

2015-06-20  Paul Eggert  <eggert@cs.ucla.edu>

	Improve port of settings UI to older displays
	* lisp/cus-start.el (standard): Don't assume curved quotes are
	easily distinguishable when users are tinkering with a setting
	that affects how curved quotes are generated.

	Fix quoting in electric-quote-mode doc string
	* lisp/electric.el (electric-quote-mode): Fix quoting.
	This is a fallout from the recent change introducing
	‘help-quote-translation’.

	Spelling fix

	* doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.

	* src/doc.c (syms_of_doc): Remove unused symbols.

2015-06-20  Martin Rudalics  <rudalics@gmx.at>

	* lisp/window.el (window-state-put): Undedicate target window
	before putting STATE into it.  (Bug#20848)

2015-06-19  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from origin/emacs-24
	a5e6f33 Fixes: debbugs:20832
	b9f02cf Fixes: debbugs:20832

2015-06-19  Eli Zaretskii  <eliz@gnu.org>

	Fix file-in-directory-p when the directory is UNC
	* lisp/files.el (file-in-directory-p): Support files and
	directories that begin with "//".  (Bug#20844)

2015-06-19  Stephen Berman  <stephen.berman@gmx.net>

	* lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
	in the minibuffer.  (Bug#20832)

2015-06-19  Nicolas Richard  <youngfrog@members.fsf.org>

	* lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
	for adding new todo file is empty but modified.  (Bug#20832)

2015-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	(filepos-to-bufferpos): Further tweaks to the utf-16 code
	* lisp/international/mule-util.el (filepos-to-bufferpos):
	Fix typo.  Move non-exact check to the utf-16 branch (the only one
	affected).  Don't use byte-to-position for the utf-16 case.

2015-06-19  Eli Zaretskii  <eliz@gnu.org>

	Minor fixes in filepos-to-bufferpos
	* lisp/international/mule-util.el (filepos-to-bufferpos): Remove
	test for utf-8-emacs.  Exempt single-byte encodings from the
	'use-exact' path when QUALITY is 'exact'.  Test UTF-16 encodings
	for BOM before subtracting 2 bytes.  Use 'identity' when adjusting
	UTF-16 encoded files for CR-LF EOLs.

2015-06-19  Paul Eggert  <eggert@cs.ucla.edu>

	Improve the optional translation of quotes
	Fix several problems with the recently-added custom variable
	help-quote-translation where the code would quote inconsistently
	in help buffers.  Add support for quoting 'like this', which
	is common in other GNU programs in ASCII environments.  Change
	help-quote-translation to use more mnemonic values: values are now the
	initial quoting char, e.g., (setq help-quote-translation ?`) gets the
	traditional Emacs help-buffer quoting style `like this'.  Change the
	default behavior of substitute-command-keys to match what's done in
	set-locale-environment, i.e., quote ‘like this’ if displayable,
	'like this' otherwise.
	* doc/lispref/help.texi (Keys in Documentation): Document
	new behavior of substitute-command-keys, and document
	help-quote-translation.
	* doc/lispref/tips.texi (Documentation Tips):
	Mention the effect of help-quote-translation.
	* etc/NEWS: Mention new behavior of substitute-command-keys,
	and merge help-quote-translation news into it.
	When talking about doc strings, mention new ways to type quotes.
	* lisp/cedet/mode-local.el (overload-docstring-extension):
	Revert my recent change to this function, which shouldn't be
	needed as the result is a doc string.
	* lisp/cedet/mode-local.el (mode-local-print-binding)
	(mode-local-describe-bindings-2):
	* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
	* lisp/cus-theme.el (describe-theme-1):
	* lisp/descr-text.el (describe-text-properties-1, describe-char):
	* lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
	* lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
	(eieio-help-constructor):
	* lisp/emacs-lisp/package.el (describe-package-1):
	* lisp/faces.el (describe-face):
	* lisp/help-fns.el (help-fns--key-bindings)
	(help-fns--compiler-macro, help-fns--parent-mode)
	(help-fns--obsolete, help-fns--interactive-only)
	(describe-function-1, describe-variable):
	* lisp/help.el (describe-mode):
	Use substitute-command-keys to ensure a more-consistent quoting
	style in help buffers.
	* lisp/cus-start.el (standard):
	Document new help-quote-translation behavior.
	* lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
	* lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
	(help-xref-url-regexp):
	* lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
	* lisp/wid-edit.el (widget-documentation-link-regexp):
	Also match 'foo', in case we're in a help buffer generated when
	help-quote-translation is ?'.
	* src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
	(LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
	(uRSQM1, uRSQM2, LSQM, RSQM): New constants.
	(Fsubstitute_command_keys): Document and implement new behavior.
	(Vhelp_quote_translation): Document new behavior.

2015-06-18  Glenn Morris  <rgm@gnu.org>

	* lisp/cus-start.el (help-quote-translation): Add :version.

	* src/doc.c (Fsubstitute_command_keys): Make previous change compile.

2015-06-18  Alan Mackenzie  <acm@muc.de>

	Make translation of quotes to curly in doc strings optional.
	* src/doc.c (traditional, prefer-unicode): New symbols.
	(help-quote-translation): New variable.
	(Fsubstitute_command_keys): Make translation of quotes dependent on
	`help-quote-translation'; also translate curly quotes back to ASCII
	ones.
	* lisp/cus-start.el (top-level): Add a customization entry for
	`help-quote-translation'.

2015-06-18  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Don't always propagate async errors
	(package--with-work-buffer-async): Only propagate the error if the
	callback returns non-nil.
	(package--download-one-archive): Return nil on the signature
	checking callback if we accept unsigned.
	(package--download-and-read-archives): Return non-nil on the
	archive download callback.

2015-06-18  Martin Rudalics  <rudalics@gmx.at>

	Set image_cache_refcount before x_default_parameter calls.  (Bug#20802)
	* src/nsfns.m (Fx_create_frame):
	* src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
	image_cache_refcount before first x_default_parameter call.

2015-06-18  Eli Zaretskii  <eliz@gnu.org>

	Improve and extend filepos-to-bufferpos
	* lisp/international/mule-util.el (filepos-to-bufferpos--dos):
	Don't barf if F returns nil for some argument.
	(filepos-to-bufferpos): Expand to support UTF-16 and not assume
	that every encoding of type 'charset' is single-byte.

2015-06-18  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-menu--perform-transaction):
	Properly delete packages.  (Bug#20836)

2015-06-18  Eli Zaretskii  <eliz@gnu.org>

	Update data files from just-released Unicode 8.0
	* etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
	status.
	* test/BidiCharacterTest.txt: Update from Unicode 8.0.
	* admin/unidata/BidiMirroring.txt:
	* admin/unidata/BidiBrackets.txt:
	* admin/unidata/UnicodeData.txt: Update from Unicode 8.0.

2015-06-18  Paul Eggert  <eggert@cs.ucla.edu>

	Document curved quotes a bit better
	* doc/emacs/basic.texi (Inserting Text):
	Mention C-x 8.  Change example to use curved quote rather
	than infinity, as this lets us give more ways to do it.
	* doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
	and quotation marks.
	* doc/emacs/text.texi (Quotation Marks):
	* doc/lispref/tips.texi (Documentation Tips):
	Add "curly quotes" and "curved quotes" to the index.
	* doc/emacs/text.texi (Quotation Marks):
	Give the C-x 8 shorthands for curved quotes.
	Cross-reference to "Quotation Marks".

2015-06-17  Daiki Ueno  <ueno@gnu.org>

	Add pinentry.el for better GnuPG integration
	* lisp/pinentry.el: New file.
	* etc/NEWS: Add entry about pinentry.el.
	* lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
	(Bug#20550)

2015-06-17  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Slightly better error reporting.

2015-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	(define-minor-mode): Use setq-default for :global minor modes
	* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
	Use setq-default for :global minor modes (bug#20712).

2015-06-17  Eli Zaretskii  <eliz@gnu.org>

	Avoid infloop in redisplay with tall images
	* src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
	down near ZV.  (Bug#20808)
	Call bidi_unshelve_cache to avoid memory leaks.  Use IT_CHARPOS
	instead of CHARPOS.

2015-06-17  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--with-work-buffer-async):
	Fix error reporting.

	* lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el

	* lisp/emacs-lisp/package.el: Revert buffer after any operation
	Call `package-menu--post-refresh' after any operation that changes
	the package database (`package-install' and `package-delete').  To
	avoid performance issues in large transactions, these functions
	add `post-refresh' to `post-command-hook' instead of calling it
	immediately.
	(package-menu--mark-or-notify-upgrades): New function.
	(list-packages): Add it to `package--post-download-archives-hook'.
	(package-menu--post-refresh): Lose the upgrade-checking code, add
	code to remove itself from `post-command-hook'.
	(package-install, package-delete): Add it to `post-command-hook'.
	(package-menu-execute): Don't call `package-menu--post-refresh'.

2015-06-17  Stephen Leake  <stephen_leake@stephe-leake.org>

	Add missing function xref-location-group for elisp-mode.
	* lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.

2015-06-17  Wolfgang Jenkner  <wjenkner@inode.at>

	* src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
	The behavior now matches the description in the manual.  (Bug#20783)

2015-06-17  Xue Fuqiao  <xfq.free@gmail.com>

	* etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.

2015-06-17  Glenn Morris  <rgm@gnu.org>

	Generate char-script-table from Unicode source.  (Bug#20789)
	* admin/unidata/Makefile.in (AWK): New, set by configure.
	(all): Add charscript.el.
	(blocks): New variable.
	(charscript.el, ${unidir}/charscript.el): New targets.
	(extraclean): Also remove generated charscript.el.
	* admin/unidata/blocks.awk: New script.
	* admin/unidata/Blocks.txt: New data file, from unicode.org.
	* lisp/international/characters.el: Load charscript.
	* src/Makefile.in (charscript): New variable.
	(${charscript}): New target.
	(${lispintdir}/characters.elc): Depend on charscript.elc.
	(temacs$(EXEEXT)): Depend on charscript.

	* lisp/international/characters.el (char-script-table): Tweak
	some ranges to better match the source.  (Bug#20789#17)

	Remove "no-byte-compile: t" from a few files.
	* lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
	* lisp/obsolete/patcomp.el: No reason not to compile these.

2015-06-16  Glenn Morris  <rgm@gnu.org>

	Fix some typos in copied Unicode data.  (Bug#20789)
	* lisp/international/characters.el (char-script-table):
	* lisp/international/fontset.el (script-representative-chars)
	(setup-default-fontset): Fix typos.

	* lisp/emacs-lisp/check-declare.el (check-declare-warn):
	Don't print filename twice (it's in the prefix now).

	* lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
	No longer needed.

	Address a compilation warning.
	* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
	Replace 't' with '_' in pcase.

	Address some check-declare warnings.
	* lisp/simple.el (tabulated-list-print):
	* lisp/progmodes/elisp-mode.el (xref-collect-matches):
	* lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
	(ns-get-selection): Update declarations.

	Address some compilation warnings.
	* lisp/elec-pair.el (electric-pair-post-self-insert-function):
	* lisp/vc/vc-git.el (vc-git-file-type-as-string):
	Replace 't' with '_' in pcase.

	Address some compilation warnings.
	* lisp/face-remap.el (text-scale-adjust):
	* lisp/menu-bar.el (popup-menu-normalize-position):
	* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
	* lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
	* lisp/emacs-lisp/generator.el (cps--transform-1):
	* lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
	* lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
	* lisp/progmodes/octave.el (octave-goto-function-definition)
	(octave-find-definition-default-filename):
	Replace 't' with '_' in pcase.

	* lisp/emacs-lisp/pcase.el (pcase--u1):
	Paper-over today's bootstrap failure.

2015-06-16  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.

	* lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.

	Better confirmation message in `find-alternate-file' (Bug#20830)
	* lisp/files.el (find-alternate-file'): Improve the confirmation
	message to show the buffer name.

	Better docstring for null.  (Bug#20815)
	* src/data.c (null): Improves the docstring, saying what null returns
	when OBJECT is non-nil.

2015-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/net/newst-treeview.el: Use lexical-binding.

	(filepos-to-bufferpos): Add missing cases.  Make sure it terminates.
	* lisp/international/mule-util.el (filepos-to-bufferpos--dos):
	New auxiliary function, extracted from filepos-to-bufferpos.
	Make sure it terminates.
	(filepos-to-bufferpos): Use it to fix the latin-1-dos case.
	Add support for the `exact' quality.

2015-06-16  Cédric Chépied  <cedric.chepied@gmail.com>

	Identify feeds in newsticker treeview with :nt-feed property
	* lisp/net/newst-treeview.el:
	(newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.

2015-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/pcase.el: Improve docs and error handling.
	(pcase--self-quoting-p): Floats aren't self-quoting.
	(pcase): Tweak docstring.
	(pcase--u1): Deprecate the t pattern.  Improve error detection for
	the nil pattern.
	(\`): Tweak docstring.  Signal an error for unrecognized cases.
	(bug#20784)

2015-06-16  Eli Zaretskii  <eliz@gnu.org>

	Fix infloop in filepos-to-bufferpos
	* lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
	offset calculation, and make it conditional on the eol-type of the
	file's encoding.  (Bug#20825)

2015-06-16  Martin Rudalics  <rudalics@gmx.at>

	Fix handling of image cache refcounts.  (Bug#20802)
	This backports Eli Zaretskii's solution of this problem for W32
	to X and NS.
	* src/nsfns.m (image_cache_refcount): Define unconditionally.
	(unwind_create_frame): If the image cache's reference count
	hasn't been updated yet, do that now.
	(Fx_create_frame): Set image_cache_refcount unconditionally.
	* src/xfns.c (image_cache_refcount): Define unconditionally.
	(unwind_create_frame): If the image cache's reference count
	hasn't been updated yet, do that now.
	(Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
	unconditionally.
	* src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
	X and NS.

2015-06-16  Nils Ackermann  <nils@ackermath.info>

	Improve reftex-label-regexps default value
	* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
	keyvals label regexp more strict to better cope with unbalanced
	brackets common in math documents.

2015-06-16  Glenn Morris  <rgm@gnu.org>

	* doc/emacs/calendar.texi (Format of Diary File):
	Move "nonmarking" from here...
	(Displaying the Diary): ... to here.

	* doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
	Swap the order of these nodes.
	* doc/emacs/emacs.texi: Update detailed menu for the above change.

	* doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
	Update date of examples.
	(Diary, Format of Diary File): Move example from former to latter.
	Reduce duplication.

	No need for cp51932.el, eucjp-ms.el to not be compiled any more.
	* admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
	Don't set no-byte-compile in the outputs.
	* lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.

2015-06-15  Glenn Morris  <rgm@gnu.org>

	* lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
	* doc/emacs/calendar.texi (Diary, Format of Diary File):
	Update for above diary-file change.

	* lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
	(apply-macro-to-region-lines): Use user-error.

	* lisp/textmodes/page-ext.el (add-new-page, pages-directory)
	(pages-directory-for-addresses): Doc fixes.

2015-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/info.el: Cleanup bytepos/charpos issues
	* lisp/international/mule-util.el: Use lexical-binding.
	(filepos-to-bufferpos): New function.
	* lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
	(Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
	(Info-read-subfile, Info-search): Use 0-based file positions.

	* lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
	(perl--syntax-exp-intro-keywords): New var.
	(perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
	(bug#20800).

2015-06-15  Paul Eggert  <eggert@cs.ucla.edu>

	Fix quoting when making derived mode docstring
	* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
	Nest regexp-quote inside format, not the reverse.
	Problem reported by Artur Malabarba in:
	https://lists.gnu.org/r/emacs-devel/2015-06/msg00206.html

2015-06-15  Eli Zaretskii  <eliz@gnu.org>

	Fix current-iso639-language on MS-Windows
	* lisp/international/mule-cmds.el (set-locale-environment):
	Downcase the locale name before interning it.  This is so the
	'current-iso639-language' on MS-Windows matches the ':lang'
	property of font-spec objects.

	Limit Symbola usage some more
	* lisp/international/fontset.el (setup-default-fontset): Limit
	Symbol coverage of Currency Symbols to u+20B6..u+20CF.
	(Bug#20727)

2015-06-15  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el (map-let): Better docstring.

2015-06-15  Paul Eggert  <eggert@cs.ucla.edu>

	* test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
	(help-fns-test-funny-names): Spelling fixes.

2015-06-14  Glenn Morris  <rgm@gnu.org>

	* lisp/version.el (emacs-repository-version-git): Demote errors.
	Check result is a hash.

2015-06-14  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package--with-work-buffer-async):
	Catch errors that happen before going async.  (Bug#20809)

2015-06-14  Eli Zaretskii  <eliz@gnu.org>

	Another improvement of documentation of set-fontset-font
	* doc/lispref/display.texi (Fontsets): Say explicitly that
	CHARACTER can be a single codepoint.
	* src/fontset.c (Fset_fontset_font): Doc fix.

	Another improvement for symbol and punctuation characters
	* lisp/international/fontset.el (setup-default-fontset): Exclude
	from Symbola character ranges for symbols and punctuation covered
	well by popular Unicode fonts.  Prefer fixed-misc Unicode font, if
	installed and where its coverage of symbols and punctuation is
	known to be good.  (Bug#20727)

2015-06-14  Christoph Wedler  <christoph.wedler@sap.com>

	Some generic support for multi-mode indentation.
	* lisp/progmodes/prog-mode.el (prog-indentation-context):
	New variable.
	(prog-first-column, prog-widen): New convenience functions.

2015-06-14  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
	Don't assume that `tabulated-list-printer' will leave point at the
	end of the buffer.  (Bug#20810)

2015-06-13  Glenn Morris  <rgm@gnu.org>

	Tweaks for getting repository version; a bit more like it was for bzr
	* lisp/version.el (emacs-repository-version-git)
	(emacs-repository--version-git-1): New functions,
	split from emacs-repository-get-version.
	(emacs-repository-get-version): Make the second argument meaningful.

	* lisp/startup.el (command-line-1): Inform if skipping relative
	file names due to deleted PWD.

	* src/xsmfns.c (x_session_initialize): Avoid libSM crash
	when startup directory is missing.  (Bug#18851)
	(errno.h): Include it.

2015-06-13  Paul Eggert  <eggert@cs.ucla.edu>

	Better fix for documenting `X as "`X"
	Fix suggested by Stefan Monnier.
	* lisp/help-fns.el (help-fns--signature):
	Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
	* lisp/help.el (help-split-fundoc, help--make-usage-docstring):
	Don't treat `X specially, as help-fns--signature now handles this.

2015-06-13  Eli Zaretskii  <eliz@gnu.org>

	Improve the default fontset when Symbola is not installed
	* lisp/international/fontset.el (setup-default-fontset): Only
	prepend Symbola and FreeMono font specs for symbols and
	punctuation; do not replace the default spec for them.  This
	should have better results when Symbola/FreeMono are not
	installed.  (Bug#20727)

	Improve documentation of ':lang' in font specs
	* src/font.c (Ffont_spec): Doc fix: elaborate on the values and
	use of the ':lang' property of the font spec.
	* doc/emacs/frames.texi (Fonts): Document the language names that
	can be in the STYLE part of XLFD.
	* doc/lispref/display.texi (Low-Level Font): Document the ':lang'
	property.

	* nt/README: Don't advertise the (obsolescent) w32 FAQ.

	* nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.

	Revert last change in fontset.el
	* lisp/international/fontset.el (setup-default-fontset): Revert
	the change "Configure Symbola font only if installed", since font
	search is evidently not yet set up when this function is called.
	(Bug#20727)

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

	Ensure early startup warnings are visible at the end.  (Bug#20792)
	* lisp/emacs-lisp/warnings.el (display-warning):
	If startup isn't complete, delay the warning.
	* lisp/startup.el (normal-top-level, command-line):
	Let display-warning automatically handle the needed delays.
	Run delayed-warnings-hook.

	* lisp/version.el (emacs-repository-get-version):
	Avoid calling external executable if possible.  (Bug#20799)

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

	Document `X as "`X", not as "(` X)"
	* lisp/help.el (help-split-fundoc, help--make-usage-docstring):
	Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).

	* src/print.c (print_object): Minor simplification.

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

	* src/buffer.c (init_buffer): Add final newline to message.

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

	Configure Symbola font only if installed
	* lisp/international/fontset.el (setup-default-fontset):
	Don't specify the Symbola font if it's not installed.
	Likewise for FreeMono.  (Bug#20727)

2015-06-12  Eli Zaretskii  <eliz@gnu.org>

	Configure Symbola font only for symbols and punctuation
	* lisp/international/fontset.el (setup-default-fontset): Leave
	only symbols and punctuation in the fontset setup for Symbola
	font; remove "Greek and Coptic" and "Cyrillic Supplement".
	(Bug#20798)

2015-06-12  Andreas Schwab  <schwab@linux-m68k.org>

	Fix crash in fontset-info
	* src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
	non-nil.

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

	Port to Solaris 10 sparc + Sun C 5.13
	* configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
	Adjust to process.c change.
	* src/process.c (create_process): Declare volatile variables at
	top level of this function, so that they're less likely to be
	reused later in the function in the code executed by the vforked
	child.  Do not declare locals used only in the vforked child, as
	they might share memory with locals still live in the parent.
	Instead, use the same variables in the child as in the parent.
	This works around a subtle bug that causes a garbage collector
	crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.

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

	* lisp/startup.el (normal-top-level): Don't let *Messages* get
	a nil default-directory.

2015-06-11  Glenn Morris  <rgm@gnu.org>

	* lisp/startup.el (normal-top-level): Use delay-warning.  (Bug#20792)

	Some progress towards starting with PWD deleted.  (Bug#18851)
	* src/buffer.c (init_buffer): Handle get_current_dir_name failures.
	* lisp/startup.el (normal-top-level, command-line-1):
	* lisp/minibuffer.el (read-file-name-default):
	Handle default-directory being nil.

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

	Fix "not a tty" bug on Solaris 10
	* configure.ac (PTY_OPEN): Define to plain 'open'
	on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
	* src/process.c (allocate_pty): Set the O_CLOEXEC flag after
	calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
	hosts that call grantpt which does its work via a setuid subcommand
	(Bug#19191, Bug#19927, Bug#20555, Bug#20686).
	Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
	seems relevant in that case too.

2015-06-11  Juri Linkov  <juri@linkov.net>

	* lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
	* lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
	(Bug#20785)

2015-06-11  Glenn Morris  <rgm@gnu.org>

	* lisp/international/characters.el (char-script-table): Fix typo.

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

	Fix quoting of help for functions with odd names
	While investigating Bug#20759, I discovered other quoting problems:
	C-h f mishandled characters like backslash and quote in function names.
	This fix changes the behavior so that 'C-h f pcase RET' now
	generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
	because '(format "%S" '(` FOO))' returns "(\\` FOO)".  A comment
	in src/lread.c's read1 function says that the backslash will be
	needed starting in Emacs 25, which implies that 'format' is
	correct and the old pcase documentation was wrong to omit the backslash.
	* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
	* lisp/help-fns.el (help-fns--signature):
	* lisp/help.el (help-add-fundoc-usage):
	* lisp/progmodes/elisp-mode.el (elisp-function-argstring):
	Use help--make-usage-docstring rather than formatting
	help-make-usage.
	* lisp/emacs-lisp/pcase.el (pcase--make-docstring):
	Return raw docstring.
	* lisp/help-fns.el (help-fns--signature): New arg RAW, to return
	raw docstring.  Take more care to distinguish raw from cooked dstrings.
	(describe-function-1): Let help-fns--signature substitute
	command keys.
	* lisp/help.el (help--docstring-quote): New function.
	(help-split-fundoc): Use it, to quote funny characters more
	systematically.
	(help--make-usage): Rename from help-make-usage, since this
	should be private.  Leave an obsolete alias for the old name.
	(help--make-usage-docstring): New function.
	* test/automated/help-fns.el (help-fns-test-funny-names): New test.

2015-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/thingatpt.el (in-string-p): Revert last change,
	since in-string-p is not used in thingatpt.el but only from outside.
	Also, use lexical binding.

2015-06-11  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
	* test/automated/let-alist.el (let-alist-cons): Test it.

2015-06-11  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* src/syntax.c (Fbackward_prefix_chars): Reword docstring.

2015-06-10  Glenn Morris  <rgm@gnu.org>

	* build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.

	Improve generated ChangeLog for gitmerge.el commits.  (Bug#20717)
	* build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
	* admin/gitmerge.el (gitmerge-commit-message):
	Exclude "skipped" messages from ChangeLog once again.

	Slight namespace cleanup for thingatpt.el.
	* lisp/thingatpt.el (thing-at-point--in-string-p)
	(thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
	(thing-at-point--read-from-whole-string): Rename from
	old versions without "thing-at-point--" prefix.
	Keep old versions as obsolete aliases.  Update all uses.

	* lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
	Move requiring of finder from here...
	(checkdoc-package-keywords): ... to here.

	Use 'user-error' in a few calendar files.
	* lisp/calendar/appt.el (appt-add):
	* lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
	(calendar-generate):
	* lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
	Replace 'error' with 'user-error'.

	* lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.

	* lisp/files-x.el (add-file-local-variable):
	Special-case 'lexical-binding'.  (Bug#20641)

	* lisp/progmodes/executable.el (executable-self-display): Obsolete.
	No longer autoload.
	* doc/misc/autotype.texi (Executables):
	Undocument executable-self-display.

	* lisp/progmodes/executable.el (executable-self-display):
	Use non-obsolete tail syntax.  (Bug#20779)
	(executable-self-display): Doc update.

2015-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/checkdoc.el: Use lexical-binding
	(finder-known-keywords): Silence byte-compiler.

2015-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/simple.el (eval-expression): Macroexpand before evaluating
	(bug#20730).

	* lisp/progmodes/sh-script.el: Better handle nested quotes.
	(sh-here-doc-open-re): Don't mismatch the <<< operator (bug#20683).
	(sh-font-lock-quoted-subshell): Make sure double quotes within single
	quotes don't mistakenly end prematurely the surrounding string.

	* lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.

2015-06-09  Glenn Morris  <rgm@gnu.org>

	* test/automated/Makefile.in (ELFILES): Sort.

	* Makefile.in (SUBDIR_MAKEFILES):
	* lwlib/Makefile.in (WARN_CFLAGS):
	Use built-in Make functions rather than echo+sed.

2015-06-09  Eli Zaretskii  <eliz@gnu.org>

	Update char-script-table
	* lisp/international/characters.el (char-script-table): Update
	from Unicode 8.0 Draft.

	Improve font selection for punctuation and other symbols
	* src/fontset.c (face_for_char): If the character's script is
	'symbol', and the font used for ASCII face has a glyph for it, use
	the font for the ASCII face instead of searching the fontsets.
	This comes instead of NS-specific code that used the current
	face's font instead, which is now disabled due to undesirable
	consequences.  (Bug#20727)

2015-06-08  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
	Skip past `#' to find BEG (bug#20771).
	* test/automated/elisp-mode-tests.el
	(elisp-completes-functions-after-hash-quote): New test.

2015-06-08  Eli Zaretskii  <eliz@gnu.org>

	Fix compilation warning/error in --without-x builds
	* src/xdisp.c (append_space_for_newline): Condition GUI-specific
	code on HAVE_WINDOW_SYSTEM.

	Improve the default fontset wrt symbols
	* lisp/international/fontset.el (setup-default-fontset): Better
	setup of fontset-default for symbols: use Symbola and FreeMono.
	(Bug#20727)

2015-06-08  Oleh Krehel  <ohwoeowho@gmail.com>

	Add new command checkdoc-package-keywords
	* lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
	New defcustom.
	(checkdoc-list-of-strings-p): Add doc.
	(checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
	non-nil, call `checkdoc-package-keywords'.
	(checkdoc-get-keywords): New defun.
	(checkdoc-package-keywords): New command.  Warns if the current file
	has package.el-style keywords that aren't in `finder-known-keywords'.
	* etc/NEWS: Add entry.

2015-06-08  Eli Zaretskii  <eliz@gnu.org>

	Avoid crashes when key-binding is called from a timer
	* src/keymap.c (Fkey_binding): Don't segfault if called with an
	empty vector as KEY.  (Bug#20705)

	Fix a thinko in arc-mode.el
	* lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
	non-Zip64 case.  (Bug#20769)

2015-06-08  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-delete): Make interactive.

2015-06-08  Oleh Krehel  <ohwoeowho@gmail.com>

	* lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
	(checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
	"*warn*", print the warning to the standard output.  (bug#20754)

2015-06-07  Glenn Morris  <rgm@gnu.org>

	* admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.

	* src/font.c (syms_of_font) <font-log>: Doc fix.

	Remove the obsolete leading "*" from some C doc strings.
	* src/coding.c (syms_of_coding):
	* src/font.c (syms_of_font): Remove leading "*" from docs.
	* lisp/cus-start.el (enable-character-translation): Add it.

2015-06-07  Paul Eggert  <eggert@cs.ucla.edu>

	Move gen_origin from program to data
	That way, 'make change-history' needs to change only ChangeLog.2,
	instead of having to change two files.
	* ChangeLog.2: Add commit info for range that this file covers.
	* Makefile.in (new_commit_regexp): New macro.
	(change-history-nocommit): Simplify, by putting what used to be
	the gen_origin value into the data (ChangeLog.2) rather than
	into the program (gitlog-to-emacslog).
	* build-aux/gitlog-to-emacslog (gen_origin): Calculate from
	the input file (e.g., ChangeLog.2) rather than by having a
	constant in the program.  Substitute it into the output.

2015-06-07  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/help-fns.el (help-fns--signature): Quote any quotes in the
	function name (bug#20759).

2015-06-07  Eli Zaretskii  <eliz@gnu.org>

	Adapt 'struct timespec' to next release of MinGW runtime
	* nt/inc/ms-w32.h (struct timespec): Don't declare if
	__struct_timespec_defined is defined.

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

	Merge from gnulib
	This incorporates:
	2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
	2015-06-05 stdio: Don't redefine gets when using C++
	2015-06-05 acl-permissions: port to AIX, C89 HP-UX
	2015-06-02 file-has-acl: fix build on Mac OS X 10
	2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
	2015-06-01 pthread_sigmask: discount system version if a simple macro
	2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
	* doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
	* lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
	* m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
	* lib/gnulib.mk: Regenerate.

2015-06-06  Juri Linkov  <juri@linkov.net>

	* lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
	before calling grep-compute-defaults because now it affects the
	command lines computed in grep-compute-defaults.  (Bug#20728)

2015-06-06  Glenn Morris  <rgm@gnu.org>

	Address some compilation warnings.
	* lisp/international/mule-cmds.el (w32-get-console-codepage)
	(w32-get-console-output-codepage):
	* lisp/progmodes/elisp-mode.el (xref-collect-references):
	* lisp/version.el (cairo-version-string): Declare.
	* lisp/erc/erc.el (erc-nickname-in-use): Fix typo.

2015-06-06  Eli Zaretskii  <eliz@gnu.org>

	Fix display when a font claims large values of ascent and descent
	This fixes bug#20628.
	* src/xdisp.c (get_phys_cursor_geometry): Correct the Y
	coordinate of a hollow cursor glyph when the original glyph's
	ascent is too small.
	(get_font_ascent_descent, normal_char_ascent_descent)
	(normal_char_height): New functions.
	(handle_single_display_spec, append_space_for_newline)
	(calc_pixel_width_or_height, produce_stretch_glyph)
	(calc_line_height_property): Use normal_char_ascent_descent and
	normal_char_height.
	(x_produce_glyphs): When font-global values of ascent and descent
	are too large, use per-character glyph metrics instead, if
	possible.  But don't allow the glyph row's ascent and descent
	values become smaller than the values from the metrics of the
	font's "normal" character.
	* src/xftfont.c (xftfont_draw):
	* src/w32font.c (w32font_draw): Correct the values of ascent and
	descent used to draw glyphless characters' hex code in a box.
	* src/xterm.c (x_draw_glyph_string_background):
	* src/xdisp.c (x_produce_glyphs):
	* src/w32term.c (x_draw_glyph_string_background):
	* src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
	to detect fonts whose global ascent and descent values are too
	large to be used in layout decision, and redraw the background
	when that happens.
	* src/dispextern.h (FONT_TOO_HIGH): New macro.
	(get_font_ascent_descent): Add prototype.
	* src/xterm.c (x_new_font):
	* src/w32term.c (x_new_font):
	* src/nsterm.m (x_new_font):
	* src/font.c (font_open_entity):
	* src/composite.c (composition_gstring_width):
	Use get_font_ascent_descent to obtain reasonable values for ascent
	and descent of a font.

2015-06-06  Nicolas Richard  <youngfrog@members.fsf.org>

	Add assertion in adjust_point_for_property
	* src/keyboard.c (adjust_point_for_property): Add eassert for
	current buffer being shown in selected window.

2015-06-06  Dmitry Gutov  <dgutov@yandex.ru>

	Replace uses of in-string-p; make it obsolete
	* lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
	(end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.

2015-06-06  Eli Zaretskii  <eliz@gnu.org>

	Fix Dired display of an explicit list of files by ls-lisp.el
	* lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
	(ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
	correct for when displaying individual files separately, not as
	part of listing a directory, in which case these values are not
	recomputed by 'ls-lisp-insert-directory', but used verbatim.

	* lisp/dired.el (dired): Doc fix.  (Bug#20739)

2015-06-06  Nicolas Richard  <youngfrog@members.fsf.org>

	Do not adjust point in a non-selected window
	* src/keyboard.c (command_loop_1): Do not adjust point when
	current buffer is not shown in selected window (Bug#20590).

	* etc/DEBUG: Mention 'maybe_call_debugger'

2015-06-05  Nicolas Petton  <nicolas@petton.fr>

	Fix a unit test for map.el
	* test/automated/map-tests.el (test-map-let): Fix the test to work
	with the new syntax of `map-let'.

	* lisp/emacs-lisp/map.el (map-let): Better docstring.

	Better syntax for the map pcase pattern
	* lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
	bindings of the form (KEY PAT) or SYMBOL.  KEY is not quoted.

	* lisp/emacs-lisp/map.el (map--dispatch): Better docstring.

	Fix a byte-compiler error in map-put and map-delete
	* lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
	called with a symbol.

2015-06-05  Glenn Morris  <rgm@gnu.org>

	* admin/gitmerge.el (gitmerge-commit-message):
	Revert to including "skipped" messages in ChangeLog once again.

2015-06-05  Tassilo Horn  <tsdh@gnu.org>

	Use string> instead of equiv lambda with string<
	* lisp/help.el (view-emacs-news): Use string> instead of equivalent
	lambda with string<.

2015-06-05  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/map.el (map--dispatch): Move before use.
	(map--delete-array): Fix typo.

	* test/automated/map-tests.el: Replace "assert" with "should".

	* lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
	(SUBDIRS_REL): Derive from SUBDIRS.

	Tweak some build messages.
	* lisp/Makefile.in ($(lisp)/loaddefs.el):
	* lisp/cus-dep.el (custom-make-dependencies):
	* lisp/finder.el (finder-compile-keywords): Say what we are doing.
	* lisp/international/titdic-cnv.el (batch-titdic-convert):
	Don't say how to compile.

2015-06-05  Paul Eggert  <eggert@cs.ucla.edu>

	Omit U+0332 COMBINING LOW LINE in previous change
	It turns out that it does not work on Ubuntu 15.04.

	Fix transliteration of Bahá'í months
	* lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
	Improve quality of Latin transliteration of Bahá'í month names.

	Fix curved quotes in a few places
	* lisp/calc/calc-misc.el (calc-help): Fix quoting.
	The strings in question are not doc strings, so this partially
	undoes the recent change that assumed they were doc strings.
	* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
	* lisp/info.el (Info-finder-find-node):
	Use curved quotes.
	* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
	Also allow curved quotes in doc strings.

2015-06-04  Glenn Morris  <rgm@gnu.org>

	* lisp/Makefile.in (AM_V_at): Add missing definition.

	* lisp/Makefile.in: Quieten output a bit.
	($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
	Don't echo directories, since the commands we invoke print them.

	* lisp/Makefile.in: Replace shell fragments in variables with $(shell).
	(SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
	(SUBDIRS_SUBDIRS): New variables.
	(setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
	Remove.
	($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
	(update-subdirs, compile-main, compile-clean):
	Replace "setwins" usage with new "SUBDIRS" variables.

	* lisp/vc/compare-w.el (compare-windows-get-window-function):
	Fix :version tag.

2015-06-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/ftfont.c (ftfont_open2): Round divisions by upEM.

	Undo removal of x_clear_area call on expose for GTK3 or cairo
	* src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
	Clear exposed area.  (Bug#20677)

2015-06-04  Glenn Morris  <rgm@gnu.org>

	* doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.

	* lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.

	* lisp/leim/quail/lrt.el (quail-lrt-update-translation):
	Rename from quail-lao-update-translation, since lao.el defines that.

2015-06-04  Dmitry Gutov  <dgutov@yandex.ru>

	Handle new-style advice in find-funct
	* lisp/emacs-lisp/find-func.el (find-function-advised-original):
	Handle new-style advice.  Return the symbol's function definition.
	(Bug#20718)
	(find-function-library): Update accordingly.

2015-06-04  Nicolas Petton  <nicolas@petton.fr>

	Merge branch 'map'

	* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.

	Add new function string-greaterp
	* lisp/subr.el (string-greaterp): New function.  Also aliased to
	`string>'.
	* test/automated/subr-tests.el (string-comparison-test): Add unit
	tests for `string>'and `string<'.
	* src/fns.c (string-lessp): Better docstring.

2015-06-04  Eli Zaretskii  <eliz@gnu.org>

	Fix timezone-related functions on MS-Windows
	* src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
	'xputenv', even if no reallocation of tzvalbuf was necessary.
	This fixes a bug in timezone-related functions on MS-Windows.
	Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.

2015-06-03  Paul Eggert  <eggert@cs.ucla.edu>

	Don't pass raw directory name to 'error'
	* lisp/files.el (basic-save-buffer-2): Avoid format error if
	a directory name contains a string like "%s".

2015-06-03  Dmitry Gutov  <dgutov@yandex.ru>

	Override 'grep --color=always'
	* lisp/progmodes/xref.el (xref-collect-matches):
	Override --color=always in grep-find-template.

2015-06-03  Michael Albinus  <michael.albinus@gmx.de>

	Fix error introduced recently in file-notify-tests.el
	* test/automated/file-notify-tests.el
	(file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
	(file-notify--deftest-remote): Revert previous patch, not
	necessary anymore.

2015-06-03  Wolfgang Jenkner  <wjenkner@inode.at>

	* src/indent.c (Fvertical_motion): Amend motion by 0 lines.
	Starting from a display string after a newline, point went to the
	previous line.  Also, fix an inadvertent use of a buffer position
	with FETCH_BYTE.  (Bug#20701)

2015-06-03  Michael Albinus  <michael.albinus@gmx.de>

	Instrument file-notify-test.el in order to catch hydra error
	* test/automated/file-notify-tests.el (file-notify--deftest-remote):
	Wrap body by `ignore-case', in order to trap non-local errors.

2015-06-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Undo previous changes in non-toolkit scroll bar drawing
	* src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
	[!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window.  (Bug#20668)

2015-06-03  Paul Eggert  <eggert@cs.ucla.edu>

	* .gitignore: Also ignore doc/*/*/*.html and .ps.

	Support quotes 'like this' in info files
	This is possible when 'makeinfo --disable-encoding' is used
	in Texinfo 5.
	* lisp/calc/calc-help.el (calc-describe-thing):
	* lisp/gnus/gnus-art.el (gnus-button-alist):
	* lisp/info.el (Info-find-index-name):
	* lisp/vc/ediff-help.el (ediff-help-for-quick-help):
	Also support quotes 'like this'.
	* lisp/calc/calc-help.el (calc-describe-thing): Simplify.
	* lisp/finder.el (finder-font-lock-keywords): Remove var that
	hasn't been used in years, instead of bothering to fix its quoting.

2015-06-02  Paul Eggert  <eggert@cs.ucla.edu>

	* .gitignore: Remove !test/etags/html-src/*.html.
	It's no longer needed, since *.html was removed.  Sort.

2015-06-02  Dmitry Gutov  <dgutov@yandex.ru>

	Restore <D> instead of '.' in grep-find-template
	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-grep-use-template): Update a comment.
	* lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
	instead of '.' in grep-find-template (bug#20719).
	(rgrep): Pass nil as the directory to rgrep-default-command.
	* lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
	default value for DIR.
	* lisp/progmodes/xref.el (xref-collect-matches): Drop the
	workaround.

2015-06-02  Glenn Morris  <rgm@gnu.org>

	* configure.ac (emacs_config_features): Add X toolkit and scroll-bars.

	* configure.ac (emacs_config_features): Add Cairo.

	* configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.

2015-06-02  Michael Albinus  <michael.albinus@gmx.de>

	Ensure that autorevert works for remote files in file-notify-tests.el
	* test/automated/file-notify-tests.el (file-notify--test-desc):
	New defvar.
	(file-notify--test-remote-enabled)
	(file-notify-test00-availability, file-notify-test01-add-watch)
	(file-notify-test02-events): Use it.
	(file-notify--test-event-test): Check proper descriptor.
	(file-notify-test03-autorevert): Ensure that
	`visited-file-modtime' has changed.  (Bug#20392)

2015-06-02  Nicolas Petton  <nicolas@petton.fr>

	Add a pcase pattern for maps and `map-let' based on it
	* lisp/emacs-lisp/map.el (map-let): New macro.
	(map--make-pcase-bindings, map--make-pcase-patterns): New functions.
	* test/automated/map-tests.el: New test for `map-let'.

2015-06-02  Dmitry Gutov  <dgutov@yandex.ru>

	Reuse rgrep mechanics in xref-find-regexp
	* lisp/progmodes/grep.el (rgrep-default-command):
	Extract from `rgrep'.
	* lisp/progmodes/xref.el (xref-collect-references): Split from
	`xref-collect-matches'.  Only handle the case of symbol search.
	(xref-collect-matches): Instead of Semantic Symref, use
	`rgrep-default-command', to take advantage of its directory and
	file ignore settings.
	(xref--collect-match): Remove the last argument, leaving the
	regexp construction up to the caller.
	* lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
	Change to take the xref-collect- function to use as an argument.
	(elisp-xref-find): Update accordingly.
	* lisp/progmodes/etags.el (etags--xref-find-matches)
	(etags-xref-find): Same.

	Move xref-elisp-location to elisp-mode.el
	* lisp/progmodes/xref.el (xref-elisp-location)
	(xref-make-elisp-location, xref-location-marker): Remove here.
	(xref--xref): Don't limit the type of the location slot.
	* lisp/progmodes/elisp-mode.el (xref-elisp-location):
	Define as a cl-struct here.
	(xref-location-marker): Move here.

2015-06-02  Eli Zaretskii  <eliz@gnu.org>

	Minor tweaks for .gitignore
	* .gitignore: Don't ignore versioned *.html and *.ps files.
	Don't ignore admin/notes/tags that might be ignored as TAGS
	on case-insensitive filesystems.  (Bug#20710)

2015-06-02  Paul Eggert  <eggert@cs.ucla.edu>

	Generate curved quotes in ert doc
	* lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
	(ert-results-mode-menu)
	(ert-results-pop-to-backtrace-for-test-at-point)
	(ert-results-pop-to-messages-for-test-at-point)
	(ert-results-pop-to-should-forms-for-test-at-point)
	(ert-describe-test):
	Quote ‘like this’, not `like this', when generating doc strings
	and the like.
	* test/automated/ert-x-tests.el (ert-test-describe-test):
	Allow quoting ‘like this’.

2015-06-02  Nicolas Richard  <youngfrog@members.fsf.org>

	Add test for previous commit
	* test/automated/replace-tests.el: New file.
	(query-replace--split-string-tests): Add test for previous commit.

	Avoid confusion in query-replace history when replacing NUL chars
	* lisp/replace.el (query-replace--split-string): New function.
	(query-replace-read-from): Rely on the 'separator' property
	instead of searching for the NUL character (Bug#20690).

2015-06-02  Glenn Morris  <rgm@gnu.org>

	Merge from origin/emacs-24
	8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.

	* admin/gitmerge.el (gitmerge-commit-message):
	Exclude "skipped" messages from ChangeLog.

2015-06-01  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp repository
	* lisp/net/tramp.el (tramp-message): Dump connection buffer error
	messages.
	(tramp-handle-make-auto-save-file-name): When calling
	`make-auto-save-file-name' internally, make sure it uses Unix-like
	behavior, not Windows-like behavior.
	* lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
	the local case, because "chown" might fail on w32.
	* lisp/net/trampver.el (tramp-repository-get-version): Don't run
	for XEmacs.

2015-06-01  Eli Zaretskii  <eliz@gnu.org>

	MS-Windows followup for batch stdout/stderr output changes
	* lisp/international/mule-cmds.el (set-locale-environment):
	In batch mode, use console codepages for keyboard and terminal
	encoding.  (Bug#20545)

	Update .gitattributes for DOS EOL files
	* .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
	CRLF end-of-line format.

	NS equivalents of xterm.c and w32term.c changes
	* src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
	glyph string background also when the font in use claims
	preposterously large global height value.  Helps to remove
	artifacts left from previous displays when glyphless characters
	are displayed as hex code in a box.
	(x_new_font): Call get_font_ascent_descent to obtain a reasonable
	value for FRAME_LINE_HEIGHT, even when a font claims very large
	value for its height.

2015-06-01  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid grave accent quoting in stderr diagnostics
	A few Emacs diagnostics go directly to stderr, and so can't easily
	contain curved quotes (as non-UTF-8 locales might mishandle them).
	Instead of bothering to add support for this rarity, reword the
	diagnostics so that they don't use grave accent to quote.
	* src/alloc.c (mark_memory): Fix comment.
	* src/buffer.c (init_buffer):
	* src/dispnew.c (init_display):
	* src/emacs.c (main, sort_args):
	* src/lread.c (dir_warning):
	* src/term.c (init_tty):
	* src/unexmacosx.c (unexec):
	* src/xfns.c (select_visual):
	* src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
	Reword stderr diagnostics to avoid quoting `like this'.
	* src/unexmacosx.c: Include errno.h.
	* src/xfns.c (select_visual): Encode value for locale.

2015-05-31  Paul Eggert  <eggert@cs.ucla.edu>

	Treat batch stdout/stderr like standard display
	Calls like (print FOO) could generate improperly encoded or
	hard-to-read output if FOO contains characters outside the system
	locale.  Fix this by treating batch stdout and stderr like
	interactive standard display, when it comes to transliterating and
	encoding characters (Bug#20545).
	* doc/emacs/mule.texi (Communication Coding):
	* doc/lispref/display.texi (Active Display Table):
	* doc/lispref/nonascii.texi (Locales):
	* etc/NEWS:
	* src/coding.c (syms_of_coding):
	* src/dispnew.c (syms_of_display):
	Document this.
	* src/print.c: Include disptab.h.
	(printchar_to_stream): New function, with much of the guts of the
	old Fexternal_debugging_output, except this one also uses the
	standard display table.
	(printchar, strout, Fexternal_debugging_output): Use it.

2015-05-31  Glenn Morris  <rgm@gnu.org>

	* src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.

2015-05-31  Paul Eggert  <eggert@cs.ucla.edu>

	Remove DEFSYMs that aren't used at the C level.  Also:
	* src/decompress.c (Qzlib_dll):
	* src/font.c (Qunicode_sip):
	* src/frame.c (Qtip_frame):
	* src/ftfont.c (Qserif):
	* src/gnutls.c (Qgnutls_dll):
	* src/xml.c (Qlibxml2_dll):
	Move from here ...
	* src/w32fns.c (syms_of_w32fns): ... to here,
	as these are used only on MS-Windows.

2015-05-31  Michael Albinus  <michael.albinus@gmx.de>

	Use another default value for tramp-histfile-override
	* lisp/net/tramp-sh.el (tramp-histfile-override):
	Use ".tramp_history" as default.
	Fixes bug#20446

2015-05-29  Nicolas Petton  <nicolas@petton.fr>

	* doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.

2015-05-16  Nicolas Petton  <nicolas@petton.fr>

	* etc/NEWS: Add an entry about map.el.

	Improve the docstring of functions in map.el
	Since a map is not a data structure but a concept, adding information
	about the possible types of maps can be useful information.
	* lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
	each public function.

2015-04-29  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
	specific tests depending on the type of the map.

	* lisp/emacs-lisp/map.el: Better docstrings.

2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.

2015-04-25  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el (map--elt-list): Better docstring.

	* lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.

	Fix a false negative in `map-elt' with alists and values being nil
	* lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
	found but its associated value is nil, do not return the default
	value.
	* test/automated/map-tests.el: Add a regression test.

2015-04-24  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.

	Do not signal an error when trying to delete a key from an array
	* lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
	the key is present to avoid signaling an error.
	* test/automated/map-tests.el: Add a test for deleting non-existing
	keys from maps.

	* lisp/emacs-lisp/map.el: Better docstring.

	Minor improvement in map-elt
	* lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
	doing a lookup in arrays, but check the boundaries of the array
	instead.
	* test/automated/map-tests.el: Adds a test for `map-elt' with arrays
	and a negative integer as key.

2015-04-21  Nicolas Petton  <nicolas@petton.fr>

	* test/automated/map-tests.el: Refactoring of test methods.

	* test/automated/map-tests.el: Renamed from map-test.el.

2015-04-18  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/map.el (map-into): Better error message.

	* lisp/emacs-lisp/map.el: Remove byte-compilation warnings.

	Throw an error when converting a map into an unknown map type
	* lisp/emacs-lisp/map.el (map-into): Throw an error if type is
	not valid.
	* test/automated/map-tests.el: Add a regression test.

	New library map.el similar to seq.el but for mapping data structures.
	* test/automated/map-tests.el: New file.
	* lisp/emacs-lisp/map.el: New file.

2015-05-30  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
	there's no explicit tag name (bug#20629).

2015-05-30  Paul Eggert  <eggert@cs.ucla.edu>

	Remove format2
	* src/editfns.c, src/lisp.h (format2): Remove.
	It is more trouble than it's worth, now that we have CALLN.
	This is just a minor refactoring.
	* src/buffer.c (Fkill_buffer):
	* src/dbusbind.c (XD_OBJECT_TO_STRING):
	* src/fileio.c (barf_or_query_if_file_exists):
	Adjust to format2 going away.

	Don't misencode C-generated messages
	Also, be more consistent about calls to 'Fmessage' vs 'message'.
	* src/alloc.c (Fgc_status):
	Prefer AUTO_STRING to build_string for Fmessage call.
	* src/data.c (Fmake_variable_buffer_local)
	(Fmake_local_variable, Fmake_variable_frame_local):
	* src/doc.c (store_function_docstring):
	Use Fmessage, not message, since the argument can contain
	non-ASCII characters, and this can cause the resulting message
	to be incorrectly encoded for the current environment.
	* src/fns.c (maybe_resize_hash_table):
	* src/xselect.c (x_clipboard_manager_save_all):
	Use message, not Fmessage, since Fmessage's power isn't needed here.
	* src/process.c (Fmake_network_process): Reword message to avoid %s.
	* src/xdisp.c (vmessage): Document restrictions on message contents.
	(message_nolog) [false]: Remove unused code.

	Use \r rather than ^M in string literals
	This is less likely to cause problems on platforms that
	use CRLF (or CR!) termination for lines.

	Update .gitattributes to match current sources
	https://lists.gnu.org/r/emacs-devel/2015-05/msg00879.html
	* .gitattributes: Accommodate tests that insist on DOS format.
	Remove test/automated/data/decompress/foo-gzipped.
	Add etc/e/eterm-color.

2015-05-30  Eli Zaretskii  <eliz@gnu.org>

	* doc/emacs/mule.texi (Modifying Fontsets):
	Document face-ignored-fonts.  (Bug#20628)

	Add etags test for the new -Q option
	* 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/CTAGS.good: Adjust to
	test-case changes below.
	* test/etags/ETAGS.good_6: New file.
	* test/etags/cp-src/x.cc: New file.
	* test/etags/Makefile (CPSRC): Add x.cc.
	(check): Add one more test, for -Q.

2015-05-30  Dmitry Gutov  <dgutov@yandex.ru>

	Use list for the tags completion table, not obarray
	* lisp/progmodes/etags.el (etags-tags-completion-table): Return a
	list instead of an obarray
	(https://lists.gnu.org/r/emacs-devel/2015-05/msg00876.html).
	(tags-completion-table): Combine those lists.
	(tags-completion-table): Update the docstring.

2015-05-30  Eli Zaretskii  <eliz@gnu.org>

	Restore EOL format testing in etags
	* 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/CTAGS.good: Adjust to
	test-case changes below.
	* test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
	* test/etags/cp-src/c.C (B): Add back stray CR character.
	* test/etags/c-src/dostorture.c: Add back.
	* test/etags/Makefile (CSRC): Add back c-src/dostorture.c.

2015-05-30  Vitaly Takmazov  <vitalyster@gmail.com>  (tiny change)

	Declare Emacs on MS-Windows to be DPI-aware
	* nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
	* nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
	This avoids Windows entering compatibility mode for Emacs,
	which causes fonts to look less nice.

2015-05-30  Michael Albinus  <michael.albinus@gmx.de>

	Improve Tramp traces
	* lisp/net/trampver.el (tramp-repository-get-version): New defun.
	* lisp/net/tramp.el (tramp-debug-message): Use it.

2015-05-30  Paul Eggert  <eggert@cs.ucla.edu>

	backup-buffer minor reworking of internals
	* lisp/files.el (backup-buffer): Rework to avoid a couple of
	unused locals inadvertently introduced in the previous change.

	backup-buffer now reports .emacs.d/%backup% ills
	* lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
	fails due to disk space exhaustion or whatever, do not pretend
	that it succeeded.  More generally, do a better job of checking
	for I/O failures, and limit the scope of the condition-case to
	just the operations where file errors should be caught and ignored
	(Bug#20595).  Also, don't bother trying to delete later backups if
	an earlier deletion fails, as this is a sign of trouble and it's
	better to stop when there's trouble.

	copy-file now truncates output after writing
	* src/fileio.c (Fcopy_file): Truncate output after writing rather
	than before.  This is more likely to work than truncation before
	writing, if the file system is out of space or the user is over
	disk quota (Bug#20595).  Also, check for read errors.

2015-05-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-load-all-descriptors):
	Don't load descriptors from directories above the package directories.

2015-05-29  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib
	This incorporates the following (Bug#20681):
	2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
	2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
	* lib/set-permissions.c: Copy from gnulib.

2015-05-29  Michael Albinus  <michael.albinus@gmx.de>

	Improve Tramp traces
	* lisp/net/tramp.el (tramp-call-process-region): New defun.
	* lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.

2015-05-29  Glenn Morris  <rgm@gnu.org>

	* test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.

2015-05-29  Wolfgang Jenkner  <wjenkner@inode.at>

	* src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
	The signature was changed in the cairo branch, merged on 2015-05-23.
	This oversight broke compiling only the non-toolkit X version.

2015-05-29  Samer Masterson  <samer@samertm.com>

	* doc/lispref/os.texi: Update initial-buffer-choice docs.

2015-05-29  Glenn Morris  <rgm@gnu.org>

	* test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
	Mark as an expected failure.

2015-05-29  Paul Eggert  <eggert@cs.ucla.edu>

	Change package test to look for curved quotes
	* test/automated/package-test.el (package-test-describe-package)
	(package-test-signed): Search for curved single quotes as well as
	for grave accent and apostrophe.

2015-05-28  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
	cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>

2015-05-28  Samer Masterson  <samer@samertm.com>

	Show files when `initial-buffer-choice' is non-nil
	* lisp/startup.el (command-line-1): When Emacs is given a file as an
	argument and `initial-buffer-choice' is non-nil, display both the file
	and `initial-buffer-choice'.  For more than one file, show
	`initial-buffer-choice' and *Buffer List*.  Refactor display-changing
	commands out of the command line arg parser.
	(initial-buffer-choice): Clarify docstring.

2015-05-28  Eli Zaretskii  <eliz@gnu.org>

	Fix last commit
	* nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
	(gnulib module qcopy-acl): Add back, as it is harmless.  This
	minimizes differences wrt lib/gnulib.mk.

	Fix the MS-Windows build as followup to gnulib update
	* nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
	set-permissions.c, as they don't compile on MinGW.
	(gnulib module qcopy-acl): Remove, as it needs set-permissions.c.

2015-05-28  Paul Eggert  <eggert@cs.ucla.edu>

	Revert my change to gnus-art.el
	* lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
	It wasn't that important, and it caused a Gnus build to fail.  See:
	http://www.randomsample.de:4456/builders/emacs-devel/builds/734

	New minor mode Electric Quote
	This lets you easily insert quotes ‘like this’ by typing
	quotes `like this', and similarly you can easily insert
	quotes “like this” by typing quotes ``like this'' (Bug#20545).
	* doc/emacs/basic.texi (Inserting Text):
	* doc/emacs/modes.texi (Minor Modes):
	* etc/NEWS: Document it.
	* doc/emacs/text.texi (Quotation Marks): New section.
	* lisp/electric.el (electric-quote-comment)
	(electric-quote-string, electric-quote-paragraph):
	New custom vars.
	(electric--insertable-p)
	(electric-quote-post-self-insert-function): New functions.
	(electric-quote-mode, electric-quote-local-mode): New minor modes.
	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
	Add curved single quotes to electric-pair-text-pairs.
	Set electric-quote-string in this buffer.

	A few more doc string fixes (Bug#20385)

	Accept curved quotes in doc strings
	* lisp/info-look.el (info-lookup-guess-custom-symbol):
	(info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.

	Generate curved quotes in pseudo-info nodes
	* lisp/info.el (Info-virtual-index-find-node)
	(Info-virtual-index, Info-apropos-find-node, info-apropos):
	Quote ‘like this’, not `like this', when generating pseudo-info nodes.

	Fix minor quoting problems in doc strings
	Most of these fixes involve escaping grave accents that are
	actually intended to be grave accents, not left quotes.
	(Bug#20385)

	Support curved quotes in doc strings
	Emacs's traditional doc string style has been to quote symbols
	`like this'.  This worked well on now-obsolete terminals where
	` and ' were symmetric quotes, but nowadays curved quotes
	‘like this’ look better.  Support quoting the new way too.
	(Bug#20385)
	* doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
	‘like-this’ as well as `like-this'.
	* etc/NEWS: Mention this.
	* lisp/cedet/mode-local.el (overload-docstring-extension)
	(mode-local-print-binding, mode-local-describe-bindings-2):
	* lisp/cus-theme.el (describe-theme-1):
	* lisp/descr-text.el (describe-text-properties-1, describe-char):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
	* lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
	(eieio-help-constructor):
	* lisp/emacs-lisp/package.el (describe-package-1):
	* lisp/faces.el (describe-face):
	* lisp/help-fns.el (help-fns--key-bindings)
	(help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
	(help-fns--interactive-only, describe-function-1):
	(describe-variable):
	* lisp/help.el (describe-mode):
	* lisp/international/mule-cmds.el (describe-input-method)
	(describe-language-environment):
	* lisp/international/mule-diag.el (describe-character-set)
	(print-coding-system-briefly, list-input-methods)
	(list-input-methods-1):
	Insert curved quotes rather than grave accent and apostrophe.
	* lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
	(checkdoc-proper-noun-region-engine):
	* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
	(lisp-cl-font-lock-keywords-2):
	* lisp/finder.el (finder-font-lock-keywords):
	* lisp/gnus/gnus-art.el (gnus-button-alist):
	* lisp/help-fns.el (help-do-arg-highlight)
	(describe-function-1, describe-variable):
	* lisp/help-mode.el (help-xref-symbol-regexp)
	(help-xref-info-regexp, help-xref-url-regexp):
	* lisp/help.el (describe-mode):
	* lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
	* lisp/wid-edit.el (widget-documentation-link-regexp):
	Parse symbols quoted ‘like-this’ as well as `like-this'.
	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
	Add "‘" and "’" to electric-pair-text-pairs.
	(elisp--form-quoted-p): Also allow "‘" as a quoting char.
	(elisp-completion-at-point, elisp--preceding-sexp):
	Also treat "‘" and "’" as quoting chars.

	substitute-command-keys now curves quotes
	So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
	* doc/lispref/help.texi (Keys in Documentation):
	* etc/NEWS: Document this.
	* src/doc.c (Fsubstitute_command_keys): Implement it.

2015-05-28  Glenn Morris  <rgm@gnu.org>

	* lisp/mail/rmailsum.el (rmail-summary-by-recipients)
	(rmail-summary-by-topic, rmail-summary-by-senders):
	No longer strip leading/trailing whitespace.

	* lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
	(f90-no-block-limit): Add "enum".  (Bug#20680)
	* test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
	New tests.

2015-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/isearch.el (isearch--current-buffer): Give a default value.
	Un-revert changes mistakenly dropped by f9fabb2b.

2015-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib
	This incorporates:
	2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
	2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
	2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
	2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
	2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
	2015-05-26 stdio: fix probe on mingw under gcc 5.1
	* admin/merge-gnulib (GNULIB_MODULES):
	Replace qacl with qcopy-acl, since we don't need the rest of qacl.
	* doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
	* lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
	* lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
	Get latest versions from gnulib.
	* lib/get-permissions.c, lib/set-permissions.c: New files.
	* lib/gnulib.mk, m4/gnulib-comp.m4:
	Regenerate.
	* nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.

2015-05-27  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
	process here.
	(vc-do-command): Rather than here (bug#20608).

2015-05-27  Ivan Shmakov  <ivan@siamics.net>

	Avoid gratuitous delete-dups in face-at-point
	* lisp/faces.el (face-at-point): Do not compute the properly
	ordered, duplicate-free list if only a single value is
	requested anyway.  (Bug#20519)

	Show the exact C-x 8 RET invocation in describe-char
	* lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
	invocation instead of a template.  (Bug#20522)

2015-05-27  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Don't erase tags on refresh.
	(package-menu--post-refresh): Call `tabulated-list-print' with the
	UPDATE argument.  This only affects the refresh action, the revert
	action still erases tags.
	(package-menu-get-status): Change `assq' to `assoc'.
	(package-menu--mark-upgrades-1): New function.
	(package-menu--mark-upgrades-pending): New variable.
	(package-menu-mark-upgrades): Use them to delay marking until
	after refresh is done.
	(package-menu--post-refresh): Call mark-upgrades-1 if
	mark-upgrades-pending is non-nil.

2015-05-27  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
	Fix typo in "Improve tramp-handle-make-auto-save-file-name"
	(commit 3953c4be2816537be95520605d45b866dc731f4b).

2015-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/isearch.el (isearch--current-buffer): New var.
	(isearch-update): Set cursor-sensor-inhibit here.
	(isearch-done): Unset cursor-sensor-inhibit in the right buffer
	(bug#20532).

	Change inhibit-point-motion-hooks to t
	* src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
	to t and document it as obsolete.

2015-05-27  Eli Zaretskii  <eliz@gnu.org>

	Support ZIP files that use Zip64 extensions
	* lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
	format of central directory offsets used by Zip64 extensions.
	(Bug#20665)

2015-05-27  Michael Albinus  <michael.albinus@gmx.de>

	New test tramp-test30-make-auto-save-file-name
	* test/automated/tramp-tests.el
	(tramp-test30-make-auto-save-file-name): New test.
	(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, tramp-test33-asynchronous-requests)
	(tramp-test34-recursive-load, tramp-test35-unload): Rename.

	Improve tramp-handle-make-auto-save-file-name
	* lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
	(tramp-handle-make-auto-save-file-name): Let native
	`make-auto-save-file-name' use `auto-save-file-name-transforms',
	if `tramp-auto-save-directory' is not set.

2015-05-27  Glenn Morris  <rgm@gnu.org>

	No longer set dired-directory in eshell.  (Bug#16477)
	* lisp/eshell/esh-mode.el (eshell-mode):
	* lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.

	* lisp/mail/sendmail.el (mail-position-on-field): Doc fix.

	Make c-submit-bug-report file reports at debbugs.gnu.org.  (Bug#15784)
	* lisp/progmodes/cc-mode.el (c-mode-help-address):
	Change to submit@debbugs.
	(c-mode-bug-package): New constant.
	(mail-position-on-field): Declare.
	(c-submit-bug-report): Insert X-Debbugs-Package header.
	* doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
	Mention debbugs.gnu.org.

2015-05-26  Glenn Morris  <rgm@gnu.org>

	* lisp/mail/rmailsum.el: Commas no longer separate regexps.  (Bug#19026)
	(rmail-summary-by-recipients, rmail-summary-by-topic)
	(rmail-summary-by-senders): No longer use mail-comma-list-regexp.
	* doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.

2015-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Handle curved quotes in info files
	* lisp/calc/calc-help.el (calc-describe-thing):
	* lisp/info.el (Info-find-index-name)
	(Info-try-follow-nearest-node, Info-fontify-node):
	* lisp/vc/ediff-help.el (ediff-help-for-quick-help):
	In info files, process quotes ‘like this’ the same way we process
	quotes `like this'.  This catches a few places we missed earlier.

2015-05-26  Dmitry Gutov  <dgutov@yandex.ru>

	xref-prompt-for-identifier: Use a list value
	* lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
	value, to be interpreted as a list of commands.
	(xref--prompt-p): New function.
	(xref--read-identifier): Use it.

2015-05-26  Eli Zaretskii  <eliz@gnu.org>

	Teach MS-Windows font back-end return per-glyph ascent/descent
	* src/w32font.h (struct w32_metric_cache): Add ascent and descent
	values.
	* src/w32font.c (w32font_text_extents): Compute, cache, and
	accumulate per-glyph ascent and descent values, instead of copying
	global values from the font.  If the values are not available from
	the font data, i.e., non-TTF fonts, fall back on font-global values.
	(compute_metrics): Compute and return per-glyph ascent and descent
	values, if returned by GetGlyphOutlineW, falling back on
	font-global values.  (Bug#20628)
	* src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
	height of rectangle to be drawn, to be compatible with
	XDrawRectangle.  Fixes glyphless-char display as hex codes in a
	box, when per-glyph ascent/descent values are used.

2015-05-26  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
	Don't sort if sorter is nil.

2015-05-26  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#20621
	* lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it.  There
	are major modes which set `auto-save-mode' on their own rules;
	Tramp shall not overwrite such settings.

2015-05-26  Glenn Morris  <rgm@gnu.org>

	* lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
	(desktop-load-file): Guess that "foobar" defines "foobar-mode".
	(desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
	Doc updates.
	(vc-dir-mode): Remove unnecessary autoload.

2015-05-25  Philipp Stephani  <phst@google.com>

	* lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
	(xterm--extra-capabilities-type): Add `getSelection'.
	(xterm--query): Add `no-async' argument.
	(xterm--init-activate-get-selection): New function.
	(terminal-init-xterm): Use it.
	(xterm--init-modify-other-keys): Rename from
	terminal-init-xterm-modify-other-keys.
	(xterm--init-bracketed-paste-mode): Rename from
	terminal-init-xterm-bracketed-paste-mode.
	(xterm--init-activate-set-selection): Rename from
	terminal-init-xterm-activate-set-selection.
	(xterm--selection-char): New function.
	(gui-backend-set-selection): Use it.  Use the &context to only apply
	this method in terminals where we enabled the feature.
	(gui-backend-get-selection): New method.

2015-05-25  Daniel Colascione  <dancol@dancol.org>

	* lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
	keyword constants to C++.

2015-05-25  Paul Eggert  <eggert@cs.ucla.edu>

	Make TAGS files more portable to MS-Windows
	* etc/NEWS: Document this.
	* lib-src/etags.c (readline_internal) [DOS_NT]:
	Don't treat CRs differently from GNUish hosts.
	* lisp/progmodes/etags.el (etags-goto-tag-location):
	Adjust STARTPOS to account for the skipped CRs in dos-style files.

2015-05-25  Michael Albinus  <michael.albinus@gmx.de>

	Improve fix of bug#20634 in tramp-sh.el

2015-05-25  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in last commit
	* lib-src/etags.c (C_entries): Fix a typo.
	* 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/CTAGS.good: Update due to the change in etags.c.

	Fix tagging of class members in C-like OO languages
	* lib-src/etags.c (longopts): Add new option --class-qualify and
	its shorthand -Q.
	(print_help): Add help text for --class-qualify.
	(main): Add handling of -Q.
	(consider_token, C_entries) <omethodparm>: Append argument types
	to Objective C methods only if --class-qualify was specified.
	Qualify C++, Objective C, and Java class members with their class
	names only if --class-qualify was specified.
	(C_entries): If --class-qualify was not specified, remove the
	namespace and class qualifiers from tag names of C++ methods.
	This allows to use etags.el as xref back-end without the
	tag-symbol-match-p method, which greatly increases the number of
	potentially false positives.  (Bug#20629)
	* doc/man/etags.1: Update to document the new --class-qualify
	option.
	* 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/CTAGS.good: Update due to changes in etags.c.

2015-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	(cl-generic-define-method): Side effects are evil (bug#20644)
	* lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
	cons-cells that might be used as keys in an `equal' hash-table.

2015-05-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Make erc timestamps visible again
	* lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
	Make timestamps visible again (if requested).

2015-05-25  Eli Zaretskii  <eliz@gnu.org>

	Fix last change in etags.c that broke tagging compressed files
	* lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
	quoting of decompression shell command for MS-Windows/MS-DOS.

2015-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
	(Bug#20639)

2015-05-25  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
	Fix typo in "Inhibit `epa-file-handler' in Tramp"
	(commit 89035e247591c8d688fce922b7079881aa110f33).

2015-05-25  Orivej Desh  <orivej@gmx.fr>  (tiny change)

	Fix IPv6 addresses in Tramp
	* lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
	Add square brackets around host name.

2015-05-25  Michael Albinus  <michael.albinus@gmx.de>

	Inhibit `epa-file-handler' in Tramp (Bug#20634)
	* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
	(tramp-sh-handle-insert-file-contents-literally): Inhibit also
	`epa-file-handler'.

2015-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
	(pcase-let): Document the behavior in case the pattern doesn't match.

2015-05-24  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el: New optional print method.
	(tabulated-list-print): New optional argument, UPDATE.  If
	non-nil, the list is printed by only adding and deleting the
	changed entries, instead of erasing the whole buffer.  This method
	is much faster when few or no entries have changed.
	* doc/lispref/modes.texi (Tabulated List Mode): Document it.
	* etc/NEWS: Document it.

	* lisp/emacs-lisp/tabulated-list.el: Improve printing.
	(tabulated-list--get-sorter): New function.
	(tabulated-list-print): Restore window-line when remember-pos is
	passed and optimize away the `nreverse'.

2015-05-24  Paul Eggert  <eggert@cs.ucla.edu>

	Simpilify etags TEX mode scanning
	* lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
	Remove static vars.
	(TeX_commands): Deduce escapes here instead.
	(TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
	This removes the need for a reset_input call.

	Improve etags I/O error reporting
	* lib-src/etags.c:
	Don't include sys/types.h and sys/stat.h; no longer needed.
	(infilename): New static var.
	(process_file_name): Don't call 'stat'.  Instead, just open the
	file for reading and report any errors.  Don't bother making
	a copy of the file argument; it's not needed.  Be more careful to
	use the failing errno when reporting an error.
	Quote the real name better (though no perfectly)
	when passing it to the shell.
	(reset_input): New function, which reports I/O errors.
	All uses of 'rewind' changed to use this function.
	(perhaps_more_input): New function, which also checks for
	I/O errors.  All uses of 'feof' changed to use this function.
	(analyze_regex): Report an error if fclose fails.
	(readline_internal): Report an error if getc fails.
	(etags_mktmp): Return an error if close fails.

	etags.c: avoid side effects in 'if'
	* lib-src/etags.c (process_file_name, Perl_functions)
	(TEX_decode_env): Hoist side effects into previous statement.

	.gitignore tweaks
	* .gitignore: Ignore all *.stamp files.  Sort.
	Ignore [0-9]*.txt (commonly used name for git patches)
	and /vc-dwim-log-* (vc-dwim temporary).

2015-05-24  Eli Zaretskii  <eliz@gnu.org>

	Fix last change in etags.c, which failed the test suite
	* lib-src/etags.c (intoken): Add '$' to the set, as it was there
	before the last change.

2015-05-23  Glenn Morris  <rgm@gnu.org>

	Remove charset map files from repository, generate in first bootstrap
	* admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
	(all): Create the stamp file.
	(extraclean): Delete the stamp file.
	* src/Makefile.in (lispintdir, charsets): New variables.
	(${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
	New rules.
	(emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
	* lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
	* etc/charsets/*.map: Remove from repository.

2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>

	Cleanup etags.c to use locale-independent code
	Although this doesn't alter behavior (as etags doesn't use
	setlocale), the new version is more clearly locale-independent and
	the executable is a bit smaller on my platform.
	* lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
	Include <c-ctype.h> instead of <ctype.h>.
	(CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
	(begtk, midtk):
	Remove; no longer needed.
	(iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
	All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
	c_islower, c_tolower, respectively.
	(notinname, begtoken, intoken, endtoken): Rewrite as functions
	instead of macros, and initialize the tables at compile-time
	rather than at run-time.

	Put default action first in src/Makefile
	* src/Makefile.in (all): Put this rule before lisp.mk.
	That way, plain 'make' works in the src directory again.

2015-05-23  Glenn Morris  <rgm@gnu.org>

	* Makefile.in: Fix extraclean rule.
	(extraclean_dirs): New.
	(extraclean): Use it.

2015-05-23  Eli Zaretskii  <eliz@gnu.org>

	Avoid compiler warning in image.c on MS-Windows
	* src/w32term.h (x_query_color): Add prototype, to avoid compiler
	warning in image.c.

2015-05-23  Glenn Morris  <rgm@gnu.org>

	Fix --without-toolkit-scroll-bars builds.
	* src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
	Add new argument to x_clear_area1.
	(XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
	Update x_clear_area arguments.

	* admin/charsets/glibc/: New directory, imported from glibc 2.21.
	* admin/charsets/Makefile.in (GLIBC_CHARMAPS):
	Change to included version.
	(LOCAL, local, totalclean): Remove.
	(extraclean): Delete all generated files.

2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
	CVS/Entries exists.

	* lisp/progmodes/xref.el (xref-find-apropos): Use read-string.

	* lisp/progmodes/etags.el (tags-completion-at-point-function):
	Don't trust the find-tag function.

2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify --enable-gcc-warnings
	* src/frame.h (x_query_color): Remove redundant extern decl.
	* src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
	(ftcrfont_match, ftcrfont_open, ftcrfont_close)
	(ftcrfont_text_extents, ftcrfont_draw):
	* src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
	(XTframe_up_to_date, x_clear_area1, x_clear_frame)
	(x_ins_del_lines, frame_highlight, frame_unhighlight)
	(x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
	(x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
	(x_update_window_begin, x_connection_closed)
	(x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
	(x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
	(*x_gc_get_ext_data, x_extension_initialize)
	(x_cr_accumulate_data):
	Remove redundant static decl.  Many of these GCC doesn't complain
	about, but we might as well clean out the duplication while we're
	in the neighborhood.
	* src/xterm.c (x_fill_trapezoid_for_relief):
	Remove decl of nonexistent function.

2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	Replace gui-method macros with cl-generic with &context
	* lisp/frame.el (gui-method--name, gui-method, gui-method-define)
	(gui-method-declare, gui-call): Remove.
	(frame-creation-function): Use cl-defgeneric.
	(make-frame): Adjust callers.
	* lisp/menu-bar.el (menu-bar-edit-menu):
	Use gui-backend-selection-exists-p.
	* lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
	(gui-backend-get-selection): New cl-generic to replace
	gui-get-selection method.
	(gui-backend-set-selection): New cl-generic to replace
	gui-set-selection method.
	(gui-selection-owner-p): New cl-generic to replace
	gui-selection-owner-p method.
	(gui-backend-selection-exists-p): New cl-generic to replace
	gui-selection-exists-p method.  Adjust all callers.
	* lisp/server.el (server-create-window-system-frame): Don't ignore
	window-system spec even when unsupported.
	* lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
	* lisp/startup.el (handle-args-function, window-system-initialization):
	Use cl-defgeneric.
	(command-line): Adjust calls accordingly.
	* lisp/term/ns-win.el (ns-window-system-initialization): Turn into
	a window-system-initialization method.
	(handle-args-function, frame-creation-function): Use cl-defmethod.
	(gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
	(gui-get-selection): Use cl-defmethod on the new functions instead.
	* lisp/term/pc-win.el (w16-get-selection-value): Turn into
	a gui-backend-get-selection method.
	(gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
	Use cl-defmethod on the new functions instead.
	(msdos-window-system-initialization): Turn into
	a window-system-initialization method.
	(frame-creation-function, handle-args-function): Use cl-defmethod.
	* lisp/term/w32-win.el (w32-window-system-initialization): Turn into
	a window-system-initialization method.
	(handle-args-function, frame-creation-function): Use cl-defmethod.
	(gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
	(gui-get-selection): Use cl-defmethod on the new functions instead.
	* lisp/term/x-win.el (x-window-system-initialization): Turn into
	a window-system-initialization method.
	(handle-args-function, frame-creation-function): Use cl-defmethod.
	(gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
	(gui-get-selection): Use cl-defmethod on the new functions instead.
	* lisp/term/xterm.el (xterm--set-selection): Turn into
	a gui-backend-set-selection method.
	* src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
	(Fns_selection_owner_p): Remove unused arg `terminal'.
	(Fns_get_selection): Remove unused args `time_stamp' and `terminal'.

2015-05-23  Eli Zaretskii  <eliz@gnu.org>

	Revert "Fix etags Bug#20629 that broke C++ support"
	This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.

2015-05-23  Jan D  <jan.h.d@swipnet.se>

	Fix etags Bug#20629 that broke C++ support
	* lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
	Revert commit from Sun May 10 (Bug#20629).

	Merge branch 'cairo'.
	Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
	Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.

	Merge branch 'master' into cairo

	Fixes to compile cairo branch without cairo
	* src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
	first argument.
	* src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
	USE_CAIRO.

2015-05-23  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Always update selected-packages.
	(package--update-selected-packages): New function.
	(package-menu-execute): Use it before starting the transaction,
	this way the list of selected packages is updated even when the
	transaction fails.
	(package-menu--perform-transaction): Don't edit selected-packages.

2015-05-23  Eli Zaretskii  <eliz@gnu.org>

	Fix etags reading of compressed files
	* lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
	Include fcntl.h, for O_CLOEXEC.
	(process_file_name): Don't use 'popen', whose streams cannot be
	rewound.  Instead, uncompress the file to a temporary file,
	created by 'etags_mktmp', and read from that as usual.
	(etags_mktmp): New function.
	* 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: Update to be consistent with latest
	changes in etags.c regarding reading compressed files.

	Improve documentation of 'set-fontset-font'
	* doc/lispref/display.texi (Fontsets): Document the value of nil
	for the 3rd argument of 'set-fontset-font'.

	Fix documentation of forward-line
	* src/cmds.c (Fforward_line): Clarify the return value if the line
	at end of accessible portion of the buffer has no newline.
	* doc/lispref/positions.texi (Text Lines): Document what happens
	if the line at end of accessible portion of buffer has no newline.
	(Bug#20587)

2015-05-22  Glenn Morris  <rgm@gnu.org>

	* admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.

	* admin/charsets/mapconv (LC_ALL): Set to C.

	* Makefile.in: Add admin/charsets into top-level clean rules.
	(clean): Add admin/charsets.
	(maybeclean_dirs): New variable.
	(distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.

	* admin/charsets/Makefile.in (LOCAL, local): Fix members.

2015-05-22  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.

2015-05-22  Glenn Morris  <rgm@gnu.org>

	Generate admin/charsets Makefile via configure, and make more portable
	* configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
	(admin/charsets/Makefile): Generate it.
	* admin/charsets/Makefile.in: Rename from Makefile.
	(AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
	New variables, set by configure.
	(charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
	(am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
	(am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
	(cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
	(TRANS_TABLE, CHARSETS): Add directory prefix to value.
	(all): Declare PHONY.
	(local): New PHONY target.
	(map_template): New template.  Use to define short PHONY aliases.
	(*.map): Add directory prefixes to targets and prerequisites.
	Respect make verbosity.
	(JISC6226.map): Replace non-portable sed append without newline.
	(install): Remove rule.
	(clean): Only delete temporary sedscript.
	(bootstrap-clean, distclean, maintainer-clean, extraclean)
	(totalclean): New PHONY rules.
	* admin/charsets/mapconv (BASE): Replace basename with expr.
	(FILE): Add "mapfiles" subdirectory.
	(AWK): New variable.  Use throughout in place of "awk".
	(main): Use "gunzip -c" in place of "zcat".
	Don't leave whitespace before "p", for older sed.
	* admin/charsets/mapfiles/PTCP154: Add final newline,
	to make older sed versions happy.

2015-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/autorevert.el: Use lexical-binding.  Fix hook usage.
	(global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
	(auto-revert-notify-watch-descriptor): Use defvar-local.
	(find-file-hook, auto-revert-tail-mode)
	(auto-revert-notify-add-watch): Use setq-local.
	(auto-revert-notify-add-watch): Don't call make-local-variable on
	kill-buffer-hook (bug#20601).

2015-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	Change defgeneric so it doesn't completely redefine the function
	* lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
	previously defined methods.
	(cl-generic-define-method): Let-bind purify-flag instead of
	using `fset'.
	(cl--generic-prefill-dispatchers): Only define during compilation.
	(cl-method-qualifiers): Remove redundant alias.
	(help-fns-short-filename): Silence byte-compiler.
	* test/automated/cl-generic-tests.el:
	Adjust to new defgeneric semantics.

2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-menu-execute):
	Remove reference to remove-dups.

2015-05-21  Kelvin White  <kwhite@gnu.org>

	* lisp/erc/erc.el: Hide network/channel messages.
	(erc-network-hide-list, erc-channel-hide-list): New lists to define
	message types per network/channel.
	(erc-add-targets): New function to parse list of targets.
	(erc-hide-current-message-p): Modify to check for new targets.

2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>

	Don't quote nil and t in doc strings
	This is as per "Tips for Documentation Strings" in the elisp manual.
	For consistency, do the same in diagnostics and comments.

2015-05-21  Eli Zaretskii  <eliz@gnu.org>

	Fix a minor problem with mouse-face on mode line
	* src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
	mouse face also if the mouse pointer hovers above mode-line glyphs
	that don't come from any Lisp string.  (Bug#20620)

2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Fix selected-package logic.
	(package-menu-execute): Mark as selected all non-upgrade packages
	being installed.
	(package-menu--perform-transaction): Don't mark anything.

	* lisp/emacs-lisp/package.el: Mode-line progress report.
	(package-menu--transaction-status): New variable.
	(package-menu-mode, package-menu--perform-transaction): Use it.

	* lisp/emacs-lisp/package.el: Better transaction messages.
	(package-menu--partition-transaction): New function.
	(package-menu--prompt-transaction-p, package-menu-execute):
	Use it.
	(package-menu--perform-transaction): Don't do any messaging.

	* lisp/emacs-lisp/package.el: Revert async package transactions.
	(package-menu-async): Update doc.
	(package-install-from-archive, package-download-transaction)
	(package-install, package-menu--perform-transaction)
	(package-menu-execute): Remove asynchronous functionality.

2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>

	Revert doc string changes to f90.el
	Problem reported by Glenn Morris in:
	https://lists.gnu.org/r/emacs-devel/2015-05/msg00596.html
	* lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
	Revert recent changes to doc strings, as it's intended that they
	use grave accent, not quote.

2015-05-20  Bozhidar Batsov  <bozhidar@batsov.com>

	* lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
	Improve parameter name.

	* lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.

2015-05-20  Paul Eggert  <eggert@cs.ucla.edu>

	Don't require help-fns when not needed
	* lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
	* lisp/emacs-lisp/elint.el:
	Don't require help-fns at the top level
	* lisp/emacs-lisp/advice.el (ad-arglist):
	* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
	Don't require help-fns.  (Bug#17001)

2015-05-20  Eli Zaretskii  <eliz@gnu.org>

	Fix slash collapsing in etags on MS-Windows
	* lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
	MS-Windows code from the Posix code, and support collapsing both
	forward- and back-slashes on MS-Windows.  Fixes a regression found
	by the test suite.

	Improve documentation of glyphless-char-display
	* doc/lispref/display.texi (Glyphless Chars): Improve
	documentation of glyphless character display.

	Fix "acronym" display of glyphless characters on w32
	* src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
	ignore "acronym" substitutes of 1 character for glyphless characters.

2015-05-20  Oleh Krehel  <ohwoeowho@gmail.com>

	Add an automated test for let-when-compile
	* test/automated/subr-tests.el (let-when-compile): New test.

	Add let-when-compile macro instead of using pcase-let
	* lisp/subr.el (let-when-compile): New let-like macro that makes its
	bindings known to macros like `eval-when-compile' in the body.
	* lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
	a `let-when-compile'.  Also comment out the unused lexical var
	`el-kws-re'.
	The change greatly improves readability, while providing almost the
	same (even shorter) byte code: instead of pre-evaluating 10 variables,
	tossing them into a list, and destructuring that list a full screen
	page later, the variables are simply bound as they are evaluated,
	wrapped individually in `eval-when-compile'.

2015-05-20  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
	(package-delete-button-action): New function.
	(describe-package-1): Add Delete button.

	* lisp/emacs-lisp/package.el: Better dependency description.
	(package--used-elsewhere-p): New optional arg, ALL, and return
	package-desc objects instead of names.
	(package-delete): Update accordingly.
	(describe-package-1): Describe which packages require the package.

2015-05-20  Martin Rudalics  <rudalics@gmx.at>

	Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
	* src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
	Fix doc-string.

	Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
	* lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
	(switch-to-buffer): If the selected window is strongly dedicated
	to its buffer, signal error before prompting for buffer name.
	Handle `switch-to-buffer-in-dedicated-window'.
	* doc/lispref/windows.texi (Switching Buffers):
	Document `switch-to-buffer-in-dedicated-window'.

2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer "this" to “this” in doc strings
	This mostly just straightens quotes introduced in my previous patch.
	Suggested by Dmitry Gutov in:
	https://lists.gnu.org/r/emacs-devel/2015-05/msg00565.html
	* lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
	* lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
	* lisp/textmodes/artist.el, lisp/textmodes/rst.el:
	* lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
	* lisp/vc/log-edit.el, lisp/xt-mouse.el:
	Prefer straight double quotes to curved double quotes in doc strings.

	Fix minor quoting problems in doc strings
	These were glitches regardless of how or whether we tackle the
	problem of grave accent in doc strings.
	* lisp/calc/calc-aent.el (math-restore-placeholders):
	* lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
	* lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
	* lisp/leim/quail/hebrew.el ("hebrew-new")
	("hebrew-biblical-sil"):
	* lisp/leim/quail/thai.el ("thai-kesmanee"):
	* lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
	Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
	* lisp/calendar/calendar.el (calendar-month-abbrev-array):
	* lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
	* lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
	* lisp/cedet/semantic/tag.el (semantic-tag-copy)
	(semantic-tag-components):
	* lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
	* lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
	* lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
	* lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
	* lisp/emacs-lisp/generator.el (iter-next):
	* lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
	(gnus-article-mode-syntax-table):
	* lisp/net/rlogin.el (rlogin-directory-tracking-mode):
	* lisp/net/soap-client.el (soap-wsdl-get):
	* lisp/net/telnet.el (telnet-mode):
	* lisp/org/org-compat.el (org-number-sequence):
	* lisp/org/org.el (org-remove-highlights-with-change)
	(org-structure-template-alist):
	* lisp/org/ox-html.el (org-html-link-org-files-as-html):
	* lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
	(handwrite-12pt, handwrite-13pt):
	* lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
	* lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
	* lisp/progmodes/verilog-mode.el (verilog-tool)
	(verilog-string-replace-matches, verilog-preprocess)
	(verilog-auto-insert-lisp, verilog-auto-insert-last):
	* lisp/textmodes/makeinfo.el (makeinfo-options):
	* src/font.c (Ffont_spec):
	Fix minor quoting problems in doc strings, e.g., missing quote,
	``x'' where `x' was meant, etc.
	* lisp/erc/erc-backend.el (erc-process-sentinel-2):
	Fix minor quoting problem in other string.
	* lisp/leim/quail/ethiopic.el ("ethiopic"):
	* lisp/term/tvi970.el (tvi970-set-keypad-mode):
	Omit unnecessary quotes.
	* lisp/faces.el (set-face-attribute, set-face-underline)
	(set-face-inverse-video, x-create-frame-with-faces):
	* lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
	* lisp/mail/supercite.el (sc-attribs-%@-addresses)
	(sc-attribs-!-addresses, sc-attribs-<>-addresses):
	* lisp/net/tramp.el (tramp-methods):
	* lisp/recentf.el (recentf-show-file-shortcuts-flag):
	* lisp/textmodes/artist.el (artist-ellipse-right-char)
	(artist-ellipse-left-char, artist-vaporize-fuzziness)
	(artist-spray-chars, artist-mode, artist-replace-string)
	(artist-put-pixel, artist-text-see-thru):
	* lisp/vc/ediff-util.el (ediff-submit-report):
	* lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
	Use double-quotes rather than TeX markup in doc strings.
	* lisp/skeleton.el (skeleton-pair-insert-maybe):
	Reword to avoid the need for grave accent and apostrophe.
	* lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
	Don't use grave and acute accents to quote.

2015-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
	Silence compiler.

2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>

	Try to port new etags tests to MS-Windows
	* 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:
	Adjust to test-case changes below.
	* test/etags/Makefile (CSRC): Remove dostorture.c.
	Whatever it was trying to test, wasn't working portably.
	(LC_ALL): Remove.  Apparently there wasn't an encoding problem,
	just a line-ending problem.
	* test/etags/c-src/dostorture.c: Remove.
	* test/etags/cp-src/c.C: Remove stray CR.
	* test/etags/html-src/algrthms.html: Remove trailing CRs.
	State UTF-8 as the encoding.  The file is ASCII so it doesn't matter,
	but if someone edits it later it should stay UTF-8-compatible.

2015-05-19  Eli Zaretskii  <eliz@gnu.org>

	Fix display of overlapping window-specific overlays
	* src/keyboard.c (adjust_point_for_property): When adjusting point
	due to display strings, ignore overlays that are specific to
	windows other than the currently selected one.
	* src/xdisp.c (handle_single_display_spec): If the display
	property comes from an overlay, arrange for buffer iteration to
	resume only after the end of that overlay.  (Bug#20607)

2015-05-19  Dmitry Gutov  <dgutov@yandex.ru>

	New command icomplete-force-complete-and-exit
	* lisp/icomplete.el (icomplete-force-complete-and-exit):
	New command
	(https://lists.gnu.org/r/emacs-devel/2015-05/msg00461.html)
	(https://lists.gnu.org/r/emacs-devel/2015-05/msg00516.html).
	(icomplete-minibuffer-map): Bind C-j to it.
	(icomplete-forward-completions, icomplete-backward-completions):
	Mention the new command in the docstring.
	* lisp/minibuffer.el (minibuffer-force-complete-and-exit):
	Revert the previous fix for bug#17545.

2015-05-19  Martin Rudalics  <rudalics@gmx.at>

	Fix last commit

	In Elisp manual explain how to override window manager positioning
	(Bug#20552)
	* doc/lispref/frames.texi (Position Parameters): Give example of
	how to override a window manager positioning decision.

	Clarify concept of "surrogate minibuffer frames" (Bug#20538)
	* src/frame.c (Fdelete_frame): In doc-string mention that frame
	can't be deleted if it has a surrogate minibuffer.
	* doc/lispref/frames.texi (Minibuffers and Frames)
	(Deleting Frames): Explain "surrogate minibuffer frames".

	* src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.

2015-05-18  Glenn Morris  <rgm@gnu.org>

	Add option to ignore commit lines matching a pattern in ChangeLog
	* build-aux/gitlog-to-changelog: Add --ignore-line option.
	* build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.

2015-05-18  Paul Eggert  <eggert@cs.ucla.edu>

	Don't skip new etags tests on non-UTF-8 hosts
	Problem reported by Eli Zaretskii for MS-Windows.
	* test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
	(LC_ALL): Set to C if the current locale isn't UTF-8.
	(.PHONY): Remove ediff_1 thru ediff_5.
	(check): Always run.

2015-05-18  Glenn Morris  <rgm@gnu.org>

	* lisp/calculator.el (calculator-funcall):
	* lisp/textmodes/artist.el (artist-spray-random-points):
	Use standard degree/radian conversion utilities.

	Further lisp-complete-symbol related cleanup.
	* lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
	Unadvertise non-functional argument.  Replace obsolete alias.

2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>

	Add a test case for Maven warning output
	* test/automated/compile-tests.el
	(compile-tests--test-regexps-data): Add a case for Maven warning
	output.
	(compile--test-error-line): Check the compilation message type, if
	it's specified in the test data.

2015-05-18  Paul Pogonyshev  <pogonyshev@gmail.com>

	Update Maven compilation-mode entry to distinguish warnings
	* lisp/progmodes/compile.el
	(compilation-error-regexp-alist-alist): Update Maven entry to
	distinguish warnings (bug#20556).

2015-05-18  Przemysław Wojnowski  <esperanto@cumego.com>

	* test/automated/sgml-mode-tests.el: New file.

2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>

	Improve handling of the first Git revision
	* lisp/vc/log-view.el (log-view-toggle-entry-display): When
	there's no next entry, delete until the end of the buffer.
	(log-view-end-of-defun-1): Stop at eob.
	* lisp/vc/vc-annotate.el
	(vc-annotate-show-diff-revision-at-line-internal): Don't give up
	when previous-revision is nil.
	* lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
	with `--' to avoid ambiguity.
	(vc-git-annotate-extract-revision-at-line): Exclude `^' from the
	returned revision string.
	(vc-git-annotate-time): Expect `^' before the first revision.
	* lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
	REV1 is nil, and REV2 is not.
	* lisp/vc/vc.el: Update the description of the `diff' function.

2015-05-18  Oleh Krehel  <ohwoeowho@gmail.com>

	Allow checkdoc to be called in batch
	* lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
	is non-nil, echo the error with `warn'.
	How it can be used in -batch:
	(with-current-buffer (find-file "checkdoc.el")
	  (checkdoc-current-buffer t))

2015-05-18  Glenn Morris  <rgm@gnu.org>

	* lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.

2015-05-17  Paul Eggert  <eggert@cs.ucla.edu>

	* admin/notes/unicode: New section "binary files".

	Change new etags test to use UTF-8 encoding
	* 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/html-src/index.shtml, test/etags/html-src/software.html:
	* test/etags/html-src/softwarelibero.html:
	Switch to UTF-8 encoding.
	* test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
	Remove Makefile, as it's too incestuous to have the test input
	include the build procedure.
	(UTF8_LOCALE, UTF_ENCODING): New macros.
	(LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
	(check): Skip if not UTF-8.
	(.PHONY): New rule.
	(FRC): Remove, as superseded by .PHONY.  All uses removed.
	(regexfile): Prefer printf to echo when outputting oddball chars.
	(.PRECIOUS): Remove, as these files are not built.

	Rename 'foo-gzipped' to 'foo.gz'
	* test/automated/data/decompress/foo.gz:
	Rename from test/automated/data/decompress/foo-gzipped,
	to make it easier for other tools to tell that it's compressed.
	* test/automated/zlib-tests.el (zlib--decompress):
	Adjust to renamed file.

2015-05-17  Dmitry Gutov  <dgutov@yandex.ru>

	Set up default-directory
	* lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
	binding for `v'.
	(vc-annotate-show-changeset-diff-revision-at-line): Set up an
	appropriate value for default-directory.

2015-05-17  Samer Masterson  <samer@samertm.com>

	* lisp/eshell/em-term.el (eshell-term-sentinel):
	No-op by default, only kills term buffer if
	`eshell-destroy-buffer-when-process-dies' is non-nil.  (Bug#18108)
	(eshell-destroy-buffer-when-process-dies): New custom to preserve
	previous behavior.

	eshell: Introduce new buffer syntax
	The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
	buffer-name>'.  Remove `eshell-buffer-shorthand', as it is no longer
	needed (Bug#19391).
	* lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
	(eshell-get-target): Remove shorthand-specific code.
	* lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
	'#<buffer-name>'.

2015-04-26  Jan D  <jan.h.d@swipnet.se>

	Add PBM support for cairo
	* src/image.c (xcolor_to_argb32): New function.
	(get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
	(pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
	XImagePtr if ! USE_CAIRO.
	(pbm_load): Add cairo support.

2015-04-12  Jan D  <jan.h.d@swipnet.se>

	* src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
	(x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
	(x_free_frame_resources): Rename x_prepare_for_xlibdraw to
	x_free_cr_resources.

	Handle specified bg in images.  Use generic libpng code for PNGs.
	* src/image.c (get_spec_bg_or_alpha_as_argb)
	(create_cairo_image_surface): New functions when USE_CAIRO.
	(xpm_load): Call the above functions.  Handle XPM without mask
	when USE_CAIRO.
	(png_load_body): Handle USE_CAIRO case.
	(png_load): Remove USE_CAIRO specific function, modify png_load_body
	instead.
	(jpeg_load_body): Call create_cairo_image_surface.
	(gif_load, svg_load_image): Handle specified background, call
	create_cairo_image_surface.
	* src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.

2015-04-11  Jan D  <jan.h.d@swipnet.se>

	Support GIF and TIFF with cairo
	* configure.ac: Allow jpeg with cairo.
	Allow tiff and gif with cairo.
	* src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
	(tiff_load): Create cairo image surface if USE_CAIRO.
	(gif_load): Ditto.

	Support JPEG with USE_CAIRO
	* configure.ac: Allow jpeg with cairo.
	* src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.

2015-04-05  Jan D  <jan.h.d@swipnet.se>

	Support RSVG and cairo
	* configure.ac: Allow rsvg with cairo.  Move back HAVE_RSVG.
	* src/dispextern.h (struct image): Add cr_data2 if cairo.
	* src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
	(x_clear_image): Free cr_data and cr_data2 if set.
	(xpm_load): Assign data to cr_data2.
	(svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.

2015-04-03  Jan D  <jan.h.d@swipnet.se>

	Introduce limited Xpm support (32 bit ZPixmap) for Cairo
	* configure.ac (HAVE_RSVG): Move after cairo.
	(USE_CAIRO): Disable rsvg, don't disable Xpm.
	* src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
	(x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
	don't return early.
	(ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
	(xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
	and create a surface.

	Tool tips for menus did not show any text.
	* src/xterm.c (x_update_begin): Don't create any surface for non-visible
	tip frames, the geometry may be wrong.

	Add CAIRO_CFLAGS to lwlib/Makefile.in
	* Makefile.in (CAIRO_CFLAGS): Add.

2015-02-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.

2015-02-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Draw outermost line using black relief and erase corners also for cairo.
	* src/xterm.c [USE_CAIRO]: Include math.h.
	(enum corners) [USE_CAIRO]: New enum.
	(x_erase_corners_for_relief) [USE_CAIRO]: New function.
	(x_draw_relief_rect) [USE_CAIRO]: Use it.  If box width is larger
	than 1, draw the outermost line using the black relief.

	* src/xterm.c (x_fill_trapezoid_for_relief):
	Remove unnecessary cairo_close_path.

2015-02-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.

	* src/xterm.c (x_draw_stretch_glyph_string):
	Call x_reset_clip_rectangles instead of XSetClipMask.

	Use int instead of unsigned int for width and height args.
	* src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
	(x_fill_trapezoid_for_relief): Use int instead of unsigned int for
	width and height args.

	Modernize k&r cairo-related function declarations.
	* src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
	(xg_print_frames_dialog): Modernize k&r declarations.
	* src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
	(Fx_print_frames_dialog): Modernize k&r declarations.
	* src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
	(x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
	(x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
	(x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
	(x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
	(x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
	(x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
	(x_clear_area): Modernize k&r declarations.

	Implement wave-style variant of underlining for cairo.
	* src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
	(x_draw_underwave) [USE_CAIRO]: Use it.

	* src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
	instead of XFillRectangle.

2015-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Fix fringe bitmap initialization for cairo
	* src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
	data for cairo image surface.
	* src/xterm.c (x_cr_define_fringe_bitmap):
	Call cairo_surface_mark_dirty.

2015-02-11  Jan D  <jan.h.d@swipnet.se>

	Add cairo drawing
	* configure.ac (with-cairo): New option.
	(USE_CAIRO): Default to yes for Gtk+ 3.  Add code to test for cairo,
	set CAIRO_CFLAGS, CAIRO_LIBS.  Add ftcrfonto to FONT_OBJ if cairo.
	Output "Does Emacs use cairo?".
	* lisp/version.el (emacs-version): Add cairo version.
	* src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
	(FONT_OBJ): Add comment about ftcrfont.
	(ALL_CFLAGS): Add CAIRO_CFLAGS.
	(LIBES): Add CAIRO_LIBS.
	* src/dispextern.h (struct image): Add cr_data for cairo.
	(x_cr_init_fringe): Declare.
	* src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
	* src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
	* src/fringe.c (x_cr_init_fringe): New function name that shares code
	with w32_init_fringe.
	* src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
	* src/ftfont.c (ftfont_info_size); New global variable.
	(ftfont_open2): New extern function almost the same as old ftfont_open,
	but takes the font_object as argument.
	(ftfont_open): Build font object and call ftfont_open2.
	* src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
	* src/gtkutil.c (xg_clear_under_internal_border)
	(xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
	Only queue_draw if not cairo.  Change args to x_clear_area.
	(xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
	(xg_page_setup_dialog, xg_get_page_setup, draw_page)
	(xg_print_frames_dialog): New functions for printing.
	* src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
	(xg_print_frames_dialog): Declare.
	* src/image.c: Add defined (USE_CAIRO) for PNG.
	Add !defined USE_CAIRO for W32 PNG code.
	(x_clear_image): If cairo, destroy the surface in cr_data.
	(png_load): Add new cairo compatible implementation.
	(lookup_image_type): Add defined (USE_CAIRO) for define png_type.
	* src/xfns.c: New section Printing.
	(x-export-frames, x-page-setup-dialog, x-get-page-setup)
	(x-print-frames-dialog): New printing functions.
	(Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
	(syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
	Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
	(syms_of_xfns): Provide cairo and defvar cairo-version-string.
	defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
	* src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
	(x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
	(x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
	(x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
	Declare.
	(FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
	(max_fringe_bmp, fringe_bmp): New variables.
	(x_gc_get_ext_data, x_extension_initialize)
	(x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
	(x_set_cr_source_with_gc_foreground)
	(x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
	(x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
	(x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
	(x_prepare_for_xlibdraw, x_set_clip_rectangles)
	(x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
	(x_clear_window, x_fill_trapezoid_for_relief): New functions.
	(x_update_begin): Create cairo surface if needed.
	(x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
	(x_update_end): Paint cairo drawing surface to xlib surface.
	(x_clear_under_internal_border, x_after_update_window_line): Adjust
	arguments to x_clear_area.
	(x_draw_fringe_bitmap): Call x_fill_rectangle.  Get GC values and
	call x_cr_draw_image for cairo.  Call x_reset_clip_rectangles instead
	of XSetClipMask.
	(x_set_glyph_string_clipping)
	(x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
	instead of XSetClipRectangles.
	(x_clear_glyph_string_rect, x_draw_glyph_string_background):
	Use x_fill_rectangle instead of XFillRectangle.
	(x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground)
	(x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
	instead of XDrawRectangle.
	(x_draw_relief_rect): Add code for USE_CAIRO.
	Call x_reset_clip_rectangles instead of XSetClipMask.
	(x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
	x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
	instead of XSetClipMask.
	(x_draw_image_foreground, x_draw_image_foreground_1):
	x_draw_rectangle instead of XDrawRectangle.
	(x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
	XFillRectangle.
	(x_draw_image_glyph_string): If img has cr_data, use it as
	a cairo surface.
	(x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
	XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
	(x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
	x_reset_clip_rectangles instead of XSetClipMask.
	(x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
	(x_clear_area1): New function that calls XClearArea.
	(x_clear_area): Takes frame as parameter, calls x_clear_area1 for
	non-cairo.
	(x_clear_frame): x_clear_window instead of XClearWindow.
	(x_scroll_run): Set frame garbaged if cairo.
	(XTmouse_position): Initialize *part to 0.
	(x_scroll_bar_create): Adjust arguments to x_clear_area.
	(x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
	x_fill_rectangle instead of XFillRectangle.
	(XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
	arguments to x_clear_area.
	(x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
	(handle_one_xevent): Adjust arguments to x_clear_area.
	Destroy cairo surface for frame if ConfigureNotify.
	(x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
	(x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
	x_reset_clip_rectangles instead of XSetClipMask.
	(x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
	x_reset_clip_rectangles instead of XSetClipMask.
	(x_clear_frame_area): Adjust arguments to x_clear_area.
	(x_free_frame_resources): Call x_prepare_for_xlibdraw.
	(x_term_init): Call x_extension_initialize if cairo.
	(x_redisplay_interface): Add x_cr_define_fringe_bitmap,
	x_cr_destroy_fringe_bitmap for cairo.
	(x_initialize): Call x_cr_init_fringe for cairo.
	* src/xterm.h: Add include of cairo header files.
	(x_bitmap_record): Add img if cairo.
	(x_gc_ext_data): New struct for cairo.
	(x_display_info): Add ext_codes for cairo.
	(x_output): Add cr_context and cr_surface for cairo.
	(x_clear_area): Change arguments from Display*/Window to frame pointer.
	(x_query_color, x_begin_cr_clip, x_end_cr_clip)
	(x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
	(x_cr_draw_frame, x_cr_export_frames): Declare.

2015-05-17  Johan Bockgård  <bojohan@gnu.org>

	Fix integer-valued `mouse-highlight' (Bug#20590)
	* src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.

2015-05-17  Eli Zaretskii  <eliz@gnu.org>

	MS-Windows followup for ASCIIfication of curved quotes
	* lisp/term/w32console.el (terminal-init-w32console): Repeat the
	test for curved quotes being displayable, after switching the
	terminal encoding.  (Bug#20545)

2015-05-17  Jan D  <jan.h.d@swipnet.se>

	Add comment that x_shift_glyphs_for_insert is never called
	* src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
	Add comment that this function is never called.

2015-05-16  Glenn Morris  <rgm@gnu.org>

	* src/lisp.mk: Remove from repository and generate at build-time.
	* src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
	(shortlisp_filter): New variable.
	(emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
	(distclean): Remove lisp.mk.
	* Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
	* lisp/loadup.el: Tweak layout to make it easier to parse.
	* make-dist: Do not distribute src/lisp.mk.

2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>

	Display shorter dates in Git annotate output
	* lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
	format (when not overridden with vc-git-annotate-switches).
	(vc-git-annotate-time): Support the short format, as well as ISO
	8601 that has been used until now (bug#5428).

2015-05-16  Paul Eggert  <eggert@cs.ucla.edu>

	ASCIIfy curved quotes on displays lacking them
	* lisp/international/mule-cmds.el (set-locale-environment):
	If curved quotes don't work, display straight ASCII approximations
	(Bug#20545).

2015-05-16  Glenn Morris  <rgm@gnu.org>

	Small src/Makefile simplification
	* src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
	* src/Makefile.in (lisp): Derive from shortlisp.
	($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.

2015-05-16  Eli Zaretskii  <eliz@gnu.org>

	* lisp/help-mode.el (help-go-forward): Doc fix.
	(Bug#20577)

	* doc/lispref/debugging.texi (Profiling): Improve indexing.
	(Bug#20576)

2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
	have one fewer `not'.

	* lisp/vc/vc-git.el (vc-git-diff-switches)
	(vc-git-annotate-switches, vc-git-resolve-conflicts)
	(vc-git-program, vc-git-root-log-format): Remove the redundant
	:group declarations.

2015-05-16  Nicolas Petton  <nicolas@petton.fr>

	Removes the predicate from lisp-complete-symbol (Bug#20456)
	* lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
	and remove it from the docstring.

2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>

	Add new option vc-git-resolve-conflicts
	* lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
	(vc-git-find-file-hook): Add to after-save-hook only when the
	above is non-nil.
	(vc-git-resolve-when-done): Update to honor the new variable.
	(Bug#20292)

2015-05-16  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
	(tabulated-list-init-header): Document new behavior.
	(tabulated-list-print-fake-header): Do nothing if
	`tabulated-list--header-string' is nil.
	(tabulated-list--header-string): Add a docstring.
	* doc/lispref/modes.texi (Tabulated List Mode): Document it.
	* etc/NEWS: Document it.

2015-05-15  Leo Liu  <sdl.web@gmail.com>

	Revert "Fix cps--gensym"
	* lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
	fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.

2015-05-15  Glenn Morris  <rgm@gnu.org>

	Replace AC_SUBST_FILE in configure with include in Makefiles
	* configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
	(oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
	(AUTO_DEPEND): New output variable.
	* lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
	(DEPFLAGS, MKDEPDIR): Set directly via conditional.
	(lwlib_deps_frag): Replace by conditional include.
	* lwlib/autodeps.mk: Remove file.
	* oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
	(DEPFLAGS, MKDEPDIR): Set directly via conditional.
	(oldxmenu_deps_frag): Replace by conditional include.
	* oldXMenu/autodeps.mk: Remove file.
	* src/Makefile.in (AUTO_DEPEND): New, set by configure.
	(DEPFLAGS, MKDEPDIR): Set directly via conditional.
	(lisp_frag): Replace by an include.
	(deps_frag): Replace by conditional include.
	* src/autodeps.mk: Remove file.

	Tweak japanese.el's loading of dependencies
	* lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
	* lisp/language/japanese.el: Use require rather than load.
	* lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
	Provide a feature.
	* admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
	Provide a feature in the generated file.

2015-05-15  Jan D  <jan.h.d@swipnet.se>

	Fix NS warnings
	* src/nsmenu.m (ns_popup_dialog)
	* src/nsimage.m (initFromXBM:width:height:fg:bg:)
	* src/nsfns.m (Fx_create_frame): Remove unused variables.
	(Fns_read_file_name): Initialize fname, remove ret.
	* src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
	(ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
	Remove unused variable.
	(init): Add parantesis in if.
	(ns_create_terminal): Assign set_horizontal_scroll_bar_hook.

2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>

	Fix a enum conversion warning in macfont.m
	* src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
	(MAC_CHARACTER_COLLECTION_*): Use the NS variants.

2015-05-15  Eli Zaretskii  <eliz@gnu.org>

	* lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
	Support Aspell dictionaries with names like "de-alt".  (Bug#20581)

2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>

	* lisp/cus-start.el: Add ns-confirm-quit.

	Fix warnings on OSX 10.10
	* src/nsfns.m (MODAL_OK_RESPONSE): New define for different
	OSX versions.
	(Fns_read_file_name): Check against MODAL_OK_RESPONSE.
	(compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
	* src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
	* src/nsimage.m (allocInitFromFile, setPixmapData): Only call
	setScalesWhenResized for OSX < 10.6.
	* src/nsterm.h (EmacsScroller): Declare scrollerWidth.
	* src/nsterm.m (ns_copy_bits): New function that does not use
	deprecated NSCopyBits.
	(ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
	(runAlertPanel): New function.
	(applicationShouldTerminate:): Call runAlertPanel.
	(initFrameFromEmacs, toggleFullScreen:): Only call
	useOptimizedDrawing for OSX < 10.10.
	(initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
	(windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
	(draggingEntered:): Returns NSDragOperation.
	(scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.

2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Don't ensure-init during startup.
	(package--init-file-ensured): New variable.
	(package-initialize, package--ensure-init-file): Use it.

2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>

	Honor :fore/background for XBM on NS (Bug#14969)
	* src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
	initFromXBM takes bg, fg args, remove flip arg.
	(ns_image_from_XBM): Add bg, fg args.
	* src/image.c (x_create_bitmap_from_data)
	(Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
	* src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
	initFromXBM.  Remove flip arg.
	(initFromSkipXBM): Move code to initFromXBM.
	(initFromXBM): Actually set fg and bg, instead of playing alpha games.
	Use fg, bg from args (Bug#14969).  Remove if (length) section, was
	always false.
	Remove bit flipping (bitPat, swt), generated incorrect images when
	width/height wasn't a multiple of 8.
	(setXBMColor:): Modify planes by comparing to saved xbm_fg.
	* src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
	remove flip arg.

2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Be more careful with the init file.
	(package--ensure-init-file): Check that user-init-file is set,
	exists, is readable, and is writable.  (Bug#20584)
	Also expand the docstring.

2015-05-14  Wilson Snyder  <wsnyder@wsnyder.org>

	Sync with upstream verilog-mode revision 6232468
	* lisp/progmodes/verilog-mode.el
	(verilog-font-lock-grouping-keywords-face)
	(verilog-highlight-grouping-keywords): Fix use of face when
	`verilog-highlight-grouping-keywords' set.  Reported by Jeff Pompa.
	(verilog-auto-reset): Fix AUTORESET to ignore member resets if
	parent is reset, bug906.  Reported by Ken Schmidt.
	(verilog-auto-inout-module): Add fourth regexp argument to
	AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
	Reported by John Tillema.
	(verilog-auto-inst-port): Fix AUTOINST interfaces to not show
	modport if signal attachment is itself a modport.  Reported by
	Matthew Lovell.
	(verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
	always_comb and always_latch, bug844.  Reported by Greg Hilton.
	(verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
	with many curly-bracket pairs, bug663.
	(verilog-set-auto-endcomments): Fix end comments for functions of
	type void, etc.  Reported by Alex Reed.
	(verilog-do-indent): Fix electric tab deleting form-feeds.  Note
	caused by indent-line-to deleting tabls pre 24.5.
	(verilog-nameable-item-re): Fix nameable items that can have an
	end-identifier to include endchecker, endgroup, endprogram,
	endproperty, and endsequence.  Reported by Alex Reed.
	(verilog-label-be): When auto-commenting a buffer, consider
	auto-comments on all known keywords (not just a subset thereof).
	Reported by Alex Reed.
	(verilog-auto-end-comment-lines-re)
	(verilog-end-block-ordered-re, verilog-set-auto-endcomments):
	Automatically comment property/endproperty blocks to match other
	similar blocks like sequence/endsequence, function/endfunction, etc.
	Reported by Alex Reed.
	(verilog-set-auto-endcomments): Detect the function- or task-name
	when auto-commenting blocks that lack an explicit portlist.
	Reported by Alex Reed.
	(verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
	allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
	(verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
	is nil, fix indenting initial/final to match always statements,
	bug825.  Reported by Tim Clapp.
	(verilog-extended-complete-re): Fix indentation of DPI-C imports
	with c_identifiers, and DPI-C imports, bug557.  Reported by ZeDong
	Mao and Jason Forkey.
	(verilog-read-decls): Fix parsing typed interfaces.  Fix
	AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
	Fix localparam not being ignored in AUTOINSTPARAM,
	bug889.  Reported by Shannon Hill.
	(verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
	bug793.  Reported by Pierre-David Pfister.
	(verilog-auto-arg-format, verilog-auto-arg-ports):
	Add verilog-auto-arg-format to support newlines in AUTOARG.
	Reported by Jie Xiao.
	(verilog-batch-execute-func): Do not batch re-auto files loaded by
	Local Variables.  Fix printing "no changes to be saved" with
	verilog-batch.  Reported by Dan Dever.
	(verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
	interface-only modules, bug721.  Reported by Dean Hoyt.
	Author: Alex Reed <acreed4@gmail.com>
	* lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
	Don't treat '<keyword>:<identifier>' as the start of a labeled
	statement, bug905.  Reported by Enzo Chi.
	(verilog-directive-re, verilog-compiler-directives)
	(verilog-keywords): Match full set of IEEE 2012-1800 compiler
	directives (plus some extras) when determining indentation, bug
	901.  Reported by Bernd Beuster.
	(verilog-at-constraint-p): Fix indentation of coverpoint bins if
	iff expression doesn't start with word-character, bug900.
	(verilog-optional-signed-range-re, verilog-optional-signed-re):
	Fix incorrect indentation/alignment of unsigned declarations,
	bug897.
	(verilog-looking-back, verilog-in-attribute-p): Fix labeling of
	always constructs, bug895.
	(verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
	Reported by Eric Mastromarchi.
	(verilog-beg-of-statement): Fix indenting for some forms of
	constraintsm bug433.  Reported by Brad Parker.  Fix indentation of
	continued assignment incorrect if first line ends with ']', bug437.
	Reported by Dan Dever.  Fix indentation of cover inside an
	ifdef, bug 862.  Reported by Bernd Beuster.  Fix labeling do-while
	blocks, bug842.
	(verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
	Reported by Kaushal Modi.
	(verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
	(verilog-backward-token): Fix indenting sensitivity lists with
	named events, bug840.  Reed.
	(verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
	nil not honoring 'forever', 'foreach', and 'do' keywords.

2015-05-14  Paul Eggert  <eggert@cs.ucla.edu>

	Check for invalid GTK+ monitor scales
	* src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
	INT_MAX for too-large scales.  All callers changed to assume the
	result is valid (Bug#20432).
	(xg_frame_set_char_size, xg_update_scrollbar_pos):
	Calculate scale only if needed.
	Show ASCII approximations instead.

2015-05-14  Eli Zaretskii  <eliz@gnu.org>

	Fix daemon crashes when linum-mode is turned on early on
	* src/window.c (Fwindow_end): Don't try calling display engine
	functions on initial-frame frame.  (Bug#20565)

	Fix selective diff browsing in Ediff
	* lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
	Go to the beginning of the region before searching for the
	ediff-regexp-focus-* regexps.  (Bug#20568)

2015-05-14  Jan D  <jan.h.d@swipnet.se>

	Fixes bug#20142
	* src/gtkutil.c (delete_cb): Don't send delete event here, it does
	arrive in the main loop, even for Gtk 3 (Bug#20142).

	Don't access display after i/o error (Bug#19147).
	* src/xterm.c (x_connection_closed): Add third arg ioerror.
	If ioerror, set display to 0 (Bug#19147).
	(x_error_quitter): Call x_connection_closed with third arg false.
	(x_io_error_quitter): Call x_connection_closed with third arg true.

	Handle GTK_SCALE, fixes Bug#20432.
	* src/gtkutil.c (xg_get_gdk_scale): New function.
	(xg_frame_set_char_size)
	(x_wm_set_size_hint, xg_get_default_scrollbar_width)
	(xg_get_default_scrollbar_height)
	(xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
	when setting sizes (Bug#20432).

2015-05-13  Leo Liu  <sdl.web@gmail.com>

	* lisp/emacs-lisp/generator.el (cps--gensym): Fix.

2015-05-13  Glenn Morris  <rgm@gnu.org>

	Fix bootstrap (void function cl-member).
	* lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
	* lisp/emacs-lisp/cl-seq.el: Provide a feature.

2015-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
	* src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
	* lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
	Avoid defalias for closures which are not immutable.
	(cl--generic-prefill-dispatchers): New macro.  Use it to prefill
	the dispatchers table with various entries.
	* lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
	* lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.

2015-05-13  Eli Zaretskii  <eliz@gnu.org>

	Improve tagging of C bindings in DEFVAR_*
	* src/Makefile.in (TAGS): Add --regex options to tag the C binding
	from DEFVAR_*.

2015-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	* src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).

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

	* lisp/progmodes/tcl.el (tcl-filter):
	Handle comint-prompt-read-only like gud.el does.  (Bug#20549)

	Add basic VC push support
	* lisp/vc/vc.el (vc-push): New autoloaded command.
	* lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
	* lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
	(vc-bzr-pull): Reimplement using vc-bzr--pushpull.
	(vc-bzr-push): New.
	* lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
	(vc-git-pull): Reimplement using vc-git--pushpull.
	(vc-git-push): New.
	* lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
	(vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
	* doc/emacs/maintaining.texi (Pulling / Pushing):
	Rename from "VC Pull".  Mention pushing.
	(VC With A Merging VCS, VC Change Log): Update xrefs.
	(Branches): Update menu.
	* doc/emacs/emacs.texi: Update menu.
	* etc/NEWS: Mention this.

2015-05-12  Nicolas Petton  <nicolas@petton.fr>

	Improve the seq pcase pattern and the `seq-let' macro
	* lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
	object is a sequence, and binds each element of ARGS to the
	corresponding element of the sequence.

2015-05-12  Eli Zaretskii  <eliz@gnu.org>

	Fix tags created from DEFVAR_* declarations in C
	* src/Makefile.in (TAGS): Improve the --regex argument to etags,
	to make tags extracted from DEFVAR_* declarations more accurate.

	Add a test suite for etags
	* test/etags/: New test suite, adapted from
	http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
	whose original author is Francesco Potortì <pot@gnu.org>.

	Fix tagging of symbols in C enumerations
	* lib-src/etags.c (consider_token): Don't tag symbols in
	expressions that assign values to enum constants.  See
	https://lists.gnu.org/r/emacs-devel/2015-05/msg00291.html
	for details.
	(C_entries): Reset fvdef to fvnone after processing a preprocessor
	conditional and after a comma outside of parentheses.

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

	* lisp/url/url-handlers.el (url-file-name-completion)
	(url-file-name-all-completions): Silence compiler.

	* lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.

	* lisp/play/dunnet.el (dun-dos-boot-msg): Fix time.  (Bug#20554)

2015-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
	(cl--generic-mandatory-args): Remove.
	(cl--generic-split-args): New function.
	(cl-generic-define, cl--generic-lambda): Use it.
	(cl-generic-define-method): Use it as well, and add support for
	context args.
	(cl--generic-get-dispatcher): Handle &context dispatch.
	(cl--generic-cache-miss): `dispatch-arg' can now be a
	context expression.
	(cl--generic-dispatchers): Pre-fill.
	* test/automated/cl-generic-tests.el (sm-generic-test-12-context):
	New test.

2015-05-11  Glenn Morris  <rgm@gnu.org>

	* make-dist: Abort if "make ChangeLog" fails.  Add "--no-changelog".

2015-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/term/xterm.el: Fix xterm-paste handling for rxvt
	* lisp/term/rxvt.el: Require term/xterm.
	(rxvt-function-map): Use xterm-rxvt-function-map.
	(rxvt-standard-colors): Move before first use.
	(terminal-init-rxvt): Use xterm--push-map and
	xterm-register-default-colors.
	(rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
	* lisp/term/xterm.el (xterm-rxvt-function-map): New var.
	Move shared bindings between rxvt and xterm to it.
	(xterm-function-map): Use it.  Move the xterm-paste binding to
	xterm-rxvt-function-map (bug#20444).
	(xterm-standard-colors): Move before first use.
	(xterm--push-map): New function.
	(xterm-register-default-colors): Take standard colors as argument.
	(terminal-init-xterm): Use it.  Adjust call to
	xterm-register-default-colors.

2015-05-11  Glenn Morris  <rgm@gnu.org>

	* lisp/term/x-win.el: Quieten --without-x compilation.
	(x-own-selection-internal, x-disown-selection-internal)
	(x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
	Declare.

	* Makefile.in (emacslog): Remove srcdir.
	(ChangeLog): Update for the above.

2015-05-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: better limit for looking-back calls
	* lisp/progmodes/python.el (python-shell-accept-process-output):
	Use last comint prompt start as limit for looking-back.

2015-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	CEDET (srecode-insert-fcn): Fix use of oref on a class
	* lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
	on a class.  Reported by Pierre Lorenzon.
	(srecode-template-inserter-point): Remove declaration.

	CEDET (srecode-create-dictionary): Avoid obsolete object name
	* lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
	Don't use a symbol as an object name.  Reported by Pierre Lorenzon.

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

	C-x 8 shorthands for curved quotes, Euro, etc.
	Although C-x 8 lets you insert arbitrary Unicode characters,
	it's awkward to use this to insert commonly used symbols such as curved
	quotes, the Euro symbol, etc.  This patch adds simpler sequences for
	characters commonly found in English text and in basic math.
	For example, assuming the Alt key works on your keyboard and iso-transl
	is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
	to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
	(Bug#20499)
	* doc/emacs/mule.texi (Unibyte Mode):
	A few other printing characters now work too.
	* etc/NEWS: Document this.
	* lisp/international/iso-transl.el (iso-transl-char-map):
	Also support the following characters:
	‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥

2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>

	Add xref-find-regexp
	* lisp/progmodes/xref.el (xref-find-function): Describe the
	`matches' action.
	(xref-find-regexp): New command, using it.
	(xref-collect-references): Rename to xref-collect-matches.
	(xref--collect-reference): Rename to xref--collect-match.
	(xref-collect-matches, xref--collect-match): Accept new argument,
	KIND.  Update accordingly.
	(xref--regexp-to-extended): New function.
	* lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
	`matches' action.
	(elisp--xref-find-matches): Accept new argument.  Resolve a FIXME.
	* lisp/progmodes/etags.el (etags-xref-find):
	Support the `matches' action.
	(etags--xref-find-matches): New function.

2015-05-10  Glenn Morris  <rgm@gnu.org>

	* Makefile.in: Fixes for recent change-history changes.
	(change-history-nocommit): Update footer regexp.
	Ensure output script stays executable.

2015-05-10  Nicolas Petton  <nicolas@petton.fr>

	New version of `seq-let' based on a pcase pattern
	* lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
	pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).

2015-05-10  Przemysław Wojnowski  <esperanto@cumego.com>

	Add basic HTML5 tags and a template
	* lisp/textmodes/sgml-mode.el: Basic HTML5 support.
	(html-tag-alist): Add HTML5 tags.
	(html-tag-help): Add new tags descriptions.
	(html-navigational-links): Template for nav links.
	(html-html5-template): Template for a HTML5 page.

2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>

	semantic/symref/grep: Don't use word boundaries
	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-perform-search): Instead of wrapping input in
	word boundaries, check that the characters before and after are
	not word constituents.

	semantic/symref/grep: Support regexp search
	* lisp/cedet/semantic/symref.el
	(semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
	the search type is regexp.
	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-perform-search): Support the regexp search type.
	Pass -E to Grep when it's used.

	semantic-symref-regexp: Allow to input an arbitrary string
	* lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
	Allow to input an arbitrary string interactively.

	Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
	* lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
	Remove tag-symbol-match-p from the default value
	(https://lists.gnu.org/r/emacs-devel/2015-05/msg00292.html).

	Declare find-tag obsolete
	* lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
	xref-find-definitions.

2015-05-10  Jan D  <jan.h.d@swipnet.se>

	Draw composite string correctly (Bug#20537)
	* src/nsterm.m (ns_draw_composite_glyph_string_foreground):
	New function.
	(ns_draw_glyph_string): Call it.

2015-05-09  Eli Zaretskii  <eliz@gnu.org>

	Avoid infloop in ERC
	* lisp/simple.el (line-move-to-column): Ignore field boundaries
	while computing line beginning position.  (Bug#20498)

2015-05-08  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
	* build-aux/gitlog-to-emacslog: Check called from right directory.
	(srcprefix): Remove.

	* build-aux/gitlog-to-emacslog: Get rid of "distprefix".
	* Makefile.in (ChangeLog): No longer pass "distprefix".
	* make-dist: Update "make ChangeLog" syntax for the above change.

	* build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
	* Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.

	* build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.

	Add command-line option-parsing to gitlog-to-emacslog
	* build-aux/gitlog-to-emacslog: Add command-line options.
	By default, refuse to remove an existing output file.
	* Makefile.in (CHANGELOG): Update default.
	(ChangeLog): Do not test for existing file.
	(change-history-nocommit): Ensure temp file does not exist.

	Quieten --without-x compilation
	* lisp/term/common-win.el: Provide a feature.
	* lisp/term/x-win.el (term/common-win): Require it.

	* lisp/dired-aux.el (dired-do-print): Require lpr.

	Quieten compilation, eg in --without-x builds
	* lisp/dired-aux.el (lpr-printer-switch):
	* lisp/frame.el (tool-bar-height):
	* lisp/linum.el (font-info):
	* lisp/window.el (font-info, overflow-newline-into-fringe)
	(tool-bar-height):
	* lisp/emacs-lisp/package-x.el (tar-data-buffer):
	* lisp/gnus/gnus-util.el (iswitchb-mode):
	* lisp/mail/rmailmm.el (libxml-parse-html-region):
	* lisp/net/nsm.el (gnutls-peer-status)
	(gnutls-peer-status-warning-describe):
	* lisp/net/shr.el (libxml-parse-xml-region):
	* lisp/url/url-http.el (gnutls-peer-status): Declare.

2015-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	CEDET (srecode-pop, srecode-peek): Don't use `subclass'
	* lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
	`subclass' since they're never called with a class.
	(srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
	srecode-dictionary-child-p.

2015-05-08  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* lisp/help.el (help--binding-locus): Document argument POSITION.
	(Bug#20530)

2015-05-08  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib
	* doc/misc/texinfo.tex: Get latest version.

2015-05-08  Oleh Krehel  <ohwoeowho@gmail.com>

	ffap.el (ffap-read-file-or-url): Fix completing-read call
	* lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
	`completing-read' should be a symbol.

2015-05-08  Eli Zaretskii  <eliz@gnu.org>

	Verify file modifications by other programs
	* src/filelock.c (lock_file): Check whether the file was modified
	since it was visited even if 'create-lockfiles' is nil.  (Bug#18828)

	Fix keyboard macros that include function keys
	* src/keyboard.c (read_char_minibuf_menu_prompt): Record function
	keys in the macro before returning.  (Bug#20454)

2015-05-08  Glenn Morris  <rgm@gnu.org>

	* build-aux/gitlog-to-changelog: Treat "Tiny-change" like
	"Copyright-paperwork-exempt".  (Bug#20324)

	* lisp/vc/log-edit.el: Handle "(tiny change)".  (Bug#20324)
	(log-edit-rewrite-tiny-change): New variable.
	(log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
	(log-edit-changelog-ours-p): Set log-edit-author to a cons.
	* etc/NEWS: Mention this.

	* lisp/calc/calc.el (math-zerop): Declare.

	* lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.

2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
	Support the case when BINDINGS is a single tuple.  (Bug#20525)

	* etc/NEWS: Fix typo in previous commit
	(14bb519f1034ddb38ce375cbad7095d9b07f8b26).

2015-05-07  Jan D  <jan.h.d@swipnet.se>

	* configure.ac: Warn for multiple display crash for all Gtk+ versions.
	Output URL to Gtk+ bug (Bug#20452).

	* lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.

2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: New "external" package status.
	An external package is any installed package that's not built-in
	and not from `package-user-dir', which usually means it's from an
	entry in `package-directory-list'.  They are treated much like
	built-in packages, in that they cannot be through the Package Menu
	deleted and are not considered for upgrades.
	(package-desc-status): Identify if a package is installed outside
	`package-user-dir'.
	(package-menu--print-info-simple)
	(package-menu--status-predicate): Add support for it.
	* etc/NEWS: Document it.

2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/mail/rmail.el: Use lexical-binding.
	(rmail-bury): Remove unused var `buffer-to-bury'.
	(rmail-get-new-mail): Remove unused vars `opoint' and `success'.
	(rmail-parse-url): Remove unused var `proto', `user', and `host'.
	(rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
	(rmail-insert-inbox-text): Remove unused var `movemail'.
	(rmail-add-mbox-headers): Remove unused var `limit'.
	(rmail-undelete-previous-message): Remove unused var `value'.
	(rmail-reply): Remove unused vars `resent-to', `resent-cc',
	`resent-reply-to'.
	(rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
	(rmail-restore-desktop-buffer): Rename arguments.

2015-05-06  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (change-history-commit): Add missing piece of previous.

	Avoid unnecessary bumping of Makefile.in's timestamp
	* Makefile.in (gen_origin): Move to gitlog-to-emacslog.
	(emacslog): New variable.
	(ChangeLog): Use $emacslog.  Don't pass $gen_origin.
	(unchanged-history-files): Use $emacslog rather than Makefile.in.
	(change-history-nocommit): Store hash in $emacslog.
	* build-aux/gitlog-to-emacslog (gen_origin): Move default here.
	* admin/update_autogen (changelog_files): Update for the above.

	* Makefile.in: Don't always insist on removing existing "ChangeLog".
	(CHANGELOG): New variable.
	(no-ChangeLog): Remove.
	(ChangeLog): Replace "no-ChangeLog"; pass output file to script.
	(change-history-nocommit): Use a temp file rather than insisting
	on deletion of any existing "ChangeLog".

	* build-aux/gitlog-to-emacslog: Allow specification of output.

	* admin/update_autogen: Add option to update ChangeLog.
	(usage): Mention -H.
	(changelog_flag, changelog_n, changelog_files): New variables.
	(main): Check for -H, and maybe run change-history-nocommit.

2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/subr.el (delete-dups): Pre-size the hashtable.

	* lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
	cl--arglist-args is defined (bug#20517).

2015-05-06  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (change-history-nocommit): New.

2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
	timer when it is non-nil
	(https://lists.gnu.org/r/emacs-devel/2015-05/msg00223.html).

2015-05-06  Glenn Morris  <rgm@gnu.org>

	Quieten CEDET compilation
	* lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
	Invert fboundp test to quieten on current Emacs.
	* lisp/cedet/ede/config.el (ede-shell-run-something)
	(semanticdb-file-table-object, semanticdb-needs-refresh-p)
	(semanticdb-refresh-table): Declare.
	(ede-preprocessor-map): Require semantic/db.

	Quieten cc-mode compilation
	* lisp/progmodes/cc-awk.el (c-forward-sws):
	* lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
	Declare.

2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>

	* lisp/subr.el (delete-dups): Avoid nreverse.

2015-05-06  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/subr.el (delete-dups): Make it destructive again.

2015-05-06  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/lispref/sequences.texi (Sequence Functions): Fix quoting.

2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
	* lisp/emacs-lisp/testcover.el: Use lexical-binding.
	(testcover--read): Rename from testcover-read.  Change calling
	convention.  Use edebug-read-and-maybe-wrap-form now that edebug-read
	is gone.
	(testcover-start): Use add-function.  Move edebug-all-defs binding to
	testcover--read.
	(testcover-this-defun): Tighten scope of edebug-all-defs binding.
	(testcover-mark): Remove unused var `item'.
	* src/lread.c (syms_of_lread): Default load-read-function to `read'.

2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>

	* lisp/subr.el (delete-dups): When there are more than 100 candidates,
	  use a hash table.  This can result in ~500 times speed-up for typical
	  collections of size 5000, like that of `load-library'.

2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	CEDET: Avoid `oref' on classes in a few more cases
	* lisp/cedet/ede/generic.el (ede-find-target):
	* lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
	* lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
	var `prefix'.

	* lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
	(grepflags, greppattern): Declare.
	(semantic-symref-perform-search): Remove unused var `pat'.

	CEDET (srecode-compile-inserter): Avoid `oref' on classes
	* lisp/cedet/srecode/compile.el (srecode-compile-inserter):
	Avoid `oref' on classes (bug#20491).
	(srecode-compile-split-code): Remove unused var `key'.

2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>

	Clean up pulse.el a little
	* lisp/cedet/pulse.el (pulse): Remove.
	(pulse-momentary-timer): Save instead of the stop time.
	(pulse-momentary-highlight-overlay):
	Call pulse-momentary-unhighlight first thing.
	Treat pulse-momentary-overlay as a single value, not a list.
	Save the created timer.  Only pass the stop time to the timer.
	(pulse-tick): Update accordingly.
	(pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
	single value.  Cancel the timer.

2015-05-06  Tassilo Horn  <tsdh@gnu.org>

	* lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
	Support the biblatex journaltitle field.

2015-05-05  Glenn Morris  <rgm@gnu.org>

	Minor declare-function improvement
	* lisp/emacs-lisp/bytecomp.el
	(byte-compile-macroexpand-declare-function):
	Handle declarations after calls.  (Bug#20509)

	* lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.

	* lisp/w32-fns.el (w32-shell-name): Silence compiler.

2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>

	Pulse using a timer
	* lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
	(pulse-momentary-highlight-overlay): Set up the timer instead of
	calling `pulse'
	(https://lists.gnu.org/r/emacs-devel/2015-05/).
	(pulse-tick): New function.
	(pulse-momentary-unhighlight): Cut off the stop time.
	(pulse-delay): Update the docstring WRT to not using sit-for.

	Add semantic/symref/grep file patterns for ruby-mode
	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-filepattern-alist): Add patterns for ruby-mode.
	Clarify the docstring.

	Don't require match
	* lisp/progmodes/xref.el (xref--read-identifier): Don't require
	match.  That doesn't work for every command, and some identifier
	completion tables are bound to be imperfect anyway.

2015-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
	(semantic-grammar--template-expand): New function.
	(semantic-grammar-header, semantic-grammar-footer): Use it.
	(semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
	(semantic-grammar-file-regexp): Refine regexp.
	(semantic-grammar-eldoc-get-macro-docstring):
	Use elisp-get-fnsym-args-string when available.
	(semantic-idle-summary-current-symbol-info): Use new elisp-* names
	instead of the old eldoc-* names.
	* lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
	from elisp-mode.el.  Tweak calling convention.
	* lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
	(elisp-get-fnsym-args-string): Add `prefix' argument.  Rename from
	elisp--get-fnsym-args-string.
	(elisp--highlight-function-argument): Add `prefix' arg.
	(elisp-get-var-docstring): Rename from elisp--get-var-docstring.
	(elisp--docstring-format-sym-doc): Move back to eldoc.el.

2015-05-05  Glenn Morris  <rgm@gnu.org>

	* lisp/help-fns.el (describe-function-1):
	Handle builtins with advertised calling conventions.  (Bug#20479)

2015-05-05  Nicolas Petton  <nicolas@petton.fr>

	Merge branch 'seq-let'

	Update `seq-let' documentation
	* doc/lispref/sequences.texi: Update the documentation of `seq-let'
	with the support of  `&rest'.

	Add support for &rest in `seq-let'
	* lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
	in the argument list.
	* test/automated/seq-tests.el: Add a test for parsing and binding
	`&rest' in `seq-let'.

2015-05-05  Pierre Lorenzon  <devel@pollock-nageoire.net>  (tiny change)

	* lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
	Add missing increment (Bug#20467).
	(eieio-object-value-create): Adjust to new slots representation
	(Bug#20467).
	(eieio-object-value-create): Fix missed adjustment to new
	representation of slots metadata.

2015-05-05  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.

2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>

	Work around "Attempt to modify read-only object"
	* lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
	elisp--xref-find-definitions, to work around "Attempt to modify
	read-only object" error.

	Only skip some variables that have function counterparts
	* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
	Only skip minor-mode-named variable if it's defined in a Lisp
	file, and it's in minor-mode-list (bug#20506).
	* test/automated/elisp-mode-tests.el
	(elisp-xref-finds-both-function-and-variable)
	(elisp-xref-finds-only-function-for-minor-mode): New tests.

2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/xref.el (xref--location-at-point): Revert the
	previous change.
	(xref--insert-xrefs): Buttonize the whole line, including the
	number at the beginning.

	* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
	Make sure we're inside the let bindings.
	* test/automated/elisp-mode-tests.el
	(elisp-completes-functions-after-let-bindings): New test.

2015-05-04  Glenn Morris  <rgm@gnu.org>

	* lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
	(eldoc-docstring-format-sym-doc, eldoc-last-data-store)
	(eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
	Remove outdated declarations.

	Replace instances of "(eval-when-compile (autoload ...))"
	* lisp/gnus/gnus-art.el (nneething-get-file-name):
	Declare rather than autoload.
	* lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
	Remove pointless autoload.
	* lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
	(gnus-topic-create-topic, gnus-topic-enter-dribble):
	Declare rather than autoload.
	* lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
	(mailcap-extension-to-mime): Autoload at run-time.
	* lisp/gnus/mm-util.el (latin-unity-massage-name)
	(latin-unity-maybe-remap, latin-unity-representations-feasible-region)
	(latin-unity-representations-present-region):
	Declare rather than autoload.
	* lisp/gnus/mml-smime.el (epg-make-context)
	(epg-passphrase-callback-function): Autoload at run-time.
	(epg-context-set-signers, epg-context-result-for)
	(epg-new-signature-digest-algorithm)
	(epg-verify-result-to-string, epg-list-keys, epg-verify-string)
	(epg-sign-string, epg-encrypt-string)
	(epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
	(epg-configuration, epg-expand-group, epa-select-keys):
	Declare rather than autoload.
	* lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
	Autoload at run-time.
	(gnus-group-topic-name, nnimap-buffer, nnimap-command)
	(gnus-registry-get-id-key, gnus-registry-action):
	Declare rather than autoload.
	* lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
	* lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
	(spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
	(spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
	(spam-stat-split-fancy): Remove pointless autoloads.
	* lisp/net/mairix.el: Load gnus-util when compiling.
	(gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
	(message-field-value): Declare rather than autoload.
	(mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
	Check gnus-alive-p is fbound.
	(vm-quit, vm-visit-folder, vm-select-folder-buffer)
	(vm-check-for-killed-summary, vm-error-if-folder-empty)
	(vm-get-header-contents, vm-select-marked-or-prefixed-messages):
	Declare rather than autoload.

	* lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.

	* lisp/gnus/mml-smime.el (epg-key-sub-key-list)
	(epg-sub-key-capability, epg-sub-key-validity): Fix declarations.

	* lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.

	* lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.

	* lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
	* lisp/emacs-lisp/package.el (epg-signature-status):
	Fix declarations.

	* lisp/play/gametree.el (gametree-show-children-and-entry)
	(gametree-apply-layout, gametree-mouse-show-subtree)
	(gametree-mouse-hide-subtree): Replace obsolete outline aliases.

	* lisp/emacs-lisp/check-declare.el (check-declare-verify):
	Handle cl-defgeneric, cl-defmethod.

2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
	Highlight both type and symbol name.

	Insert, highlight and align line numbers in xref output
	* lisp/progmodes/etags.el (xref-location-line): Specialize for
	xref-etags-location.
	* lisp/progmodes/xref.el (xref-location-line): New generic method.
	(xref-file-location): Add reader for the line slot.
	(xref--location-at-point): Skip to the `xref-location' property.
	(xref--collect-reference): Drop the line number from description.
	(xref--insert-xrefs): Insert, highlight and align line numbers.

2015-05-04  Daniel Colascione  <dancol@dancol.org>

	* lisp/simple.el (save-mark-and-excursion--save)
	(save-mark-and-excursion--restore): Fix previous commit
	(255a011f0ecf004b31c59945b10154b10fac3af1).

2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	Don't pulse the indentation, or the newline
	* lisp/cedet/pulse.el (pulse-lighten-highlight)
	(pulse-reset-face): Fall back to the inherited background
	attribute in FACE.
	(pulse-momentary-highlight-region): Add autoload cookie.
	* lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
	indentation, or the newline, if the line's non-empty
	(https://lists.gnu.org/r/emacs-devel/2015-05/msg00118.html).

2015-05-04  Daniel Colascione  <dancol@dancol.org>

	Add `save-mark-and-excursion', which has the old
	`save-excursion' behavior
	* doc/lispref/positions.texi (Excursions):
	Document `save-mark-and-excursion'.
	* lisp/font-lock.el (font-lock-fontify-block):
	Use `save-mark-and-excursion' instead of `save-excursion',
	restoring Emacs 24 behavior.
	* lisp/simple.el (save-mark-and-excursion--save)
	(save-mark-and-excursion--restore): New functions.
	(save-mark-and-excursion): New user macro.
	* src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
	in `save-excursion' documentation.

2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
	Classify lone symbol inside let varlist as variable.
	* test/automated/elisp-mode-tests.el
	(completest-variables-in-let-bindings): New test.

	Add xref-pulse-on-jump
	* lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
	Add autoload cookie.
	* lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
	(xref--maybe-pulse): New function.
	(xref-pop-marker-stack, xref--pop-to-location)
	(xref--display-position): Use it.
	(xref--location-at-point): Use back-to-indentation.

2015-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	lisp/org/org-{macs,list}.el: Fix lexical warnings
	* lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
	(org-list-get-next-item, org-list-get-prev-item)
	(org-list-get-children): Mark unused arg `struct'.
	(org-list-use-alpha-bul-p): Remove unused var `bul'.
	(org-toggle-checkbox): Mark unused var.
	(org-update-checkbox-count): Remove unused var `box-num'.
	(org-adapt-indentation): Declare.
	(org-list-parse-list): Declare var instead of adding a dummy duplicate.
	(org-list-send-list): Remove unused var `txt'.
	(org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
	(org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
	* lisp/org/org-macs.el: Use `declare'.
	(org-with-limited-levels): Declare dyn-bound vars.

2015-05-04  Eli Zaretskii  <eliz@gnu.org>

	Fix minor issues with CEDET on MS-Windows
	* lisp/cedet/semantic/symref/idutils.el
	(semantic-symref-parse-tool-output-one-line): Fix the search
	regexp to match MS-Windows file names with drive letters.
	(Bug#19468)
	* lisp/cedet/semantic/symref/grep.el
	(semantic-symref-grep-use-template): Remove "--color=always" from
	Grep switches on MS-Windows.
	(semantic-symref-grep-shell): Use shell-file-name as the default
	value, so this works not only on Posix platforms.
	(semantic-symref-perform-search): Use shell-quote-argument instead
	of literal '..' for portable quoting of Grep command-line
	argument.  Use shell-command-switch instead of a literal "-c".
	* lisp/cedet/semantic/bovine/gcc.el
	(semantic-gcc-get-include-paths): Use file-name-absolute-p to test
	for an absolute file name in a portable way.

2015-05-04  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Remove `package--silence' variable.
	(package-import-keyring, package-refresh-contents)
	(package-compute-transaction, package--save-selected-packages)
	(package-install-from-archive, package-delete)
	(package-menu--perform-transaction): Use `inhibit-message' instead.
	(package--compile): Set `warning-minimum-level' to :error.

2015-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
	(terminal-init-screen): Use it (bug#20356).
	* lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
	(xterm--extra-capabilities-type): New const.
	(xterm-extra-capabilities): Use it.
	(xterm--version-handler): Lower the pseudo-version for `screen'.

2015-05-03  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
	Always insert a newline at the end (to avoid mouse-face background
	tail at the last line).

	elisp-completion-at-point: Prioritize being quoted over funpos
	* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
	Only consider function position when not inside quoted form
	(bug#20425).
	* test/automated/elisp-mode-tests.el: New file.

	Stop vc-print-log from jumping to the top
	* lisp/vc/vc.el (vc-print-log-internal): Pass nil
	GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
	is not specified.
	(vc-incoming-outgoing-internal): Always pass nil.
	(vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
	call it, and don't set vc-sentinel-movepoint (bug#15322).
	(vc-print-root-log): Don't fetch the root working revision, nor
	pass it to vc-print-log-internal.

2015-05-02  Michael Vehrs  <Michael.Burschik@gmx.de>

	Fix display of keyboard layouts for right-to-left scripts
	* lisp/international/quail.el (quail-insert-kbd-layout):
	Force left-to-right paragraph direction.

2015-05-02  K. Handa  <handa@gnu.org>

	* src/cmds.c (internal_self_insert): When we insert spaces for
	padding, set point before the padding spaces, not after them.

2015-05-02  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.

2015-05-02  Dmitry Gutov  <dgutov@yandex.ru>

	Fix etags-xref-find for references
	* lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
	Use `cl-mapcan'.
	* lisp/progmodes/etags.el (etags-xref-find): Ditto.  Prompt for
	directory if no tags tables are loaded (bug#19468).

2015-05-02  Philipp Stephani  <phst@google.com>

	Update the options in whitespace-style defcustom
	* lisp/whitespace.el (whitespace-style): Use `set' instead of a
	`repeat' because the option is really set-like.  Add missing
	options.  Reorder options to match the order in the
	documentation.  (Bug#20346)

2015-05-02  Eli Zaretskii  <eliz@gnu.org>

	Fix error diagnostics of c-macro-expand
	* lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
	too early if no start-marker string was found -- that generally
	means cpp exited abnormally, and we still want to show its error
	messages to the user.

	Don't require Texinfo 5.0 for Emacs documentation
	* doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
	"@set txicodequotebacktick" instead of "@codequotebacktick on" and
	"@codequoteundirected on", respectively, to avoid requiring
	Texinfo 5.x for Emacs documentation.

2015-05-01  Simen Heggestøyl  <simenheg@gmail.com>

	* lisp/files.el (pwd):
	When called with a prefix argument, insert the current default
	directory at point.

2015-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/isearch.el (isearch-mode-map): Allow backspace remapping
	* lisp/isearch.el (isearch-mode-map): Don't inhibit
	function-key-map remapping for backspace (bug#20466).

2015-05-01  Dmitry Gutov  <dgutov@yandex.ru>

	Implement xref-find-references in etags and elisp-mode
	* lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
	(elisp-xref-find): Use it.
	* lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
	* lisp/progmodes/xref.el (xref-collect-references):
	(xref--collect-reference): New functions.

2015-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer plain characters to Texinfo circumlocutions
	For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
	'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.

	Fix single-quoting style in PDF manuals
	The PDF versions of the GNU manuals used curved single quotes to
	represent grave accent and apostrophe, which made it a pain to cut
	and paste code examples from them.  Fix the PDF versions to use
	grave accent and apostrophe for Lisp source code, keystrokes, etc.
	This change does not affect the info files, nor does it affect
	ordinary uses of curved single quotes in PDF.
	* doc/emacs/docstyle.texi: New file, which specifies treatment for
	grave accent and apostrophe, as well as the document encoding.
	* doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
	* doc/lispintro/emacs-lisp-intro.texi:
	* doc/lispref/back.texi, doc/lispref/book-spine.texi:
	* doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
	* doc/misc/ada-mode.texi, doc/misc/auth.texi:
	* doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
	* doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
	* doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
	* doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
	* doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
	* doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
	* doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
	* doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
	* doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
	* doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
	* doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
	* doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
	* doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
	* doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
	* doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
	* doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
	* doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
	* doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
	* doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
	* doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
	* doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
	* doc/misc/woman.texi:
	Use it instead of '@documentencoding UTF-8', to lessen the need for
	global changes like this in the future.
	* doc/emacs/Makefile.in (EMACS_XTRA):
	* doc/lispintro/Makefile.in (srcs):
	* doc/lispref/Makefile.in (srcs):
	Add dependency on docstyle.texi.
	* doc/misc/Makefile.in (style): New macro.
	(${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
	(${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
	Use it.

2015-05-01  Glenn Morris  <rgm@gnu.org>

	* test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.

	* lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
	(help-fns--signature): Declare.

	* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.

2015-05-01  Nicolas Petton  <nicolas@petton.fr>

	New macro seq-let, providing destructuring support to seq.el
	* lisp/emacs-lisp/seq.el (seq-let): New macro.  `seq-let' is similar
	to `cl-destructuring-bind' but works on all sequence types supported
	by `seq.el'.  Bump version number to 1.6.
	* test/automated/seq-tests.el: Add tests for seq-let.
	* doc/lispref/sequences.texi: Add documentation for seq-let.

2015-05-01  Pontus Michael  <m.pontus@gmail.com>

	* lisp/simple.el (blink-matching-open): Better behavior in minibuffer.

2015-05-01  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.

2015-05-01  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
	This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
	This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
	With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
	(Bug#20445).

2015-05-01  K. Handa  <handa@gnu.org>

	* lisp/international/mule-cmds.el (input-method-use-echo-area):
	Change :type to 'boolean.

2015-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Start using proportional fonts in eww by default
	* lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
	it seems to work well.

	Fix links in tables in shr
	* lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
	makes (some) links in tables not work.

2015-05-01  Jan D  <jan.h.d@swipnet.se>

	* lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.

2015-04-30  Glenn Morris  <rgm@gnu.org>

	* lisp/emacs-lisp/ert.el (ert--special-operator-p):
	Update for 2015-02-08 change to indirect-function.

	* lisp/term/ns-win.el (ns-get-selection-internal):
	Remove declaration for function deleted 2014-10-21.

	* lisp/dom.el: Load subr-x when compiling, for when-let.

	Silence some compilation warnings
	* lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
	* lisp/emulation/cua-base.el (delete-active-region):
	* lisp/net/net-utils.el (w32-get-console-output-codepage):
	* lisp/term/ns-win.el (ns-own-selection-internal)
	(ns-disown-selection-internal, ns-selection-owner-p)
	(ns-selection-exists-p, ns-get-selection):
	Declare for compiler.

	Function declaration updates prompted by 'make check-declare'
	* lisp/emacs-lisp/package.el (lm-homepage):
	* lisp/gnus/gnus-util.el (iswitchb-read-buffer):
	* lisp/gnus/mm-decode.el (libxml-parse-html-region):
	* lisp/gnus/mml.el (libxml-parse-html-region):
	* lisp/gnus/nnrss.el (libxml-parse-html-region):
	* lisp/net/eww.el (libxml-parse-html-region):
	* lisp/net/shr.el (libxml-parse-html-region):
	* lisp/vc/vc-bzr.el (vc-annotate-convert-time):
	* lisp/vc/vc-cvs.el (vc-annotate-convert-time):
	* lisp/vc/vc-git.el (vc-annotate-convert-time):
	* lisp/vc/vc-hg.el (vc-annotate-convert-time):
	* lisp/vc/vc-mtn.el (vc-annotate-convert-time):
	* lisp/vc/vc-rcs.el (vc-annotate-convert-time):
	Update declaration.

	Remove compatibility code for 20-year old function renaming
	* lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
	Make it an obsolete alias.
	(idlwave-shell-filter): Change all uses to comint-output-filter.

2015-04-30  Tassilo Horn  <tsdh@gnu.org>

	Add ace-window face config
	* etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
	configuration.

2015-04-30  Paul Eggert  <eggert@cs.ucla.edu>

	Unclutter 'make doc' output a bit
	* Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
	Use make subst rather than sh IFS to split target string apart.
	This makes 'make' output easier to follow.

	Merge from gnulib
	* doc/misc/texinfo.tex: Update from gnulib.

2015-04-30  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
	(package-menu--print-info): Obsolete.
	(package-menu--print-info-simple): New function.
	(package-menu--refresh): Use it, simplify code, and improve
	performance.
	* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
	Tiny performance improvement.

	* lisp/emacs-lisp/package.el (package--message): inhibit-message.

2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>

	Omit -Wstrict-overflow workaround in GCC 5
	* src/process.c: Remove workaround for GCC -Wstrict-overflow bug
	if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.

	Merge from gnulib
	This incorporates:
	2015-04-29 extern-inline: no need for workaround in GCC 5.1
	2015-04-26 file-has-acl: port to CentOS 6
	* m4/acl.m4, m4/extern-inline.m4: Update from gnulib.

2015-04-29  Helmut Eller  <eller.helmut@gmail.com>

	Set next-error-* in xref--xref-buffer-mode
	* lisp/progmodes/xref.el (xref--xref-buffer-mode):
	Set `next-error-function' and `next-error-last-buffer'.
	(xref--next-error-function): New function.
	(https://lists.gnu.org/r/emacs-devel/2015-04/msg01311.html)

2015-04-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Fix warnings on looking-back calls missing LIMIT
	* lisp/progmodes/python.el (python-shell-accept-process-output):
	Pass LIMIT arg to looking-back.

2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
	(package--download-and-read-archives): Use pushnew instead of
	append.  If something terrible happened during a previous
	download, simply refreshing should now make things work again.

2015-04-29  Dmitry Gutov  <dgutov@yandex.ru>

	Introduce etags-xref-find-definitions-tag-order
	* lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
	New variable.
	(etags--xref-find-definitions): Use it (bug#19468).

2015-04-29  Eli Zaretskii  <eliz@gnu.org>

	PATH- and completion-related fixes in Eshell on MS-Windows
	* lisp/eshell/esh-ext.el (eshell-search-path): When running on
	MS-Windows, prepend "." to list of directories produced from PATH,
	as Windows always implicitly searches the current directory first.
	(eshell-force-execution): Make it have a non-nil default value on
	MS-Windows and MS-DOS.
	* lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
	eshell-force-execution is non-nil, complete on readable files and
	directories, not only executables.  When running on MS-Windows,
	prepend "." to list of directories produced from PATH, as Windows
	always implicitly searches the current directory first.

2015-04-29  Sam Steingold  <sds@gnu.org>

	Bury RCIRC buffers when there is no activity
	* lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
	(rcirc-bury-buffers): New function.
	(rcirc-next-active-buffer): When there is no new activity, use
	`rcirc-bury-buffers' to hide all RCIRC buffers.

2015-04-29  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)

	Fix DBUS query result parsing for secrets-search-items
	* lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
	parsing.  The function assumed that return value of the
	SearchItems method called on a collection is a list of two lists,
	however this is true only when no collection is specified.  GNOME
	had used to incorrectly return a list of two lists in both cases,
	but this was already fixed:
	https://bugzilla.gnome.org/show_bug.cgi?id=695115 .  Also fix an
	incorrect information in the secrets-search-items’ docstring.
	(Bug#20449)

2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/bytecomp.el (byte-compile--message):
	Use `inhibit-message' instead of hiding the previous message
	with (message nil).

2015-04-29  Oleh Krehel  <ohwoeowho@gmail.com>

	Remove the deprecated INTERNAL_FIELD macro by expanding it
	* src/lisp.h (INTERNAL_FIELD): Remove.
	(DEFVAR_KBOARD): Modify accordingly.
	* src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
	* src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
	* src/buffer.c (compact_buffer): Use BVAR.

2015-04-29  Glenn Morris  <rgm@gnu.org>

	Replace an obsolete function alias
	* lisp/isearch.el (isearch-yank-x-selection):
	* lisp/mouse-copy.el (mouse-drag-secondary-pasting)
	(mouse-drag-secondary-moving):
	* lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
	Replace obsolete alias x-get-selection with gui-get-selection.

2015-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/mail/rmailsum.el: Use lexical-binding.

2015-04-29  Glenn Morris  <rgm@gnu.org>

	* test/automated/package-test.el (package-test-update-archives-async):
	Skip test on hydra.nixos.org.

2015-04-28  Glenn Morris  <rgm@gnu.org>

	* lisp/foldout.el: Update for 2015-01-30 outline.el changes.
	(foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
	(foldout-mouse-hide-or-exit): Use new names for outline functions.

	* lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
	Update for 2014-06-26 hideif.el change.

	* lisp/mail/rmailsum.el: Fix search for encoded subjects.  (Bug#19088)
	(rmail--decode-and-apply): New function.
	(rmail-message-regexp-p-1, rmail-message-subject-p): Use it.

	* lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.

2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Fix priority-hiding corner case
	(package-menu--refresh): Delegate obsolete-hiding to
	`package--remove-hidden'.
	(package--remove-hidden): Disregard high-priority package if it is
	older than the installed one.

2015-04-28  Paul Eggert  <eggert@cs.ucla.edu>

	Update source file encoding list
	Update admin/notes/unicode, along with coding system cookies in
	other files, so that the two match each other better.
	* admin/notes/unicode: lisp/language/ethio-util.el and
	lisp/language/ethiopic.el also use utf-8-emacs.
	* admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
	* doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
	* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
	* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
	* etc/refcards/sk-survival.tex:
	Add "coding: utf-8" so that this file is not mishandled in a
	Latin-1 or Big-5 locale.
	* lisp/international/robin.el, lisp/org/ox-ascii.el:
	Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
	* lisp/language/ethio-util.el: Fix trailer.

2015-04-28  Eli Zaretskii  <eliz@gnu.org>

	Fix synchronous invocation of Ispell
	* lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
	value to ispell-process-directory before calling ispell-init-process.
	Don't call set-process-coding-system if ispell-async-processp is nil.
	(Bug#20448)

2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Skip space and comments in init file
	(package--ensure-init-file): Insert snippet at first
	non-whitespace non-comments line.  Respects local-vars at the top
	of the file.

2015-04-28  Glenn Morris  <rgm@gnu.org>

	* lisp/mail/rmail.el (rmail-copy-headers):
	Handle rmail-nonignored-headers being nil.  (Bug#18878)

	* lisp/subr.el (delay-mode-hooks): Fix doc typo.

	* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
	Don't get confused by a bzrlib version mismatch warning.

2015-04-27  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Change default location of EUDC options file
	* etc/NEWS: Document change to EUDC options file's default location.
	* lisp/net/eudc-vars.el (eudc-options-file): Use
	`locate-user-emacs-file' to change default options file location.

2015-04-27  Glenn Morris  <rgm@gnu.org>

	* test/automated/package-test.el (package-test-update-archives-async):
	Try to handle the test server script dying.

2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/saveplace.el (save-place-mode): New minor mode.
	(save-place): Redefine as an obsolete alias.

	* lisp/midnight.el: Make it a minor mode.  Allow predicates.
	* lisp/midnight.el: Use lexical-binding.
	(midnight-mode): Make it a proper minor mode.
	(midnight-buffer-display-time): Make arg non-optional.
	(midnight-find): Remove.
	(clean-buffer-list-kill-never-regexps)
	(clean-buffer-list-kill-regexps): Tweak type for new function choice.
	(clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
	contain functions.
	(clean-buffer-list): Use cl-find.
	Allow clean-buffer-list-kill-never-regexps to contain functions.

2015-04-27  Nicolas Petton  <nicolas@petton.fr>

	Bump version of seq.el to 1.5
	* lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
	from seq-doseq.  Bump version number of seq.el.

2015-04-27  Glenn Morris  <rgm@gnu.org>

	* lisp/mail/rmail.el (rmail-reply):
	Decode subject before matching "Re:" prefix.  (Bug#20396)

2015-04-27  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Small improvements
	(package--with-work-buffer-async): More informative error.
	(package-install-user-selected-packages): Rename to
	`package-install-selected-packages'.

2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
	* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
	(eieio--class-make): Remove leftover `tag'.

2015-04-27  Glenn Morris  <rgm@gnu.org>

	* lisp/gnus/message.el (gnus-extract-address-components):
	Remove bogus declaration that was masking previous problem.

2015-04-27  Nicolas Graner  <nicolas.graner@u-psud.fr>  (tiny change)

	* lisp/gnus/message.el (message-insert-formatted-citation-line):
	Fix typo.  (Bug#20318)

2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.

	* lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
	* lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
	the buffer in yet another frame.
	(reftex-toc-visit-location): Make sure toc-window has focus at the end
	when `final' is nil.
	(reftex--rebuilding-toc): Defvar to avoid `boundp' and
	silence warnings.  Use `--' to clarify that it's internal.
	(reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
	(reftex-toc-promote): Clarify unused argument.
	(reftex--pro-or-de, reftex--start-line, reftex--mark-line):
	Add `reftex--' prefix.  Fix all users.
	(reftex-toc-promote-prepare): Use _ for dummy variable.
	(reftex-toc-restore-region): Rename `m.

2015-04-27  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in bibtex.el
	* lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
	last change.  (Bug#20429)

	Fix redisplay of frame after loading new fonts
	* src/xdisp.c (redisplay_internal): When retrying redisplay of
	a frame because new fonts were loaded, disable all redisplay
	optimizations on that frame by calling SET_FRAME_GARBAGED.
	(Bug#20410)

2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/info.el (Info-menu): Properly provide the `default'
	(Bug#20391)

	* lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
	Catch errors from documentation (bug#20418).
	(emacs-lisp-mode-abbrev-table): Remove redundant defvar.

2015-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
	Remove redundant ":group 'package".

2015-04-26  Eli Zaretskii  <eliz@gnu.org>

	Fix a typo in rmail.el
	* lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
	last commit.  (Bug#20429)

2015-04-26  Dmitry Gutov  <dgutov@yandex.ru>

	Introduce xref-prompt-for-identifier
	* lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
	(xref--read-identifier): Use it
	(https://lists.gnu.org/r/emacs-devel/2015-04/msg01205.html).

2015-04-26  João Távora  <joaotavora@gmail.com>

	`tex-insert-quote' after single `'' opens quotes instead of closing
	Without this, it's very hard to precede double quotes with the
	apostrophe character, i.e. insert the sequence '``
	(quote-backquote-backquote), commonly useful in portuguese, for
	instance.
	* lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
	preceding chars making `tex-insert-quote' be in the "opening" context.

2015-04-25  Dmitry Gutov  <dgutov@yandex.ru>

	Pass `id' to `completing-read' as def instead of initial input
	* lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
	`completing-read' as the default value instead of initial input
	(https://lists.gnu.org/r/emacs-devel/2015-04/msg01182.html).

2015-04-25  Paul Eggert  <eggert@cs.ucla.edu>

	Don't freeze with unreadable processes
	Don't freeze if an exiting process can't be read from.  (Bug#19860).
	This fixes a bug I introduced in
	2014-07-08T07:24:07Z@eggert@cs.ucla.edu
	"* process.c: Add sanity checks for file descriptors."
	Dmitry Gutov did most of the legwork in finding the problem.
	* src/process.c (wait_reading_process_output):
	Treat non-running processes that can't be read from
	the same as other non-running processes.

2015-04-25  Alan Mackenzie  <acm@muc.de>

	Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
	* lisp/subr.el (remove-yank-excluded-properties): Put
	`with-silent-modifications' around only the last three lines of code.

2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
	(package--all-keywords): Deleted variable.

	* etc/NEWS: Document package-hiding functionality.

2015-04-25  Eli Zaretskii  <eliz@gnu.org>

	* lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)

	Clarify the doc string of 'replace-regexp-in-string'
	* lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)

	Improve doc string of 'insert-buffer-substring'
	* src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)

	MS-Windows followup for the recent gnulib update
	* nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
	acl-internal.c.

2015-04-24  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

	Merge from gnulib
	This incorporates:
	2015-04-24 file-has-acl: new module, split from acl
	2015-04-24 manywarnings: add GCC 5.1 warnings
	2015-04-21 lstat: fix cross-compilation 'ln -s' problem
	2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
	2015-04-15 acl: On Linux, check for acls without libacl
	2015-04-14 tempname: avoid unused parameter warnings (trivial)
	* lib/acl-internal.c: New file, from gnulib.
	* lib/file-has-acl.c: Remove; no longer imported from gnulib.
	* lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
	* m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
	Update from gnulib.

	Port --enable-gcc-warnings to GCC 5.1 x86-64
	* lib-src/ebrowse.c (dump_sym):
	* lib-src/hexl.c (main):
	* src/ccl.c (ccl_driver):
	* src/character.c (string_escape_byte8):
	* src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
	* src/gnutls.c (Fgnutls_boot):
	* src/gtkutil.c (xg_check_special_colors):
	* src/image.c (x_build_heuristic_mask):
	* src/print.c (safe_debug_print, print_object):
	* src/term.c (produce_glyphless_glyph):
	* src/xdisp.c (get_next_display_element)
	(produce_glyphless_glyph):
	* src/xterm.c (x_draw_glyphless_glyph_string_foreground):
	Don't use a signed format to print an unsigned integer, or vice
	versa.  GCC 5.1's new -Wformat-signedness option warns about this.
	* src/image.c (png_load_body, jpeg_load_body):
	Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).

2015-04-24  Tassilo Horn  <tsdh@gnu.org>

	Add new faces to tsdh-light-theme
	* etc/themes/tsdh-light-theme.el (tsdh-light): New face
	definitions for Info-quoted, ace-jump-face-foreground,
	hl-paren-face, show-paren-match, and show-paren-mismatch.

2015-04-24  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.

2015-04-24  Glenn Morris  <rgm@gnu.org>

	* build-aux/gitlog-to-emacslog:
	Use raw log format rather than wrapped one.

2015-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
	(seq-doseq): Fix out-of-scope binding.
	Don't call `seq-length at every iteration.
	Reduce `if's from 3 to 2 per iteration.
	(emacs-lisp-mode-hook): Don't tweak in Emacs≥25.

2015-04-24  Glenn Morris  <rgm@gnu.org>

	* lisp/textmodes/text-mode.el (text-mode-hook):
	Move text-mode-hook-identify to default.

	* lisp/mouse.el (minor-mode-menu-from-indicator):
	Handle non-function members of minor-mode-map-alist.  (Bug#20201)

	* lisp/help-fns.el (describe-function): More type checking.
	(describe-function-1): Handle changed symbol-function.  (Bug#20201)

	* build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
	(Bug#20325)

2015-04-24  Andreas Schwab  <schwab@linux-m68k.org>

	shr: strip leading whitespace when expanding URLs
	* lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.

2015-04-24  Eli Zaretskii  <eliz@gnu.org>

	Clarify "co-authored" some more

	* CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)

	Clarify doc strings of functions that search for properties
	* src/textprop.c (Fnext_char_property_change)
	(Fprevious_char_property_change)
	(Fnext_single_char_property_change)
	(Fprevious_single_char_property_change, Fnext_property_change)
	(Fnext_single_property_change, Fprevious_property_change)
	(Fprevious_single_property_change): Clarify doc strings wrt return
	value and the optional LIMIT argument.  (Bug#20411)

2015-04-24  Glenn Morris  <rgm@gnu.org>

	* test/automated/message-mode-tests.el (message-mode-propertize):
	Handle non-writable HOME; eg on hydra.nixos.org.

2015-04-23  Eli Zaretskii  <eliz@gnu.org>

	Avoid starting threads by w32-shell-execute
	* src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
	local file names, before invoking ShellExecute.  (Bug#20220)

2015-04-23  Martin Rudalics  <rudalics@gmx.at>

	Fix following doc-links in `widget-documentation-link-action'
	* lisp/wid-edit.el (widget-documentation-link-action): Make
	following doc-links less simplistic (Bug#20398).

2015-04-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Improve EUDC manual
	* doc/misc/eudc.texi (Troubleshooting):
	New LDAP troubleshooting subsection.

2015-04-22  Paul Eggert  <eggert@cs.ucla.edu>

	Omit needless "\ " after multibyte then newline
	* src/print.c: Include <c-ctype.h>, for c_isxdigit.
	(print_object): When print-escape-multibyte is non-nil and a
	multibyte character is followed by a newline or formfeed, followed
	by a hex digit, don't output a needless "\ " before the hex digit.
	* test/automated/print-tests.el (print-hex-backslash): New test.

2015-04-22  Oleh Krehel  <ohwoeowho@gmail.com>

	Add a new `inhibit-message' variable
	* src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
	(message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
	`inhibit_message' is non-zero.
	* etc/NEWS: Add an entry.
	* doc/lispref/display.texi: Add an entry for `inhibit-message',
	mention it in `message'.

2015-04-22  Martin Rudalics  <rudalics@gmx.at>

	Fix last fix in `display-buffer-record-window'.
	* lisp/window.el (display-buffer-record-window): Fix last fix.

2015-04-22  Eli Zaretskii  <eliz@gnu.org>

	Minor edits in CONTRIBUTE
	* CONTRIBUTE: Rearrange instructions about log messages.
	Use "Git" capitalized all over.
	Use 2 spaces between sentences.

2015-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/files.el (basic-save-buffer): Fix argument.

	* lisp/cus-edit.el (custom-file): Consider init-file-had-error.
	In case `(and (null custom-file) init-file-had-error)' do the same
	thing we'd do if `(null user-init-file)', which is to either error out
	or return nil.  This is in line with `custom-save-all' which would
	throw an error in that situation.  (Bug#20355)

	* lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
	(package-menu-hide-low-priority): New variable, see its doc.
	(package-archive-priorities): Update doc.
	(package-desc-priority): New function.
	(package-desc-priority-version): Use it.
	(package--remove-hidden): New function.
	(package-menu--refresh): Use it.

	* lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
	(package-menu--hide-obsolete): New variable.
	(package--remove-hidden): Use it.
	(package-menu-hide-obsolete): New interactive function to toggle
	the variable.
	(package--quick-help-keys): Document it.
	(package-menu-async): Add :version tag.
	(package-menu-mode-map): Bind package-menu-hide-obsolete.
	(package-desc-status): Indicate non-installed obsolete packages as
	avail-obso.
	(package-menu-mark-install): Allow installation of avail-obso.
	(package-menu--status-predicate): Sort avail-obso with available.

2015-04-22  Alan Mackenzie  <acm@muc.de>

	On C-y, stop some text property entries being written into buffer-undo-list
	* lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
	`with-silent-modifications'.

2015-04-22  Martin Rudalics  <rudalics@gmx.at>

	In display-buffer-record-window record selected window if necessary
	* lisp/window.el (display-buffer-record-window): Store selected window
	if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).

2015-04-22  Tassilo Horn  <tsdh@gnu.org>

	Fix reftex-citation bug
	* lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
	Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
	integration is enabled and there are no citations in the document
	so far.

2015-04-21  Dmitry Gutov  <dgutov@yandex.ru>

	Add or reset based on the presence of MERGE_HEAD
	* lisp/vc/vc-git.el (vc-git-find-file-hook): Add
	`vc-git-resolve-when-done' to `after-save-hook' in either case.
	(vc-git-conflicted-files): Add a TODO.
	(vc-git-resolve-when-done): Depending on the presence of
	MERGE_HEAD, either update the resolved file in the index, or
	remove it from there.  (Bug#20292)

2015-04-21  Glenn Morris  <rgm@gnu.org>

	* lisp/custom.el (custom-declare-group): No need to purecopy
	custom-current-group-alist members following recent change to set
	it to nil before dumping.

	* build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
	(Bug#20399)

2015-04-21  Daniel Colascione  <dancol@dancol.org>

	Unbreak no-op buffer save message
	* lisp/files.el (basic-save-buffer): Accept called-interactively as
	an argument instead of directly invoking called-interactively-p,
	which will always yield nil in that context.

2015-04-21  Alan Mackenzie  <acm@muc.de>

	CC Mode: Do nothing in before/after-change-functions for text
	property changes
	Fixes bug#20266.
	* lisp/progmodes/cc-mode.el (c-basic-common-init): Make
	yank-handled-properties buffer local, and remove 'category from it.
	(c-called-from-text-property-change-p): New function.
	(c-before-change): Don't do anything if a call of the new function
	returns non-nil.
	(c-after-change): Don't do much if a call of the new function returns
	non-nil.
	(c-extend-after-change-region): Put changes to text property 'fontified
	inside c-save-buffer-state.

2015-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix byte-compiler warnings about looking-back
	* lisp/vc/log-view.el (log-view-end-of-defun-1):
	* lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
	* lisp/textmodes/reftex-ref.el (reftex-goto-label):
	* lisp/textmodes/bibtex.el (bibtex-insert-kill):
	* lisp/progmodes/sh-script.el (sh--maybe-here-document):
	* lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
	* lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
	* lisp/org/org.el (org-insert-heading, org-sort-entries):
	* lisp/org/org-mouse.el (org-mouse-end-headline)
	(org-mouse-context-menu):
	* lisp/org/org-clock.el (org-clock-cancel):
	* lisp/man.el (Man-default-man-entry):
	* lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
	(rmail-ensure-blank-line):
	* lisp/mail/footnote.el (Footnote-delete-footnote):
	* lisp/mail/emacsbug.el (report-emacs-bug):
	* lisp/info.el (Info-follow-reference, Info-fontify-node):
	* lisp/info-look.el (info-lookup-guess-custom-symbol):
	* lisp/help-fns.el (help-fns--key-bindings):
	* lisp/files.el (hack-local-variables):
	* lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
	(viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
	(viper-complete-filename-or-exit):
	* lisp/emulation/viper-cmd.el (viper-backward-indent):
	* lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
	* lisp/emacs-lisp/elint.el (elint-get-top-forms):
	* lisp/cus-edit.el (custom-face-edit-value-create):
	* lisp/calendar/todo-mode.el (todo-set-item-priority)
	(todo-filter-items-1, todo-convert-legacy-files)
	(todo-prefix-overlays): Add explicit second arg to looking-back.

2015-04-20  Glenn Morris  <rgm@gnu.org>

	Avoid non-nil current-load-list at startup
	* src/process.c (init_process_emacs): Move Fprovide statement...
	(syms_of_process): ... to here.

	* lisp/loadup.el (custom-current-group-alist): Reset before dumping.

	* lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
	in emacs -Q.

2015-04-20  Ludovic Courtès  <ludo@gnu.org>

	* lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
	(Bug#20330)

2015-04-20  Glenn Morris  <rgm@gnu.org>

	* lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.

	Tweak exec-path in uninstalled case
	* src/callproc.c (init_callproc): If running uninstalled, do not
	include eventual installation libexec directory in exec-path.

2015-04-20  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Filter by multiple keywords and
	cache keywords.
	(package-menu-filter): Accept a list of keywords.
	(package--all-keywords): New variable to cache known keywords.
	(package-all-keywords): Populate it if necessary.
	(package-refresh-contents): Reset it.

	* lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
	(package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
	as special keywords which match against package archive and status
	respectively.
	* etc/NEWS: Document it.

2015-04-20  Eli Zaretskii  <eliz@gnu.org>

	Describe and index "empty overlays".
	* doc/lispref/display.texi (Overlays): Improve indexing.
	(Managing Overlays): Describe "empty" overlays.
	(Overlay Properties, Finding Overlays): Add cross-reference to
	where empty overlays are described.

2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes

	Quote 'like this' in top-level files
	* CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
	Prefer to single-quote 'like this' (instead of the older style
	`like this').
	* configure.ac: Fix some space-before-tab problems that 'git commit'
	complained about.

	Use bool for boolean in textprop.c, undo.c
	* src/textprop.c (soft, hard): Now constants instead of macros.
	(validate_plist): Rewrite to avoid need for boolean local.
	(interval_has_all_properties, interval_has_some_properties)
	(interval_has_some_properties_list, add_properties)
	(remove_properties, get_char_property_and_overlay)
	(Fnext_single_char_property_change)
	(Fprevious_single_char_property_change, add_text_properties_1)
	(Fremove_text_properties, Fremove_list_of_text_properties)
	(copy_text_properties):
	* src/tparam.c (tparam1):
	* src/undo.c (record_change, record_property_change)
	(syms_of_undo):
	Use 'true' and 'false' for booleans.

2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/vc/vc-git.el (vc-git-find-file-hook):
	Call `smerge-start-session' even when dealing with a stash
	conflict (bug#20292).

2015-04-19  Vibhav Pant  <vibhavp@gmail.com>

	Add option to eshell/clear to clear scrollback.
	* lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
	(eshell/clear): Add an optional SCROLLBACK argument.  If non-nil,
	scrollback contents are cleared.
	* etc/NEWS: Describe change.
	* doc/misc/eshell.texi: Add entry for `clear'.

2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>

	* src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
	where either will do.

2015-04-19  Steve Purcell  <steve@sanityinc.com>

	Assume package archive-contents are UTF8-encoded
	* lisp/emacs-lisp/package.el (package--read-archive-file):
	Set `coding-system-for-read' explicitly to 'utf-8 when reading the
	downloaded and cached archive-contents files, so that non-ASCII
	characters in package descriptions are displayed correctly in the
	`list-packages' menu.  (Bug#20231)

2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>

	Abort when looking at stashed changes
	* lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
	stashed changes (bug#20292).

2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>

	Refactor low-level printing for simplicity
	* src/print.c (PRINTDECLARE): Remove.  Move its contents into
	PRINTPREPARE; doable now that we assume C99.  All callers changed.
	(PRINTCHAR): Remove, as it adds more mystery than clarity.
	All callers changed.
	(strout): Assume that caller computes length.  All callers changed.
	(print_c_string): New function.
	(write_string, write_string_1): Compute length instead of asking
	the caller to compute it.  All callers changed.
	(write_string): Simplify by using write_string_1.
	(write_string_1): Simplify by using print_c_string.
	(Fterpri): Compute default val more clearly.
	(Fprin1_to_string, print_object):
	Assume C99 to avoid unnecessary nesting.
	(print_object): Prefer print_c_string to multiple printchar, or
	to calling strout with -1 length.  Coalesce into sprintf when
	this is easy.

2015-04-18  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer "Bug#1234" in commit messages (Bug#20325)
	* .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
	as this isn't useful for Git.
	* CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".

2015-04-18  Glenn Morris  <rgm@gnu.org>

	* lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
	(Bug#19506)

2015-04-18  Tom Willemse  <tom@ryuslash.org>  (tiny change)

	* lisp/elec-pair.el (electric-pair-post-self-insert-function):
	Do not use `chomp' as a function.  (Bug#19505)

2015-04-18  Glenn Morris  <rgm@gnu.org>

	* lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.

	* doc/emacs/misc.texi (Sorting): Small edit.
	(Bug#19896)

	* admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.

2015-04-18  Simen Heggestøyl  <simenheg@gmail.com>

	css-mode.el: Support multi-line comment filling
	(Bug#20256)
	* lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
	comment filling.
	(css-adaptive-fill): New function.
	(css-mode): Set `adaptive-fill-function'.
	(scss-mode): Set `comment-continue'.

2015-04-18  Nicolas Petton  <nicolas@petton.fr>

	* lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
	Better error messages.

2015-04-18  Ivan Radanov Ivanov  <ivanradanov@yahoo.co.uk>  (tiny change)

	Minor improvements in Bulgarian input methods
	* lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
	Replace U+042C with U+045D, as the former character is not used in
	the modern Bulgarian language.
	(Bug#20350)

2015-04-17  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Improve EUDC manual
	* doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
	authentication schemes.  Add index items.  Shorten example server
	name.

2015-04-17  Dmitry Gutov  <dgutov@yandex.ru>

	Don't show both feature and function with the same name
	* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
	Don't show both feature and function with the same name.

	(elisp--xref-identifier-location): Skip variable, if it's also
	a function
	* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
	Avoid returning both the variable and the function for the same
	minor mode.

2015-04-17  Wolfgang Jenkner  <wjenkner@inode.at>

	Fix fontification of keywords clobbered by the prompt
	* lisp/comint.el (comint-output-filter): Remove the uses of
	with-silent-modifications I introduced as part of the last change.
	This fixes, e.g., erratically missing highlighting when running
	./configure --help; ./configure in a shell-mode buffer with
	compilation-shell-minor-mode turned on.

2015-04-17  Glenn Morris  <rgm@gnu.org>

	* admin/authors.el (authors-valid-file-names)
	(authors-renamed-files-alist): Additions.

2015-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/indent.el (indent-region): Don't deactivate the mark.
	(Bug#20357)

2015-04-17  Sam Steingold  <sds@gnu.org>

	* lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.

2015-04-16  Leo Liu  <sdl.web@gmail.com>

	* lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.

2015-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/erc/erc-pcomplete.el (erc-pcomplete):
	Don't use `pcomplete' any more.

2015-04-16  Glenn Morris  <rgm@gnu.org>

	* admin/authors.el (authors-lax-changelogs): Update for erc changes.

2015-04-16  Eli Zaretskii  <eliz@gnu.org>

	Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
	* configure.ac (LIBJPEG): Leave it empty for MinGW.

2015-04-16  Glenn Morris  <rgm@gnu.org>

	* lisp/replace.el (query-replace-from-to-separator):
	Delay initialization to avoid rogue setting after startup.

2015-04-16  Paul Eggert  <eggert@cs.ucla.edu>

	Pre-4.6 GCC succeeds with unknown option
	* configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
	(Bug#20338)

2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>

	'[:graph:]' now excludes whitespace, not just ' '
	* doc/lispref/searching.texi (Char Classes):
	* lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
	sans whitespace (not sans space).
	* src/character.c (graphicp): Exclude all Unicode whitespace chars,
	not just space.
	* src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).

2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/subr.el (substitute-key-definition-key, special-form-p)
	(macrop): Drop deprecated second arg to indirect-function.
	(looking-back): Make the second arg non-optional.

	* lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
	command is actually sent to the shell.

2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>

	Port jpeg configuration to Solaris 10 with Sun C
	* configure.ac: Check for jpeglib 6b by trying to link it, instead
	of relying on cpp magic that has problems in practice.  Check for
	both jpeglib.h and jerror.h features.  Remove special case for
	mingw32, which should no longer be needed (and if it were needed,
	should now be addressable by hotwiring emacs_cv_jpeglib).
	(Bug#20332)

2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
	* lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
	Move to elisp-mode.el.
	(lisp-mode-variables): (Re)move elisp-specific settings.
	* lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
	from lisp-mode-variables.
	(elisp--font-lock-flush-elisp-buffers): New function, moved from
	lisp-mode.el.

	* lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
	Avoid pathological slowdown at top-level in large file.

2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>

	Standardize names of ChangeLog history files
	Suggested by Glenn Morris in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00678.html
	* Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
	* doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
	* lisp/erc/ChangeLog.1: New file, containing the old contents of ...
	* lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
	* lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
	* lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
	Remove.

	Split top-level entries into pre- and post-April 7
	This more clearly distingiushes pre-April-7 ChangeLog entries (which
	are for top-level files only) from post-April-7 entries (which are
	about files at all levels.  Problem reported by Glenn Morris in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00678.html
	* ChangeLog.1: Move post-April-7 entries from here ...
	* ChangeLog.2: ... to this new file.
	* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.

2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix recent cus-start changes that added customize-rogues
	* lisp/cus-start.el (custom-delayed-init-variables): Initialize the
	vars early.
	* lisp/loadup.el ("cus-start"): Move to the end to reduce
	customize-rogue.

2015-04-15  Nicolas Petton  <nicolas@petton.fr>

	Define cl-concatenate as an alias to seq-concatenate
	* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
	  code by making cl-concatenate an alias to seq-concatenate.

2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* src/lread.c (intern_1): Make sure we'd find the symbol we add
	(Bug#20334)
	* src/xfaces.c (resolve_face_name): Don't use `intern' with
	Lisp_Strings.

2015-04-15  Glenn Morris  <rgm@gnu.org>

	* doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.

2015-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	Clean up gnus-uu saving code slightly
	* lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
	save-restriction/widen calls make more sense.

2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>

	Make [:graph:] act like [:print:] sans space
	In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
	[:graph:] so that it matches everything that [:print:] does,
	except for space.
	* doc/lispref/searching.texi (Char Classes):
	* etc/NEWS:
	* lisp/emacs-lisp/rx.el (rx):
	Document [:graph:] to be [:print:] sans ' '.
	* src/character.c, src/character.h (graphicp): New function.
	* src/regex.c (ISGRAPH) [emacs]: Use it.
	(BIT_GRAPH): New macro.
	(BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
	(re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
	Return BIT_GRAPH for RECC_GRAPH.
	(re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
	and ISPRINT if BIT_PRINT.

2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
	Don't use call-next-method in a cl-defmethod.

	* lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
	(eieio--class-p): Remove, provided by cl-defstruct.

2015-04-14  Nicolas Petton  <nicolas@petton.fr>

	Add seq-intersection and seq-difference to the seq library
	* lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
	New functions.
	* test/automated/seq-tests.el: Add tests for seq-intersection and
	seq-difference.
	* doc/lispref/sequences.texi: Add documentation for seq-intersection
	and seq-difference.

2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
	to avoid leaking internals.

2015-04-14  Sam Steingold  <sds@gnu.org>

	package--ensure-init-file: widen requires save-restriction

2015-04-14  Eli Zaretskii  <eliz@gnu.org>

	Improve the commit-msg Git hook for unibyte environments
	* build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
	in unibyte environments.  (Suggested by Paul Eggert
	<eggert@cs.ucla.edu>.)  Use a more accurate approximation to
	[:print:], based on UTF-8 sequences of the unprintable characters.

	Describe problems with cursor caused by Windows Magnifier
	* etc/PROBLEMS: Describe the problem with cursor shape on
	MS-Windows due to Windows Magnifier.
	(Bug#20271)

	Make [:print:] support non-ASCII characters correctly
	* src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
	(BIT_PRINT): New bit mask.
	(re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
	* src/character.c (printablep): New function.
	* src/character.h (printablep): Add prototype.
	* lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
	of 'print', 'alnum', and 'alphabetic'.
	* doc/lispref/searching.texi (Char Classes): Document the new
	behavior of [:print:].
	* etc/NEWS: Mention the new behavior of [:print:].

	Assign correct general-category and names to surrogates
	* admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
	surrogates.  This avoids assigning them the default
	general-category of 'Cn', i.e. unassigned codepoints.
	(unidata-get-name): Give surrogates synthetic names.

2015-04-14  Paul Eggert  <eggert@cs.ucla.edu>

	Assume C89 offsetof in xterm.c, xlwmenu.c
	* lwlib/xlwmenu.c (offset):
	* src/xterm.c (cvt_string_to_pixel_args):
	Use offsetof, not XtOffset.

2015-04-14  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>

	Assume C89 offsetof in widget.c
	* src/widget.c (XtOffset): Remove; no longer needed.
	(offset): Implement via offsetof instead of via pre-C89 XtOffset hack.

	Fix think-o in previous patch
	* src/window.c (count_windows, get_leaf_windows):
	Don't optimize count_windows incorrectly.

2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid some int overflows in window.c
	* src/print.c (print_object):
	* src/window.c (sequence_number):
	* src/window.h (struct window.sequence_number):
	Don't assume window sequence number fits in int.
	* src/window.c (window_select_count):
	* src/window.h (struct window.use_time, window_select_count):
	Don't assume window use time fits in int.
	* src/window.c (Fsplit_window_internal):
	Don't assume user-supplied integer, or sum, fits in int.
	(Fset_window_configuration, count_windows, get_leaf_windows)
	(save_window_save, Fcurrent_window_configuration):
	Use ptrdiff_t for object counts.
	(Fset_window_configuration): Omit unused local 'n'.
	(count_windows): Simplify by writing in terms of get_leaf_windows.
	(get_leaf_windows): Don't store through FLAT if it's null.
	(extract_dimension): New static function.
	(set_window_margins, set_window_fringes, set_window_scroll_bars):
	Use it to avoid undefined behavior when converting user-supplied
	integer to 'int'.

2015-04-13  Glenn Morris  <rgm@gnu.org>

	Minor doc copyedits
	* doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
	* doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.

2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	[Gnus] Catch the invalid-operation that idna.el will issue
	* lisp/gnus/gnus-art.el (gnus-use-idna):
	* lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
	* lisp/gnus/message.el (message-use-idna):
	Catch the invalid-operation that idna.el will issue.

2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.

2015-04-13  Sam Steingold  <sds@gnu.org>

	package--ensure-init-file: widen before looking for
	"(package-initialize)"

2015-04-13  Dmitry Gutov  <dgutov@yandex.ru>

	Change diff-switches default to `-u' (Bug#20290)
	* doc/emacs/files.texi (Comparing Files): Document the new default
	value of `diff-switches'.
	* doc/emacs/trouble.texi (Sending Patches): Document the preference
	for unified diff format.  Escape the plus in the suggested `-F' regexp
	value.
	* lisp/vc/diff.el (diff-switches): Change the default to `-u'.

2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	(gnus-group--setup-tool-bar-update): Fix last change
	* lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
	cursor-sensor-functions should be a list of functions.

2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* lisp/gnus/gnus-topic.el (gnus-topic-mode):
	Use gmm-called-interactively-p.

2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/loadup.el ("cus-start"): Load it after loaddefs.el
	(Bug#20321)
	* lisp/cus-start.el (read-buffer-function): Don't advertise
	iswitchb-read-buffer any more.
	(iswitchb): Don't tweak this obsolete group any more.

2015-04-13  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Fix package--ensure-init-file.

	* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
	Adding a string after a constructor's argument list will use
	that string as the constructor function docstring.  If this string
	is absent but the struct itself was given a docstring, use that as
	the constructor's docstring.
	Fixes bug#17284.

2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	Deprecate `intangible' and `point-entered' properties
	* lisp/emacs-lisp/cursor-sensor.el: New file.
	* lisp/simple.el (pre-redisplay-functions): New hook.
	(redisplay--pre-redisplay-functions): New function.
	(pre-redisplay-function): Use it.
	(minibuffer-avoid-prompt): Mark obsolete.
	(redisplay--update-region-highlight): Adapt it to work as a function on
	pre-redisplay-functions.
	* lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
	(minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
	than point-entered to make the prompt intangible.
	* lisp/forms.el: Move `provide' calls to the end.
	(forms-mode): Don't use `run-hooks' on a local var.
	(forms--make-format, forms--make-format-elt-using-text-properties):
	Use cursor-intangible rather than `intangible'.
	(forms-mode): Enable cursor-intangible-mode.
	* lisp/isearch.el (isearch-mode): Use defvar-local.
	(cursor-sensor-inhibit): Declare.
	(isearch-mode): Set cursor-sensor-inhibit.
	(isearch-done): Set it back.
	(isearch-open-overlay-temporary, isearch-open-necessary-overlays)
	(isearch-close-unnecessary-overlays): Don't bother with `intangible'
	any more.
	* lisp/ses.el (ses-localvars): Remove `mode-line-process'.
	(ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
	Add Edebug spec.
	(ses-goto-print, ses-print-cell, ses-adjust-print-width)
	(ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
	inhibit-point-motion-hooks any more.
	(ses--cell-at-pos, ses--curcell): New functions, extracted from
	ses-set-curcell.
	(ses-set-curcell): Use them.
	(ses-print-cell, ses-setup): Use cursor-intangible instead of
	`intangible'.  Make sure cursor-intangible isn't sticky at BOB.
	(ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
	Use ses--cell-at-pos.
	(ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
	extracted from ses-command-hook.  Make them work with multiple windows
	displaying the same buffer.
	(ses-mode): Use them via mode-line-process and pre-redisplay-functions.
	Enable cursor-intangible-mode.
	(ses-command-hook): Remove cell highlight and mode-line update code.
	(ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
	Update for new name of text-property holding the cell name.
	(ses-rename-cell): Don't mess with mode-line-process.
	* lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
	cursor-sensor-functions property instead of point-entered.
	(erc-insert-timestamp-right, erc-format-timestamp):
	Use cursor-intangible rather than `intangible'.
	(erc-munge-invisibility-spec): Use add-to-invisibility-spec and
	remove-from-invisibility-spec.  Enable cursor-intangible-mode and
	cursor-sensor-mode if needed.
	(erc-echo-timestamp): Adapt to calling convention of
	cursor-sensor-functions.
	(erc-insert-timestamp-right): Remove unused vars `current-window' and
	`indent'.
	* lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
	(gnus-update-group-mark-positions): Remove unused `topic' var.
	(gnus-group-insert-group-line): Remove unused var `header'.
	(gnus-group--setup-tool-bar-update): New function.
	(gnus-group-insert-group-line): Use it.
	(gnus-group-update-eval-form): Declare local
	dynamically-bound variables.
	(gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
	* lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
	(gnus-group-prepare-topics, gnus-topic-update-topic)
	(gnus-topic-change-level, gnus-topic-catchup-articles)
	(gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
	Use inhibit-read-only.
	(gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
	(gnus-topic-mode): Use define-minor-mode and derived-mode-p.
	* lisp/textmodes/reftex-index.el (reftex-display-index):
	Use cursor-intangible-mode if available.
	(reftex-index-post-command-hook): Check cursor-intangible.
	* lisp/textmodes/reftex-toc.el (reftex-toc):
	Use cursor-intangible-mode if available.
	(reftex-toc-recenter, reftex-toc-post-command-hook):
	Check cursor-intangible.
	* lisp/textmodes/sgml-mode.el: Use lexical-binding.
	(sgml-tag): Use cursor-sensor-functions instead of point-entered.
	(sgml-tags-invisible): Use with-silent-modifications and
	inhibit-read-only.  Enable cursor-sensor-mode.
	(sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
	calling convention of cursor-sensor-functions.
	* lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
	(table-point-entered-cell-hook, table-point-left-cell-hook):
	Don't autoload.
	(table-cell-entered-state): Remove var.
	(table--put-cell-point-entered/left-property)
	(table--remove-cell-properties):
	Use cursor-sensor-functions rather than point-entered/left.
	(table--point-entered/left-cell-function): Merge
	table--point-entered-cell-function and table--point-left-cell-function
	and adjust to calling convention of cursor-sensor-functions.

	Update ldef-boots.el

	* lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.

	* doc/misc/eieio.texi: Don't advertise now obsolete constructs

	Collapse successive char deletions in the undo log
	* src/cmds.c (remove_excessive_undo_boundaries): New function,
	extracted from Fself_insert_command.
	(Fdelete_char, Fself_insert_command): Use it.
	* src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
	* src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.

	xterm and OSC 52: Add NEWS entry, and tweak the code
	* lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
	to top-level.
	(terminal-init-xterm-activate-set-selection): Set a terminal property.
	(xterm--set-selection): Use it instead of checking the value of
	`terminal-initted'.  Don't use string-bytes.

2015-04-13  Philipp Stephani  <p.stephani2@gmail.com>

	xterm.el: Implement OSC-52 functionality for setting the X selection
	* lisp/term/xterm.el (xterm-max-cut-length): New var.
	(xterm--set-selection, terminal-init-xterm-activate-set-selection):
	New funs.
	(terminal-init-xterm, xterm--version-handler): Use them.

2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	Remove left over code from when we used an obsolete/loaddefs.el file
	* lisp/subr.el (do-after-load-evaluation): Remove left over code from
	when we used an obsolete/loaddefs.el file.

	* lisp/cedet/semantic/fw.el (semantic-exit-on-input)
	(semanticdb-without-unloaded-file-searches): Use declare.
	(semantic-fw-add-edebug-spec): Remove.

	* lisp/completion.el (completion-lisp-mode-hook):
	Use completion-separator-chars rather than local key binding.

	* src/*.c: Set deactivate_mark buffer-locally
	(Bug#20260)
	* src/insdel.c (prepare_to_modify_buffer_1):
	* src/fileio.c (Finsert_file_contents): Set deactivate_mark
	buffer-locally.

2015-04-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Keep symmetry on sexp navigation with parens
	(Bug#19954)
	* lisp/progmodes/python.el
	(python-nav--forward-sexp): Add argument skip-parens-p.
	(python-nav-forward-sexp, python-nav-backward-sexp)
	(python-nav-forward-sexp-safe)
	(python-nav-backward-sexp-safe): Use it.
	* test/automated/python-tests.el
	(python-nav-forward-sexp-1): Fix test.

2015-04-12  João Távora  <joaotavora@gmail.com>

	Don't use `setq-local' in Gnus code
	This might break upstream builds with older Emacsen
	* lisp/gnus/message.el (message-mode): Use `set' and
	`make-local-variable' instead of `setq-local'.

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

	Update Makefile.in's .PHONY dependencies
	* Makefile.in (change-history-commit, master-branch-is-current)
	(no-ChangeLog): Now phony.

	Remove configure's --with-mmdf option
	* configure.ac (MAIL_USE_MMDF): Remove.
	* etc/NEWS: Document this.
	* lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
	(Bug#20308)

	* doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
	That way, 'make install' won't think it's a man page.
	Reported by Ashish SHUKLA in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00656.html

	Improve 'make change-history' prereq tests
	* Makefile.in (gen_origin): Fix to match what's in the master branch.
	(no-ChangeLog, master-branch-is-current): New rules.
	(change-history): Depend on them, to avoid similar future problems.
	Escape the local-variables string to pacify Emacs when editing
	Makefile.in.

2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>

	* test/automated/package-test.el (with-package-test):
	Kill Packages buffer.

	* lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
	(package-menu--prompt-transaction-p): Prompt for "Delete" first,
	"Upgrade" last, and use capitalized instead of all-caps.

	* lisp/emacs-lisp/package.el: Completely silence async operations.
	(package--make-autoloads-and-stuff): Silence autoloads.
	(package--save-selected-packages): New function, silences
	`customize-save-variable'.
	(package--user-selected-p, package-install-from-buffer)
	(package-delete, package-install): Use it.
	(package-install-from-archive)
	(package-menu--perform-transaction): Silence.
	(package-menu-execute): Feedback when operation starts.

	Use delay-mode-hooks when visiting the init-file
	* lisp/emacs-lisp/package.el (package--ensure-init-file):
	delay-mode-hooks.
	* lisp/cus-edit.el (custom-save-all): delay-mode-hooks.

	* lisp/files.el: Only message when saving if save-silently is nil.
	(save-silently): New variable.
	(files--message): New function.
	(find-file-noselect, save-buffer, basic-save-buffer)
	(basic-save-buffer-2, save-some-buffers, not-modified)
	(append-to-file): Use them.

2015-04-12  Johan Bockgård  <bojohan@gnu.org>

	Support debug declarations in pcase macros
	* lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
	(pcase-UPAT): Use it.  Remove "`".
	(pcase--edebug-match-macro): New function.
	(pcase-defmacro): Support debug declarations.
	* lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
	* lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
	* lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
	Add debug declaration.

	pcase.el: Edebug support for `app' and vector patterns
	* lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
	(pcase-UPAT): Use it.  Support `app' patterns.
	(pcase-QPAT): Support vector patterns.

	edebug.el: Disambiguate vector specifications
	* lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
	`(vector ...)' as a vector specification, not as a sublist.

	(gnus-summary-refer-thread): Don't clobber unread articles
	This fixes a bug where `A T' causes "random" articles to become marked
	as read.
	* lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
	gnus-newsgroup-unreads remains sorted.

	mouse-sel.el: Fix mouse-sel-get-selection-function
	* lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
	Use gui--last-selected-text-primary instead of no longer existing
	gui-last-selected-text.

	* lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.

	* lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.

2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.

	* lisp/emacs-lisp/package.el (list-packages): Call refresh in
	right buffer.

	* lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
	(byte-compile--interactive): New var.
	(byte-compile--message): New function.
	(byte-compile-log-1, byte-force-recompile)
	(byte-recompile-directory, byte-recompile-file)
	(byte-compile-file, compile-defun)
	(byte-compile-file-form-defmumble, byte-compile)
	(byte-compile-file-form-defalias, display-call-tree): Use it.

	* lisp/files.el: Don't message when nothing happened.
	(save-some-buffers, basic-save-buffer): Before messaging to say
	"nothing was saved" check if (called-interactively-p 'any).

2015-04-12  João Távora  <joaotavora@gmail.com>

	Summary: Improve sexp-based movement in message-mode
	Works by giving citations and smileys a different syntax.  This helps
	modes like `show-paren-mode', `electric-pair-mode', and C-M-*
	sexp-based movement.
	* lisp/gnus/message.el (message--syntax-propertize): New function.
	(message-mode): Set syntax-related vars.
	(message-smileys): New variable.
	* test/automated/message-mode-tests.el: New file

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

	Use bool for boolean in window.c
	* src/window.c: Omit unnecessary static function decls.
	(adjust_window_count, select_window, Fselect_window)
	(window_body_width, Fwindow_body_height, Fwindow_body_width)
	(set_window_hscroll, check_window_containing, Fwindow_at)
	(Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
	(unshow_buffer, replace_window, recombine_windows)
	(add_window_to_list, candidate_window_p, next_window)
	(Fnext_window, Fprevious_window, window_loop, check_all_windows)
	(Fget_buffer_window, Fdelete_other_windows_internal)
	(replace_buffer_in_windows_safely, set_window_buffer)
	(Fset_window_buffer, Fforce_window_update)
	(temp_output_buffer_show, make_parent_window)
	(window_resize_check, window_resize_apply, Fwindow_resize_apply)
	(resize_frame_windows, Fsplit_window_internal)
	(Fdelete_window_internal, grow_mini_window, shrink_mini_window)
	(Fresize_mini_window_internal, mark_window_cursors_off)
	(window_scroll, window_scroll_pixel_based)
	(window_scroll_line_based, scroll_command, Fscroll_other_window)
	(Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
	(Fmove_to_window_line, Fset_window_configuration)
	(delete_all_child_windows, apply_window_adjustment)
	(set_window_fringes, set_window_scroll_bars)
	(Fset_window_vscroll, foreach_window, foreach_window_1)
	(compare_window_configurations, Fcompare_window_configurations):
	Prefer 'bool', 'true', and 'false' for booleans.
	* src/window.h (WINDOW_MODE_LINE_LINES)
	(WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.

2015-04-11  Artur Malabarba  <bruce.connor.am@gmail.com>

	Speed up byte-compilation and autoload generation by avoiding mode-hooks
	This prevents emacs-lisp-mode-hook from being run every time an
	autoload file is generated, which can account for a fraction of
	package installation time depending on the hooks the user has
	configured.
	* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
	* lisp/emacs-lisp/autoload.el (autoload-find-file)
	(autoload-find-generated-file): Use delay-mode-hooks.

	* lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
	(package-menu-refresh): Respect async and do new package checking.
	(list-packages): Use `package-menu-refresh' instead of repeating code.

	* lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
	(package--quick-help-keys): New variable.
	(package--prettify-quick-help-key): New function.
	(package-menu-quick-help): Use it.

	* lisp/emacs-lisp/package.el: Fix initially wrong compat table.
	(package--build-compatibility-table): Require finder.

	* test/automated/package-test.el: Fix new test.

	* lisp/emacs-lisp/package.el: Silence async operations.
	(package--silence): New variable.
	(package--message): New function.
	(package-import-keyring, package-refresh-contents)
	(package-compute-transaction, package-install, package-delete)
	(package-menu--perform-transaction, package-menu-execute): Use it.

	* test/automated/package-test.el: Test async functionality.
	(package-test-update-archives-async): New test.

2015-04-11  Daiki Ueno  <ueno@gnu.org>

	Utilize `make-process' in epg.el
	* lisp/epg.el (epg-error-output): Abolish.
	(epg-context): New slot `error-buffer'.
	(epg--start): Use `make-process' and `make-pipe-process'.
	(epg--process-filter): Remove code separating stderr from stdout.
	(epg-wait-for-completion): Simplify `error-output' handling.
	(epg-reset): Dispose error buffer.

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

	* .gitignore: Ignore doc temps and outputs.

	Port commit-msg to MSYS Bash+Gawk
	See Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00610.html
	* build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
	(cent_sign, print_at_sign, at_sign): Revert previous change.
	(print_at_sign): Prepend "BEGIN".
	(at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.

	Port commit-msg to broken MS-Windows shell
	* build-aux/git-hooks/commit-msg (cent_sign):
	Just use UTF-8 here rather than ASCII + printf, as the latter fails
	on a broken MS-Windows shell.  Reported by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00592.html

2015-04-11  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)

	Support GnuTLS v3.4 and later on MS-Windows
	* src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
	* lisp/term/w32-win.el (dynamic-library-alist): Determine which
	GnuTLS DLL to load according to value of libgnutls-version.
	(Bug#20294)

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

	Minor quoting etc. fixes to misc manuals
	Fix some minor quoting and spacing issues.  Distinguish more
	clearly among grave accent and apostrophe (which are ASCII) and
	single quote (which is not).  Prefer the standard terms
	"apostrophe" and "grave accent" to alternative names that can be
	confusing.  Use apostrophes to single-quote ASCII text.
	* doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
	rather than approximating it in ASCII with grave accent.

2015-04-11  Daiki Ueno  <ueno@gnu.org>

	Respect more keyword args in `make-process'
	* src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
	keywords as documented.

2015-04-10  Dmitry Gutov  <dgutov@yandex.ru>

	Extract ChangeLog entries when committing a directory
	* lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
	* lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
	Add a FIXME comment.
	(log-edit-changelog-entries): Extract from
	`log-edit-changelog-entries', handle FILE being a directory
	(https://lists.gnu.org/r/emacs-devel/2015-04/msg00555.html).

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

	Fix problems found by --enable-gcc-warnings
	* src/process.c (create_process, Fmake_pipe_process)
	(Fmake_network_process): Omit unused locals.

	Fix commit-msg to handle scissors lines
	* build-aux/git-hooks/commit-msg:
	Ignore every line after a scissors line, such as a line generated
	by 'git commit -v'.  Problem reported by Johan Bockgård in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00580.html

	port commit-msg to Gawk 3.0.4 (1999)
	* build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
	(print_at_sign, at_sign): New vars.  Use them to avoid problems
	Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS.  See:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00566.html

	Have commit-msg report commit failure
	* build-aux/git-hooks/commit-msg: If the commit is aborted,
	say so.  Simplify by doing this at the end.  Problem reported
	by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00566.html

2015-04-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>

	Clean up LDAP Configuration section of EUDC manual
	* doc/misc/eudc.texi: Combine indices.
	(LDAP Configuration): Use command markup.  Add index entries.
	Change formatting.  Wrap long lines.  Add noindent markup.

2015-04-10  Daiki Ueno  <ueno@gnu.org>

	Add facility to collect stderr of async subprocess
	* src/w32.h (register_aux_fd): New function declaration.
	* src/w32.c (register_aux_fd): New function.
	* src/process.h (struct Lisp_Process): New member stderrproc.
	* src/process.c (PIPECONN_P): New macro.
	(PIPECONN1_P): New macro.
	(Fdelete_process, Fprocess_status, Fset_process_buffer)
	(Fset_process_filter, Fset_process_sentinel, Fstop_process)
	(Fcontinue_process): Handle pipe process specially.
	(create_process): Respect p->stderrproc.
	(Fmake_pipe_process): New function.
	(Fmake_process): Add new keyword argument :stderr.
	(wait_reading_process_output): Specially handle a pipe process when
	it gets an EOF.
	(syms_of_process): Register Qpipe and Smake_pipe_process.
	* doc/lispref/processes.texi (Asynchronous Processes): Document
	`make-pipe-process' and `:stderr' keyword of `make-process'.
	* lisp/subr.el (start-process): Suggest to use `make-process' handle
	standard error separately.
	* test/automated/process-tests.el (process-test-stderr-buffer)
	(process-test-stderr-filter): New tests.
	* etc/NEWS: Mention new process type `pipe' and its usage with the
	`:stderr' keyword of `make-process'.

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

	Minor quoting etc. fixes to lispref manual
	* doc/lispref/tips.texi (Documentation Tips):
	Distinguish more clearly among grave accent, apostrophe,
	and single quote.
	* doc/lispref/README, doc/lispref/buffers.texi:
	* doc/lispref/commands.texi, doc/lispref/control.texi:
	* doc/lispref/customize.texi, doc/lispref/display.texi:
	* doc/lispref/elisp.texi, doc/lispref/files.texi:
	* doc/lispref/frames.texi, doc/lispref/hash.texi:
	* doc/lispref/help.texi, doc/lispref/internals.texi:
	* doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
	* doc/lispref/markers.texi, doc/lispref/modes.texi:
	* doc/lispref/nonascii.texi, doc/lispref/objects.texi:
	* doc/lispref/os.texi, doc/lispref/positions.texi:
	* doc/lispref/strings.texi, doc/lispref/syntax.texi:
	* doc/lispref/text.texi, doc/lispref/tips.texi:
	* doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
	Use American-style double quoting in ordinary text,
	and quote 'like this' when single-quoting in ASCII text.
	Also, fix some minor spacing issues.

2015-04-10  Michael Albinus  <michael.albinus@gmx.de>

	Handle symlinked test directory in tramp-tests.el
	* test/automated/tramp-tests.el (tramp-test18-file-attributes)
	(tramp--test-check-files): Use `file-truename' for directories.

2015-04-10  Eli Zaretskii  <eliz@gnu.org>

	Fix 'recenter' when visual-line-mode is turned on
	* src/window.c (Frecenter): Use the same code for GUI and TTY
	frames alike; use vmotion only for "initial" frames.  This is
	because vmotion doesn't support visual-line-mode.  Rewrite the
	'iarg >= 0' case to use move_it_* functions instead of using
	vmotion, for the same reason.  Fix the clipping of the argument
	value to support scroll-margin in all cases and avoid unwarranted
	recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
	https://lists.gnu.org/r/help-gnu-emacs/2015-04/msg00092.html,
	which see.

2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/abbrev.el (define-abbrev-table): Refine last change.

	* lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
	use of c[ad]+r", so as to keep the "cl-" prefix on all
	cl-lib definitions.

	* lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
	Use inhibit-point-motion-hooks.

	* lisp/cedet/semantic: Remove some dead code.
	* lisp/cedet/semantic/util-modes.el
	(semantic-stickyfunc-header-line-format): Emacs<22 is not supported
	any more.
	* lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
	not supported any more.
	(semantic-safe): Use `declare'.
	* lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
	(semantic-tag-intangible-p): Remove unused functions.
	* lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
	Remove unused function.

	* lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
	(gnus-article-hide-text, gnus-article-unhide-text)
	(gnus-article-unhide-text-type): Remove special handling of
	`intangible' since that property is not used any more.
	(gnus-article-treat-body-boundary): Use gnus-hidden-properties.

2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>

	Use the VC root in `log-edit-listfun'
	* lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
	`log-edit-listfun'.

2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>

	Fix description of Unix time, mention new function.
	* lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
	Unix time.
	* doc/misc/calc.texi (Date Forms): Fix description of Unix time.
	(Basic Operations on Units): Mention `calc-convert-exact-units'.

2015-04-09  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el: Use mode-line-process for notification.

2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
	Don't add newline after the last entry.

2015-04-09  Simen Heggestøyl  <simenheg@gmail.com>

	css-mode.el: Add "not" pseudo-class
	(Bug#20267)
	* lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
	list of CSS pseudo-classes.

2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".

2015-04-09  Michael Albinus  <michael.albinus@gmx.de>

	Stop messing with the EMACS env var
	* doc/emacs/misc.texi (Interactive Shell): Remove description of
	EMACS env var.

2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>

	Adapt 'make change-history' to coding cookie
	* Makefile.in (change-history): Adjust to change of format of
	ChangeLog file, which now has a coding cookie before an indented
	copyright notice.

2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>

	Adapt 'make change-history' to coding cookie
	* Makefile.in (change-history): Adjust to change of format of
	ChangeLog file, which now has a coding cookie before an indented
	copyright notice.

	gitlog-to-changelog coding cookie and mv -i
	* build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
	for copyright notice prototype, so that we get a proper "coding:"
	cookie.  Use 'mv -i' to avoid unconditionally overwriting an
	existing ChangeLog.  Problems reported by Eli Zaretskii in:
	https://lists.gnu.org/r/emacs-devel/2015-04/msg00504.html

	Merge from gnulib
	* build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
	2015-04-09 gitlog-to-changelog: port to MS-Windows

2015-04-09  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)

	* lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
	(Bug#20212)

2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	Stop messing with the EMACS env var
	(Bug#20202)
	* lisp/net/tramp-sh.el (tramp-remote-process-environment):
	* lisp/comint.el (comint-exec-1):
	* lisp/term.el (term-exec-1): Don't set EMACS envvar.
	* lisp/progmodes/compile.el (compilation-start): Same and bring
	INSIDE_EMACS's format in line with other users.

	css-mode.el (css-smie-rules): Fix indentation after complex selectors
	(Bug#20282)
	* lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
	inner structure of selectors.

2015-04-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Indent docstring lines to base-indent
	(Bug#19595)
	Thanks to immerrr <immerrr@gmail.com> for reporting and providing
	an initial patch.
	* lisp/progmodes/python.el
	(python-indent-context): Add :inside-docstring context.
	(python-indent--calculate-indentation): Handle :inside-docstring.
	(python-indent-region): Re-indent docstrings.
	* test/automated/python-tests.el (python-indent-region-5)
	(python-indent-inside-string-2): Fix tests.

	python.el: Increase native completion robustness
	(Bug#19755)
	Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
	this and providing useful ideas.
	* lisp/progmodes/python.el
	(python-shell-completion-native-output-timeout): Increase value.
	(python-shell-completion-native-try-output-timeout): New var.
	(python-shell-completion-native-try): Use it.
	(python-shell-completion-native-setup): New readline setup avoids
	polluting current context, ensures output when no-completions are
	available and includes output end marker.
	(python-shell-completion-native-get-completions): Trigger with one
	tab only.  Call accept-process-output until output end is found or
	python-shell-completion-native-output-timeout is exceeded.

2015-04-08  Samer Masterson  <samer@samertm.com>

	* lisp/eshell: Make backslash a no-op in front of normal chars
	(Bug#8531)
	* lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
	(eshell-parse-backslash): Return escaped character after backslash
	if it is special.  Otherwise, if the backslash is not in a quoted
	string, ignore the backslash and return the character after; if
	the backslash is in a quoted string, return the backslash and the
	character after.
	* test/automated/eshell.el (eshell-test/escape-nonspecial)
	(eshell-test/escape-nonspecial-unicode)
	(eshell-test/escape-nonspecial-quoted)
	(eshell-test/escape-special-quoted): Add tests for new
	`eshell-parse-backslash' behavior.

2015-04-08  Gustav Hållberg  <gustav@gmail.com>  (tiny change)

	* lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
	after the file name.
	(Bug#20276)

2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>

	Minor quoting etc. fixes to Emacs manual
	* doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
	* doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
	* doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
	* doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
	* doc/emacs/indent.texi, doc/emacs/macos.texi:
	* doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
	* doc/emacs/programs.texi, doc/emacs/rmail.texi:
	* doc/emacs/search.texi, doc/emacs/trouble.texi:
	* doc/emacs/vc1-xtra.texi:
	Use American-style double quoting in ordinary text,
	and quote 'like this' when single-quoting in ASCII text.
	Also, fix some minor spacing issues.

	Minor quoting etc. fixes to elisp intro
	* doc/lispintro/emacs-lisp-intro.texi: Consistently use
	American-style double quoting in ordinary text.  In ASCII text,
	consistently quote 'like this' instead of `like this', unless
	Emacs requires the latter.

2015-04-08  Dmitry Gutov  <dgutov@yandex.ru>

	* CONTRIBUTE: Mention log-edit-insert-changelog.

	* CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.

2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>

	* doc/misc/calc.texi (Summary): Avoid '@:' when usurped.

2015-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
	Fix inheritance of initargs.  (Bug#20270)

2015-04-08  Artur Malabarba  <bruce.connor.am@gmail.com>

	* lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
	while downloading information.

	* lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
	(package--ensure-init-file): Check file contents before visiting.
	(package-initialize): Call it.
	(package-install-from-buffer, package-install): Don't call it.

2015-04-08  Eli Zaretskii  <eliz@gnu.org>

	* src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
	(Bug#17517)

2015-04-08  Michael Albinus  <michael.albinus@gmx.de>

	* lisp/net/tramp-cache.el (tramp-flush-file-property):
	Fix nasty scoping bug.

2015-04-08  Tassilo Horn  <tsdh@gnu.org>

	Add notice to visual commands section
	* doc/misc/eshell.texi (Input/Output): Add notice that some tools
	such as git call less with its -F option which omits pagination if
	the contents is less than one page long.  This interferes with
	eshell's visual (sub-)commands.

2015-04-07  Dmitry Gutov  <dgutov@yandex.ru>

	* lisp/ffap.el (ffap-string-at-point-mode-alist): Support
	environment variable expansion in file names.  (Bug#19839)

2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer double-quote to accent-grave in man pages

2015-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	(Bug#20257)
	* lisp/files.el (set-visited-file-name): Clear auto-save if nil.

2015-04-07  Ivan Shmakov  <ivan@siamics.net>

	Update etc/PROBLEMS.
	* etc/PROBLEMS: Mention visible-cursor; a few more mentions of
	~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
	'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
	respectively); other minor updates and tweaks.  (Bug#20011)

2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>

	Add doc strings for some Isearch state vars
	* lisp/misearch.el (multi-isearch-buffer-list)
	(multi-isearch-file-list): Add doc strings.
	(Bug#20232)

2015-04-07  Alan Mackenzie  <acm@muc.de>

	Always mark "<" and ">" in #include directives with text properties.
	* lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
	"anchored matcher" with an invocation of
	c-make-font-lock-search-function to allow fontification when there's
	no trailing space on an "#include <..>" line.

2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>

	Generate a ChangeLog file from commit logs
	* .gitignore: Add 'ChangeLog'.
	* build-aux/gitlog-to-changelog: New file, from Gnulib.
	* build-aux/gitlog-to-emacslog: New file.
	* CONTRIBUTE: Document the revised workflow.
	* Makefile.in (clean): Remove *.tmp and etc/*.tmp*
	instead of just special cases.
	(CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
	(ChangeLog, unchanged-history-files, change-history)
	(change-history-commit): New rules.
	* admin/admin.el (make-manuals-dist--1):
	Don't worry about doc/ChangeLog.
	* admin/authors.el: Add a FIXME.
	* admin/make-tarball.txt:
	* lisp/calendar/icalendar.el:
	* lisp/gnus/deuglify.el:
	* lisp/obsolete/gulp.el:
	* lwlib/README:
	Adjust to renamed ChangeLog history files.
	* admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
	* admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
	Remove obsolete discussion of merging ChangeLog files.
	New section "Maintaining ChangeLog history".
	* build-aux/git-hooks/pre-commit:
	Reject attempts to commit files named 'ChangeLog'.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* make-dist: Make and distribute top-level ChangeLog if there's a
	.git directory.  Distribute the new ChangeLog history files
	instead of scattered ChangeLog files.  Distribute the new files
	gitlog-to-changelog and gitlog-to-emacslog.
	(Bug#19113)

	Rename ChangeLogs for gitlog-to-changelog
	This patch was implemented via the following shell commands:
	find * -name ChangeLog |
	sed 's,.*,git mv & &.1,
	s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
	s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
	s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
	s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
	s, src/ChangeLog\.1$, src/ChangeLog.13,' |
	sh
	git commit -am"[this commit message]"

This file records repository revisions from
commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
commit 3a34412caae002accd0fc7a7fc0b718c2f34159b (inclusive).
See ChangeLog.1 for earlier changes.

;; Local Variables:
;; coding: utf-8
;; End:

  Copyright (C) 2015-2023 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 <https://www.gnu.org/licenses/>.