/usr/share/jed/doc/hlp/libfuns.hlp is in jed-common 1:0.99.19-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | bufed
SYNOPSIS
bufed
DESCRIPTION
Mode designed to aid in navigating through multiple buffers
patterned somewhat after dired.
To invoke Bufed, do `M-x bufed' or bind to `C-x C-b' (emacs)
`g' Update the buffer listing.
`k' Kill the buffer described on the current line, like typing
`M-x kill_buffer' and supplying that buffer name.
`s' Save the buffer described on the current line.
`f', `SPC', `CR', `TAB'
Visit the buffer described on the current line.
`f' and `SPC' will create a new window if required.
`CR' will use the current window.
`TAB' will revert to a single window.
`Q' Quit bufed mode.
--------------------------------------------------------------
save_buffers
SYNOPSIS
save_buffers
USAGE
Void save_buffers ();
DESCRIPTION
Save all modified buffers that are associated with a file without
user intervention.
--------------------------------------------------------------
next_buffer
SYNOPSIS
Cycle through the list of buffers
USAGE
Void next_buffer ()
DESCRIPTION
Switches to the next in the list of buffers.
NOTES
(This is the same function as mouse_next_buffer in mouse.sl)
SEE ALSO
buffer_list, list_buffers
--------------------------------------------------------------
save_buffer_as
SYNOPSIS
Save the buffer to a different file/directory
USAGE
Void save_buffer_as(force_overwrite=0)
DESCRIPTION
Asks for a new filename and saves the buffer under this name.
Asks before overwriting an existing file, if not called with
force_overwrite=1.
Sets readonly flag to 0, becouse if we are able to write,
we can also modify.
SEE ALSO
save_buffer, write_buffer
--------------------------------------------------------------
C_Autoinsert_CPP_Comments
SYNOPSIS
Control insertion of C++ comments
DESCRIPTION
In c-mode, if a line starts with //, then pressing return will cause the
next line to also start with //. This feature is useful for writing
multiple comment lines using C++ style comments.
SEE ALSO
c_mode
--------------------------------------------------------------
C_Switch_Offset
SYNOPSIS
Additional indentation to switch blocks
USAGE
C_Switch_Offset = 0
DESCRIPTION
This function may be used to increase the indentation of code
within a `switch' block. Since this also affects the
indentation of `case' statements, `C_Colon_Offset' may
need to be adjusted.
SEE ALSO
C_Colon_Offset
--------------------------------------------------------------
C_Outer_Block_Offset
SYNOPSIS
Indentation offset for code in an outer block
USAGE
C_Outer_Block_Offset = 0
DESCRIPTION
The value of this variable may be used to adjust the indentation of
code in an outer block. An outer block is one that has its opening
brace at the start of a line. The values of this variable does not
affect the indentation of C++ classes and namespaces.
EXAMPLE
NOTES
SEE ALSO
--------------------------------------------------------------
C_Namespace_Offset
SYNOPSIS
C_Namespace_Offset
DESCRIPTION
Integer C_Namespace_Offset = 3;
This variable may be changed to adjust the indentation of members
inside of a class declaration block.
SEE ALSO
c_mode
SEE ALSO
C_BRA_NEWLINE, C_BRACE, C_Class_Offset, C_INDENT, C_Namespace_Offset
--------------------------------------------------------------
C_Class_Offset
SYNOPSIS
C_Class_Offset
DESCRIPTION
Integer C_Class_Offset = 3;
This variable may be changed to adjust the indentation of members
inside of a class declaration block.
SEE ALSO
c_mode
SEE ALSO
C_BRA_NEWLINE, C_BRACE, C_INDENT, C_Namespace_Offset
--------------------------------------------------------------
C_Param_Offset_Max
SYNOPSIS
Control indentation of continued parameter list
USAGE
Integer C_Param_Offset_Max = -1
DESCRIPTION
This variable may be changed to adjust the indentation of parameters
in a funcion call that extends over multiple lines.
If the value is less than 0, the feature is off, otherwise
it holds the max number of spaces to indent the parameters on
the continuation line(s).
SEE ALSO
c_mode
SEE ALSO
C_BRA_NEWLINE, C_BRACE, C_INDENT
--------------------------------------------------------------
C_Macro_Indent
SYNOPSIS
Control indentation of pre-processor macros
USAGE
Integer C_Macro_Indent = 3
DESCRIPTION
This variable may be changed to adjust the indentation of
pre-processor macros.
SEE ALSO
c_mode
SEE ALSO
C_INDENT
--------------------------------------------------------------
C_Bracket_Indent
SYNOPSIS
Control indentation within lone brackets
USAGE
Integer C_Bracket_Indent = 4
DESCRIPTION
Control the alignment of within parenthetic content that start with a lone
left parenthesis. A value greater than zero uses C_INDENT to determine the
indentation level. Additionally, common operators are outdented.
eg,
while
(
expr1
+ expr2
== expr3
) ...
A value less than 1 turns this feature off.
SEE ALSO
c_mode
SEE ALSO
C_INDENT
--------------------------------------------------------------
C_Label_Indents_Relative
SYNOPSIS
Set labels to indent relative to block
USAGE
C_Label_Indents_Relative = 0;
DESCRIPTION
If the value of this variable is non-zero, then label statements
(goto targets) will get indented by the value of the
`C_Label_Offset' variable relative to the enclosing block.
Otherwise, `C_Label_Offset' will be interpreted as an absolute
offset from the beginning of the line.
SEE ALSO
C_Label_Offset, C_Colon_Offset
--------------------------------------------------------------
C_Label_Offset
SYNOPSIS
Controls the indentation of label statements
USAGE
C_Label_Offset = 0;
DESCRIPTION
The value of this variable controls the indentation of (goto) label
statements. It is interpreted as an absolute or relative offset
according to the `C_Label_Indents_Relative' variable. It does
not affect the indentation of `case' statements.
SEE ALSO
C_Label_Indents_Relative, C_Colon_Offset
--------------------------------------------------------------
c_mode
SYNOPSIS
c_mode
USAGE
Void cmode ();
DESCRIPTION
This is a mode that is dedicated to facilitate the editing of C language files.
Functions that affect this mode include:
function: default binding:
c_insert_bra {
c_insert_ket }
newline_and_indent RETURN
indent_line TAB
goto_match Ctrl-\
c_make_comment ESC ;
c_top_of_function ESC Ctrl-A
c_end_of_function ESC Ctrl-E
c_mark_function ESC Ctrl-H
Variables affecting indentation include:
C_INDENT
C_BRACE
C_BRA_NEWLINE
C_CONTINUED_OFFSET
C_Comment_Column (used by c_make_comment)
C_Class_Offset
C_Switch_Offset
C_Colon_Offset
C_Namespace_Offset
Hooks: `c_mode_hook'
SEE ALSO
c_set_style
--------------------------------------------------------------
c_set_style
SYNOPSIS
Set the indentation style for C mode
USAGE
Void c_set_style (style)
DESCRIPTION
This function sets the C mode indentation variables appropriate for
a common indentation style. Currently supported styles include:
"gnu" Style advocated by GNU
"k&r" Style popularized by Kernighan and Ritchie
"bsd" Berkeley style
"foam" Derivate bsd-style used in OpenFOAM
"linux" Linux kernel indentation style
"jed" Style used by the author
"kw" The Kitware style used in ITK, VTK, ParaView, ...
SEE ALSO
c_mode
--------------------------------------------------------------
get_comment_info
SYNOPSIS
Get comment information according to mode
USAGE
Struct_Type = get_comment_info ( [mode] );
DESCRIPTION
Retrieves the comment information according to the optional `mode'
argument, or for the present mode if `mode' is not present.
Every mode that wants to use this function should provide comment information
using the `set_comment_info' function.
The returned value is a structure with the following fields:
cbeg % begin comment string
cend % end comment string
flags % flags
column % preferred column for comments
If comment information does not exist for the mode, then `NULL' will
be returned.
SEE ALSO
set_comment_info, comment_region, comment_line, uncomment_region
--------------------------------------------------------------
set_comment_info
SYNOPSIS
Set comment information for a mode
USAGE
set_comment_info ([mode,] cbeg, cend, flags)
DESCRIPTION
This function sets comment information for a specified mode. If the
optional mode argument is not present, the current mode will be used. The
other 3 required arguments represent the comment start string (`cbeg'),
the comment end string (`cend'), and an integer flags argument that
indications how these strings are to be used by the `comment_region'
function. In particular, `flags' is a bitmapped integer whose bits
have the following meaning:
0x01 : Comments will start at column defined by the region start,
otherwise comments will be indented to the level of the
first line in the region.
0x02 : Lines in the region will be padded out to the same column.
0x04 : Blank lines will be commented.
SEE ALSO
set_comment_info, comment_region, comment_line, uncomment_region
--------------------------------------------------------------
strncat
SYNOPSIS
strncat
USAGE
Void strncat (String a, String b, ..., Integer n);
DESCRIPTION
Returns concatenated string "abc..."
NOTES
This function is obsolete.
--------------------------------------------------------------
Compile_Default_Compiler
USAGE
variable Compile_Default_Compiler = "gcc";
DESCRIPTION
This variable specifies the default compiler to be assumed when parsing
error messages in the compile buffer. If not set, "gcc" is assumed.
Currently supported compilers include:
gcc (GNU C Compiler)
bcc (Borland C Compiler)
tcc (Turbo C Compiler)
ultrix_cc (Ultrix C Compiler)
hp_cc (HP C compiler)
sun_acc (Sun ANSI C compiler)
aix, xlc, xlf (Various AIX C compilers)
wcc (Watcom C compiler)
javac (Java Compiler)
vc (Microsoft Visual C)
NOTES
The primary purpose of this variable is to select a compiler prior to
loading compile.sl. Once compile.sl has been loaded, the value of this
variable has no effect. To switch compilers, the `compile_select_compiler'
function must be used.
SEE ALSO
compile_select_compiler, compile_add_compiler
--------------------------------------------------------------
auto_compression_mode
SYNOPSIS
Toggle auto-compression-mode
USAGE
auto_compression_mode ([Int_Type state [,&prev_state]])
DESCRIPTION
The `auto_compression_mode' function toggles the auto-compression-mode
on or off. When on, files whose names end with `.gz', `.Z', or
`.bz2' will automatically uncompressed when read in, and compressed
when written out.
--------------------------------------------------------------
cua_delete_word
SYNOPSIS
Delete the current word (or a defined region)
USAGE
Void cua_delete_word ()
DESCRIPTION
cua_delete_word is somewhat context sensitive:
* Delete from the current position to the end of a word.
* If there is just whitespace following the editing point, delete it.
* If there is any other non-word char, delete just one char.
* If a region is defined, delete it (instead of the above actions).
This way, you can do a "piecewise" deletion by repeatedly pressing
the same key-combination.
NOTES
This is actually the ide_delete_word function form Guido Gonzatos
ide.sl mode, put here to be usable also with other emulations.
SEE ALSO
delete_word, delete_cmd, cua_kill_region
--------------------------------------------------------------
repeat_search
SYNOPSIS
continue searching with last searchstring
USAGE
define repeat_search ()
SEE ALSO
LAST_SEARCH, search_forward, search_backward
--------------------------------------------------------------
cua_indent_region_or_line
SYNOPSIS
Indent the current line or (if defined) the region
USAGE
Void cua_indent_region_or_line ()
DESCRIPTION
Call the indent_line_hook for every line in a region.
If no region is defined, call it for the current line.
SEE ALSO
indent_line, set_buffer_hook, is_visible_mark
--------------------------------------------------------------
cua_escape_cmd
SYNOPSIS
Escape from a command/aktion
USAGE
cua_escape_cmd()
DESCRIPTION
Undo/Stop an action. If a region is defined, undefine it. Else
call kbd_quit.
SEE ALSO
kbd_quit
--------------------------------------------------------------
cua_escape_cmd
SYNOPSIS
Distinguish the ESC key from other keys starting with "\e"
USAGE
Void cua_escape_cmd()
DESCRIPTION
If there is input pending (i.e. if the keycode is multi-character),
"\e" will be put back to the input stream. Otherwise (if the
ESC key is pressed, "\e\e\e" is pushed back. With ALT_CHAR = 27, the Alt
key can be used as Meta-key as usual (i.e. press both ALT + <some-key>
to get the equivalent of the ESC <some-key> key sequence.
SEE ALSO
escape_cmd, one_press_escape, kbd_quit, map_input, setkey
--------------------------------------------------------------
cua_one_press_escape
SYNOPSIS
Redefine the ESC key to issue "\e\e\e"
USAGE
cua_one_press_escape()
DESCRIPTION
Dependend on the jed-version, either x_set_keysym or
meta_escape_cmd is used to map the ESC key to "\e\e\e"
EXAMPLE
To let the ESC key abort functions but retain bindings for
keystrings that start with "\e" do
cua_one_press_escape();
setkey ("cua_escape_cmd", "\e\e\e"); % Triple-Esc -> abort
NOTES
The function is experimental and has sideeffects if not using xjed.
For not-x-jed:
It uses the "^^" character for temporarily remapping, i.e. Ctrl-^ will
call cua_escape_cmd().
In order to work, it must be loaded before any mode-specific keymaps are
defined -- otherwise this modes will be widely unusable due to not
working cursor keys...!
It breaks functions that rely on getkey() (e.g. isearch, showkey, old
wmark(pre 99.16), ...)
It will not work in keybord macros and might fail on slow terminal links.
SEE ALSO
cua_escape_cmd, cua_escape_cmd, getkey, setkey, x_set_keysym
--------------------------------------------------------------
cua_save_buffer
SYNOPSIS
cua_save_buffer
USAGE
Void cua_save_buffer();
DESCRIPTION
Save current buffer.
--------------------------------------------------------------
Dabbrev_delete_tail
SYNOPSIS
Let completion replace word tail?
USAGE
Int_Type Dabbrev_delete_tail = 0
DESCRIPTION
Should the completion replace the part of the word behind the cursor?
SEE ALSO
dabbrev
--------------------------------------------------------------
Dabbrev_Default_Buflist
SYNOPSIS
Which buffers should dabbrev expand from?
USAGE
Int_Type Dabbrev_Default_Buflist = 0
DESCRIPTION
The buffer-list when dabbrev is called without argument
0 = current buffer,
1 = visible buffers (including the current),
2 = all buffers of same mode,
3 = all buffers,
4 = other visible buffers (excluding the current),
5 = all other buffers of same mode (excluding the current),
6 = all other buffers (excluding the current)
SEE ALSO
dabbrev
--------------------------------------------------------------
Dabbrev_Look_in_Folds
SYNOPSIS
Scan folds for expansions
USAGE
Int_Type Dabbrev_Look_in_Folds = 1
DESCRIPTION
Should dabbrev scan folded parts of the source buffer(s)
for expansions too?
SEE ALSO
dabbrev
--------------------------------------------------------------
Dabbrev_Case_Search
SYNOPSIS
Let dabbrev stick to case
USAGE
Int_Type Dabbrev_Case_Search = 1
DESCRIPTION
Should dabbrev consider the case of words when looking for expansions?
Will be overridden by a blocal variable "Dabbrev_Case_Search" or by the
mode-info variable "dabbrev_case_search".
SEE ALSO
dabbrev
--------------------------------------------------------------
dabbrev
SYNOPSIS
Complete the current word looking for similar words
USAGE
dabbrev([optional_argument])
DESCRIPTION
Takes the current stem (part of word before the cursor)
and scans the current buffer for words that begin with this stem.
The current word is expanded by the non-stem part of the finding.
Subsequent calls to dabbrev replace the last completion with the next
guess.
The search for completions takes place over a list of buffers specified
by the `Dabbrev_Default_Buflist' variable unless `dabbrev' has
been called with an argument. The optional argument may either be an
integer whose value is interpreted as for `Dabbrev_Default_Buflist',
or a string containing a newline separated list of buffer names to search.
The scan proceeds as follows:
foreach buffer in buflist
from cursor backwards to the beginning of the buffer
from cursor forwards to the end of the buffer
EXAMPLE
The current buffer contains the line
foo is better than foobar, foobase or foo
with the cursor at the end of the line.
dabbrev completes foo with foobase.
If called again (immediately) foobase is changed to foobar
If called once again, foobase is changed to foo and a message is
given: No more completions.
NOTES
You can use the optional argument to have keybindings to different
"flavours" of dabbrev.
setkey("dabbrev", "^A"); % expand from Dabbrev_Default_Buflist
setkey("dabbrev(1)", "\ea"); % expand from visible buffers
setkey("dabbrev(\"wordlist\")","\e^A"); % expand from the buffer "wordlist"
SEE ALSO
Dabbrev_Default_Buflist, Dabbrev_Look_in_Folds
--------------------------------------------------------------
dired
SYNOPSIS
dired
DESCRIPTION
Mode designed for maintaining and editing a directory.
To invoke Dired, do `M-x dired' or `C-x d' (emacs)
Dired will prompt for a directory name and get a listing of files in the
requested directory.
The primary use of Dired is to "flag" files for deletion and then delete
the previously flagged files.
`d' Flag this file for deletion.
`u' Remove deletion flag on this line.
DEL Move point to previous line and remove deletion flag.
`~' Flag all backup files for deletion.
`x' eXpunge all flagged files. Dired will show a list of the
files tagged for deletion and ask for confirmation before actually
deleting the files.
`r' Rename file on the current line; prompts for a newname
`m' Move tagged files to a new dir; prompts for dir name
`g' Update the entire contents of the Dired buffer
`f' Visit the file described on the current line, like typing
`M-x find_file' and supplying that file name. If current line is a
directory, runs dired on the directory and the old buffer is killed.
`v' View the file described on the current line in MOST mode.
`q' Quit dired mode.
`M-x dired_search'
use fsearch to perform a search through the files listed in the
dired buffer from the current point forward. `M-x dired_search'
from the visited file will revert to the dired buffer and continue
the search from the next file in the list.
all the usual motion commands plus some extras:
`C-n' `n' SPC
move point to the next line (at the beginning of the file name)
`C-p' `p'
move point to the previous line (at the beginning of the file name)
`M-x dired_kill_line' `^K' (emacs)
removes a line from the dired buffer
--------------------------------------------------------------
docbook_mode
SYNOPSIS
docbook_mode
USAGE
Void docbook_mode ();
DESCRIPTION
This mode is designed to facilitate the editing of Docbook 3.1 SGML files.
If a region is defined (i.e., if a mark is set), many SGML tags will
insert around the region; e.g. '<emphasis>' and '</emphasis>'. Tags are
inserted either using the Mode menu, or with a key combination resembling
the menu entry, e.g. ^Cce inserts <emphasis> (M&ode/&Character/<&emphasis>).
Functions that affect this mode include (Emacs mode assumed - IDE mode
uses ^Z instead of ^C):
sgml_bskip_tag ^C^B
sgml_skip_tag ^C^F
sgml_para ^CP
sgml_section ^CS
sgml_sect ^CN
insert $ ^C$
insert & ^C&
insert … ^C.
insert < ^C<
insert > ^C>
Variables affecting this mode include:
Variable Default value
SGML_INDENT 2
Sgml_Compile_PS_Cmd "db2ps"
Sgml_Compile_Pdf_Cmd "db2pdf"
Sgml_Compile_Html_Cmd "db2html"
Sgml_View_PS_Cmd "gv"
Sgml_View_Pdf_Cmd "gv"
Sgml_View_Html_Cmd "netscape"
To change the value of a variable, define that variable in .jedrc
before loading docbook.sl. For example:
variable SGML_INDENT = 3;
Hooks: `sgml_mode_hook'
--------------------------------------------------------------
edt_advance
SYNOPSIS
edt_advance
DESCRIPTION
ADVANCE - (4)
Sets the current direction to forward for the CHAR, WORD, LINE, EOL, PAGE,
SECT, SUBS, FIND, and FNDNXT keys. ADVANCE means that movement will be
toward the end of the buffer; that is, to the right and down.
--------------------------------------------------------------
edt_backup
SYNOPSIS
edt_backup
DESCRIPTION
BACKUP - (5)
Sets the cursor direction to backward for the CHAR, WORD, LINE, EOL, PAGE,
SECT, SUBS, FIND, and FNDNXT keys. BACKUP means that movement will be
toward the beginning of the buffer% that is, to the left and up.
--------------------------------------------------------------
edt_wdel
SYNOPSIS
edt_wdel
DESCRIPTION
DEL W - (-)
Deletes text from the cursor to the beginning of the next word, storing the
text in the delete word buffer.
--------------------------------------------------------------
edt_uwdel
SYNOPSIS
edt_uwdel
DESCRIPTION
UND W - (GOLD -)
Inserts the contents of the delete word buffer directly to the left of the
cursor.
--------------------------------------------------------------
edt_ldel
SYNOPSIS
edt_ldel
DESCRIPTION
DEL L - (PF4)
Deletes text from the cursor position to the end of the current line, including
the line terminator. If the cursor is positioned at the beginning of a line,
the entire line is deleted. The deleted text is saved in the delete line
buffer.
--------------------------------------------------------------
edt_uldel
SYNOPSIS
edt_uldel
DESCRIPTION
UND L - (GOLD PF4)
Inserts the contents of the delete line buffer directly to the left of the
cursor.
--------------------------------------------------------------
edt_find
SYNOPSIS
edt_find
DESCRIPTION
FIND - (GOLD PF3)
Searches for an occurrence of a string. Press the FIND key and then enter the
string using the main keyboard. End the string by pressing either the ADVANCE
or BACKUP key to set the direction of the search, or the ENTER key to search in
the current direction.
--------------------------------------------------------------
edt_findnxt
SYNOPSIS
edt_findnxt
DESCRIPTION
FNDNXT - (PF3)
Searches for the next occurrence of the search string previously entered with
the FIND key. The direction of the search is the current one (ADVANCE or
BACKUP).
--------------------------------------------------------------
edt_sect
SYNOPSIS
edt_sect
DESCRIPTION
SECT - (8)
Moves the cursor 16 lines (one section) forward or backward, depending on the
current direction (see ADVANCE and BACKUP). The cursor is moved to the
beginning of the appropriate line.
--------------------------------------------------------------
edt_page
SYNOPSIS
edt_page
DESCRIPTION
PAGE - (7)
Moves the cursor to the top of a page. A page is defined by a delimiter
string, which can be set by the SET ENTITY command. The default page
delimiter is the formfeed character (CTRL/L).
--------------------------------------------------------------
edt_append
SYNOPSIS
edt_append
DESCRIPTION
APPEND - (9)
Moves the select range to the end of the PASTE buffer. The select range is all
the text between the selected position (see SELECT) and the current cursor
position. If no SELECT has been made and the cursor is positioned on the
current search string, that string is appended.
--------------------------------------------------------------
edt_replace
SYNOPSIS
edt_replace
DESCRIPTION
REPLACE - (GOLD 9)
Deletes the select range and replaces it with the contents of the PASTE
buffer.
--------------------------------------------------------------
f90_mode
SYNOPSIS
f90_mode
DESCRIPTION
Mode designed for the purpose of editing F90 files.
After the mode is loaded, the hook 'f90_hook' is called.
Useful functions include:
Function: Default Binding:
f90_continue_newline ESC RETURN
indents current line, and creates a continuation line on next line.
f90_comment ESC ;
comments out current line
f90_uncomment ESC :
uncomments current line
f90_electric_label 0-9
Generates a label for current line or simply inserts a digit.
f90_next_statement ^C^N
moves to next f90 statementm skips comment lines
f90_previous_statement ^C^P
moves to previous f90 statement, skips comment lines
f90_ruler ^C^R
inserts a ruler above the current line. Press any key to continue
f90_beg_of_subprogram ESC ^A
moves cursor to beginning of current subroutine/function
f90_end_of_subprogram ESC ^E
moves cursor to end of current subroutine/function
f90_mark_subprogram ESC ^H
mark the current subroutine/function
Variables include:
F90_Continue_Char --- character used as a continuation character.
By default, its value is ">"
F90_Comment_String --- string used by 'f90_comment' to
comment out a line. The default string is "C ";
F90_Indent_Amount --- number of spaces to indent statements in
a block. The default is 2.
F90_Default_Format --- Either "fixed" or "free".
--------------------------------------------------------------
Fold_Bob_Eob_Error_Action
SYNOPSIS
Fold_Bob_Eob_Error_Action
USAGE
Integer Fold_Bob_Eob_Error_Action = 1;
DESCRIPTION
This value of this variable determines the what will happen upon
reaching the boundary of the current fold via the up/down keys.
If the value is 0, an error will be generated; if the value is 1,
the fold will be exited; otherwise, the next/previous fold will be
entered.
--------------------------------------------------------------
fortran_mode
SYNOPSIS
fortran_mode
DESCRIPTION
Mode designed for the purpose of editing FORTRAN files.
After the mode is loaded, the hook 'fortran_hook' is called.
Useful functions include
Function: Default Binding:
fortran_continue_newline ESC RETURN
indents current line, and creates a continuation line on next line.
fortran_comment ESC ;
comments out current line
fortran_uncomment ESC :
uncomments current line
fortran_electric_label 0-9
Generates a label for current line or simply inserts a digit.
fortran_next_statement ^C^N
moves to next fortran statementm skips comment lines
fortran_previous_statement ^C^P
moves to previous fortran statement, skips comment lines
fortran_ruler ^C^R
inserts a ruler above the current line. Press any key to continue
fortran_beg_of_subprogram ESC ^A
moves cursor to beginning of current subroutine/function
fortran_end_of_subprogram ESC ^E
moves cursor to end of current subroutine/function
fortran_mark_subprogram ESC ^H
mark the current subroutine/function
Variables include:
Fortran_Continue_Char --- character used as a continuation character.
By default, its value is "&"
Fortran_Comment_String --- string used by 'fortran_comment' to
comment out a line. The default string is "C ";
Fortran_Indent_Amount --- number of spaces to indent statements in
a block. The default is 2.
--------------------------------------------------------------
Help_Describe_Bindings_Show_Synopsis
SYNOPSIS
Used to control the searching of synopsis strings
USAGE
variable Help_Describe_Bindings_Show_Synopsis = 0;
DESCRIPTION
If the value of this variable is non-zero, the
`describe_bindings' function will search through the
documentation for synopsis strings and display the resulting strings
along with the key bindings. Since this can be a time consuming
process for slow computers or slow filesystems, this feature is
turned off by default.
EXAMPLE
variable Help_Describe_Bindings_Show_Synopsis = 1;
--------------------------------------------------------------
expand_keystring
SYNOPSIS
expand_keystring
USAGE
String expand_keystring (String key)
DESCRIPTION
This function takes a key string that is suitable for use in a 'setkey'
definition and expands it to a human readable form.
For example, it expands ^X to the form "Ctrl-X", ^[ to "ESC",
^[[A to "UP", etc...
SEE ALSO
setkey
--------------------------------------------------------------
History_File
SYNOPSIS
History_File
USAGE
String_Type History_File = "jed.his";
DESCRIPTION
The variable `History_File' is used by the function `history_save'
to know the file name in which to store all non-blank lines of the
mini-buffer. Its default value is "~/.jed-history" under Unix and
"~/jed.his" on other platforms.
SEE ALSO
history_load, history_save
--------------------------------------------------------------
history_load
SYNOPSIS
history_load
USAGE
Void_Type history_load ();
DESCRIPTION
This function reads a history file, i.e. each line of the file is
stored in the mini-buffer, but not evaluated. By default, historical
records are kept in a file whose name is stored in the `History_file'
variable. This file is written in the current working directory
associated with jed, i.e. the directory from which you started the jed
process. For example, to read your history file every time you start
jed and give an alternative name to the history file, put:
variable History_File;
if (BATCH == 0)
{
() = evalfile ("history");
History_File = ".my-jed-history";
history_load ();
}
in your .jedrc (or jed.rc) file. The `History_File' variable can be
assigned either a file name or an absolute path+filename. In the first
case, a file will be saved in the current working directory (the one
you were in when you started jed), so you will find a history file in
every directory you work in. In the second one, only one file will be
created, but you can handle 'local' history files easily (see
`history_local_save' to know how to do it).
SEE ALSO
history_save, history_local_save, minued_mode
SEE ALSO
History_File
--------------------------------------------------------------
history_save
SYNOPSIS
history_save
USAGE
Int_Type history_save ()
DESCRIPTION
This function saves the contents of the mini-buffer (see `history_load'
for more information) to the file specified by the variable `History_File'
or to the local history file (see `history_local_save' for more
information). It returns -1 upon failure, or 0 upon success.
NOTES
When history.sl is loaded, `history_save' will automatically get attached
to the editors exit hooks. As a result, it is really not necessary to call
this function directly.
SEE ALSO
history_load, history_local_save
SEE ALSO
History_File
--------------------------------------------------------------
history_local_save
SYNOPSIS
history_local_save
USAGE
Void_Type history_local_save ()
DESCRIPTION
This function saves the contents of the mini-buffer at some arbitrary file.
If you give the same filename as in `History_File' but use a different
path, then `history_load' will load this file into the mini-buffer every
time you start jed from that (and only from that) directory. This behavior is
only useful when the value of `History_File' is an absoulte filename
and you want a local history when you start jed from some specific directory.
SEE ALSO
history_load, history_save
SEE ALSO
History_File
--------------------------------------------------------------
html_skip_tag
SYNOPSIS
html_skip_tag
DESCRIPTION
skip forward past html tag
--------------------------------------------------------------
html_bskip_tag
SYNOPSIS
html_bskip_tag
DESCRIPTION
skip backward past html tag
--------------------------------------------------------------
html_mark_next_tag
SYNOPSIS
html_mark_next_tag
DESCRIPTION
mark the next html tag forward
--------------------------------------------------------------
html_mark_prev_tag
SYNOPSIS
html_mark_prev_tag
DESCRIPTION
mark the previous html tag
--------------------------------------------------------------
html_mode
SYNOPSIS
html_mode
USAGE
Void html_mode ();
DESCRIPTION
`html_mode' is a mode designed for editing HTML files.
If a region is defined (i.e., if a mark is set), many HTML
tags will insert around the region, e.g. '<B>' and '</B>'.
Keybindings begin with ^C and are grouped according to function:
^CA... Anchors (<A>...</A>)
^CD... Definition lists (<DL>...</DL>)
^CF... Forms (<form>...</form>)
^CH... Headings, document type, etc.
^CI... Images
^CL... Lists (<UL>...</UL>)
^CP... Paragraph styles, etc. (<P>, <BR>, <HR>, <ADDRESS>, etc.)
^CS... Character styles (<EM>, <STRONG>, <B>, <I>, etc.)
^CT... Tables
Additionally, some special movement commands and miscellaneous
characters are defined:
^C^B skip to beginning of prior HTML tag
^C^F skip to end of next HTML tag
^C^N mark next HTML tag from '<' to '>'
^C^P mark prior HTML tag from '<' to '>'
^C& insert HTML text for '&'
^C> insert HTML text for '>'
^C< insert HMTL text for '<'
^C<enter> insert HMTL text for '<br>'
^C<space> insert HMTL text for NonBreakableSPace
^Ce insert HMTL text for 'Eurosymbol'
^CC insert HTML comment (around region, if marked)
For a complete list of keybindings, use `describe_bindings'.
This function calls `html_mode_hook' if it exists.
--------------------------------------------------------------
Ispell_Program_Name
SYNOPSIS
spell-check program name
USAGE
variable Ispell_Program_Name = ""
DESCRIPTION
The spell check command used by the `ispell' function. It must
be ispell-compatible (one of "ispell", "aspell" or "hunspell"). If
unset, the ispell program will be auto-detected by searching the
path for one of the above programs.
SEE ALSO
ispell, search_path_for_file
--------------------------------------------------------------
latex_mode
SYNOPSIS
latex_mode
USAGE
Void latex_mode ();
DESCRIPTION
This mode is designed to facilitate the task of editing latex files.
It calls the function `latex_mode_hook' if it is defined. In addition,
if the abbreviation table `"TeX"' is defined, that table is used.
The default key-bindings for this mode include:
"tex_insert_braces" "^C{"
"tex_font" "^C^F"
"latex_environment" "^C^E"
"latex_section" "^C^S"
"latex_close_environment" "^C]"
"latex_insert_item" "^C^J"
"tex_comment_region" "^C;"
"tex_uncomment_region" "^C:"
"tex_comment_paragraph" "^C%"
"tex_mark_environment" "^C."
"tex_mark_section" "^C*"
"latex_toggle_math_mode" "^C~"
"tex_insert_macro" "^C^M"
"tex_complete_symbol" "\e^I"
"latex_help" "^Ci"
"latex_indent_next_line" "^J"
"latex_indent_region" "^C^Q^R"
"latex_indent_section" "^C^Q^S"
"latex_indent_environment" "^C^Q^E"
--------------------------------------------------------------
lua_mode
SYNOPSIS
lua_mode
USAGE
lua_mode ()
DESCRIPTION
A major mode for editing lua files.
The following keys have lua specific bindings:
DELETE deletes to previous indent level
TAB indents line
^C# comments region or current line
^C> shifts line or region right
^C< shifts line or region left
^C^C executes the region, or the buffer if region not marked.
^C| executes the region
^C\t reindents the region
Hooks: `lua_mode_hook'
SEE ALSO
Lua_Indent_Level
SEE ALSO
set_mode, c_mode
--------------------------------------------------------------
mailutils_find_header_separator
SYNOPSIS
Searches for the header/body separator
USAGE
Int_Type mailutils_find_header_separator ()
DESCRIPTION
This function searches for the line separating the mail headers
from the body. It returns 1 if found, and 0 otherwise.
SEE ALSO
mailutils_narrow_to_header
--------------------------------------------------------------
mailutils_narrow_to_header
SYNOPSIS
Narrow to the mail headers
USAGE
Int_Type mailutils_narrow_to_header ()
DESCRIPTION
This function narrows the buffer to the mail headers. It returns 0
if sucessful (headers were found), or -1 upon failure.
SEE ALSO
mailutils_find_header_separator, mailutils_set_keyword_value, widen
--------------------------------------------------------------
mailutils_get_keyword_value
SYNOPSIS
Obtain the value of a header keyword
USAGE
String_Type mailutils_get_keyword_value (kw)
DESCRIPTION
This function returns the value of a mail header specified by the
`kw' parameter. If no such header exists, NULL will be
returned.
NOTES
This function does not preserve the editing point.
SEE ALSO
mailutils_set_keyword_value
--------------------------------------------------------------
mailutils_set_keyword_value
SYNOPSIS
Set the value of a mail header
USAGE
mailutils_set_keyword_value (String_Type kw, String_Type val)
DESCRIPTION
This function sets the value of the header keyword specified by the
`kw' argument to that of the `val' argument. If no such
header exists, one will be created. The editing point will be left
at the end of the header's value. If the header exists and has a
value, then that value will be replace.
NOTES
This function does not preserve the editing point.
SEE ALSO
mailutils_get_keyword_value, mailutils_find_header_separator
--------------------------------------------------------------
man_clean_manpage
SYNOPSIS
man_clean_manpage
DESCRIPTION
remove _^H and ^H combinations and multiple blank lines (man page)
--------------------------------------------------------------
unix_man
SYNOPSIS
unix_man
DESCRIPTION
retrieve a man page entry and use clean_manpage to clean it up
--------------------------------------------------------------
matlab_mode
SYNOPSIS
matlab_mode
DESCRIPTION
Protoytype: Void matlab_mode ();
This is a mode that is dedicated to facilitate the editing of
Matlab/Octave language files.
Functions that affect this mode include:
function: default binding:
matlab_indent RETURN
Variables affecting indentation include:
Hooks: `matlab_mode_hook'
--------------------------------------------------------------
Minued_Lines
SYNOPSIS
Minued_Lines
USAGE
Integer_Type Minued_Lines = 0;
DESCRIPTION
This variable controls the number of lines shown in the minued
buffer. If the value of `Minued_Lines' is -1, then the entire
screen is used. If it is 0, the window splits vertically. A positive
value selects the exact number of lines to show. This value shouldn't
be greater than `SCREEN_HEIGHT'-4, and is only useful while you are
working with one window.
Default value is 0.
SEE ALSO
minued
SEE ALSO
SCREEN_HEIGHT
--------------------------------------------------------------
minued_mode
SYNOPSIS
minued_mode
USAGE
Void minued_mode ();
DESCRIPTION
`minued_mode' is a mini-buffer's contents editor with which you can view all
previously entered lines in it. Select and modify one of them. Press return
and that line will be updated in the mini-buffer and evaluated in the buffer
from which minued was called.
All lines appears numbered, in the same order that they are stored in the
mini-buffer. Use the last line of minued if you want to add a new one.
Instead of a number, that line shows "add> ".
The following key-bindings are defined in `minued_mode':
Return Update and evaluate the current line.
Meta-Return Evaluate the current line.
Ctrl-U Update the current line, don't leave 'minued_mode'.
Meta-R Remove the current line, don't leave 'minued_mode'.
Ctrl-C Quit.
Note: Minued cannot be invoked from the mini-buffer.
SEE ALSO
history_load, history_save
SEE ALSO
Minued_Lines
--------------------------------------------------------------
make_tmp_buffer_name
SYNOPSIS
make_tmp_buffer_name
USAGE
String make_tmp_buffer_name (String base);
DESCRIPTION
Generates a unique buffer name using the string 'base' for the beginning
of the name. The buffer name is returned. The buffer is not created.
--------------------------------------------------------------
append_string_to_file
SYNOPSIS
append_string_to_file
USAGE
Integer append_string_to_file (String str, String file);
DESCRIPTION
The string 'str' is appended to file 'file'. This function returns -1
upon failure or the number of lines written upon success.
See append_region_to_file for more information.
--------------------------------------------------------------
write_string_to_file
SYNOPSIS
write_string_to_file
USAGE
Integer write_string_to_file (String str, String file);
DESCRIPTION
The string 'str' is written to file 'file'. This function returns -1
upon failure or the number of lines written upon success.
This function does not modify a buffer visiting the file.
--------------------------------------------------------------
Enable_Mode_Hook_Eval
SYNOPSIS
Control the use of "eval" from a file's mode statement
DESCRIPTION
When a file is read into a buffer, the editor will look for a line near the
top of the file containing `-*- TEXT -*-', where `TEXT' usually
specifies the mode to be applied to the buffer, e.g.,
/* -*- C -*- */
For this reason, such a line is referred to as the files mode statement.
In addition, an arbitrary S-Lang expression may be executed by
the mode statement through the use of `eval' and `evalfile', e.g.,
/* -*- mode: C; eval: set_buffer_no_backup; -*- */
This example would cause c-mode to be assigned to the buffer, and backups
for the file turned-off. Obviously this poses a security risk, since it
permits the evaluation of arbitrary S-Lang code.
The `Enable_Mode_Hook_Eval' variable may be used to control how
`eval', and other potentially risky constructs are handled by the file's
mode statement. If its value is 0, such statements will not get executed.
If the value of `Enable_Mode_Hook_Eval' is NULL, then the editor will
query the user about whether to execute the statement, otherwise such
statements will get executed. The default value is NULL, i.e., to
query the user.
SEE ALSO
modeline_hook2, eval, evalfile, set_mode
--------------------------------------------------------------
most_mode
SYNOPSIS
most_mode
DESCRIPTION
Emulates MOST fileviewer
The following keys are defined:
SPACE next screen
DELETE previous screen
/ search_forward
? search_backward
n find next occurrence
q quit most mode (usually kills buffer if not modified)
e edit buffer
h help summary
t Top of Buffer
b End of Buffer
--------------------------------------------------------------
Mouse_Selection_Word_Chars
SYNOPSIS
Characters that delimit double-click selections
USAGE
String_Type Mouse_Selection_Word_Chars
DESCRIPTION
The value of this variable represents a set of characters that serve
to delimit double-click selections. The default value of this
variable is
Mouse_Selection_Word_Chars = "^ \n\"%&'()*,;<=>?@[]^`{|}";
If the value of this variable is NULL, the word characters
associated with the buffer will be used.
SEE ALSO
define_word
--------------------------------------------------------------
Mouse_Save_Point_Mode
SYNOPSIS
Mouse_Save_Point_Mode
USAGE
Integer Mouse_Save_Point_Mode = 1;
DESCRIPTION
If this variable is non-zero, the editing point will be restored to its
original position when the left button is used to copy a region to the
cutbuffer. If the variable is zero, the current point is left at the
end of the copied region.
--------------------------------------------------------------
nroff_mode
SYNOPSIS
nroff_mode
DESCRIPTION
Protoytype: Void nroff_mode ();
A primitive mode for editing nroff/troff files.
mostly to define the paragraph separator
--------------------------------------------------------------
occur
SYNOPSIS
occur
USAGE
Void occur ();
DESCRIPTION
This function may be used to search for all occurances of a string in the
current buffer. It creates a separate buffer called `*occur*' and
associates a keymap called `Occur' with the new buffer. In this
buffer, the `g' key may be used to go to the line described by the
match.
--------------------------------------------------------------
Perl_Continued_Offset
SYNOPSIS
Perl_Continued_Offset
USAGE
Integer Perl_Continued_Offset = 2;
DESCRIPTION
This variable controls the indentation of statements that are continued
onto the next line as in the following example:
print
"hallo ",
" world\n";
The default value (2) corresponds to the default for `perltidy'
SEE ALSO
C_CONTINUED_OFFSET, Perl_Indent
--------------------------------------------------------------
perl_indent_line
SYNOPSIS
Void perl_indent_line (Void)
DESCRIPTION
indents the line
SEE ALSO
perl_indent_region, Perl_Indent, Perl_Continued_Offset, perl_mode
--------------------------------------------------------------
perl_indent_region
SYNOPSIS
Void perl_indent_region (Void)
DESCRIPTION
indents each line in the region
SEE ALSO
perl_indent_line, perl_indent_buffer, perltidy, perl_mode
--------------------------------------------------------------
perl_indent_buffer
SYNOPSIS
Void perl_indent_buffer (Void)
DESCRIPTION
indents the entire buffer (NB: using perltidy might be easier)
SEE ALSO
perl_indent_line, perl_indent_region, perltidy, perl_mode
--------------------------------------------------------------
perl_beg_chunk
SYNOPSIS
Void perl_beg_chunk (Void)
DESCRIPTION
move to the beginning of a code chunk
(starting with 'sub' in the first column)
or to the beginning of a POD chunk.
SEE ALSO
perl_end_chunk, perl_mark_chunk, perl_mode
--------------------------------------------------------------
perl_end_chunk
SYNOPSIS
Void perl_end_chunk (Void)
DESCRIPTION
move to the end of a code chunk or to the end of a POD chunk
SEE ALSO
perl_beg_chunk, perl_mark_chunk, perl_mode
--------------------------------------------------------------
perl_mark_chunk
SYNOPSIS
Void perl_mark_chunk (Void)
DESCRIPTION
marks the code/Pod code
SEE ALSO
perl_beg_chunk, perl_end_chunk, perl_mode
--------------------------------------------------------------
perl_mark_matching
SYNOPSIS
Void perl_mark_matching (Void)
DESCRIPTION
works mostly like find_matching_delimiter, except that it attempts
to be extra smart if starting out on whitespace
SEE ALSO
find_matching_delimiter
--------------------------------------------------------------
perl_paragraph_sep
SYNOPSIS
Void perl_paragraph_sep (Void)
DESCRIPTION
defines paragraphs for Perl mode
SEE ALSO
parse_to_point
--------------------------------------------------------------
perl_format_paragraph
SYNOPSIS
Void perl_format_paragraph (Void)
DESCRIPTION
should format a comment paragraph in Perl mode, but not entirely stable?
SEE ALSO
perl_mode
--------------------------------------------------------------
perl_mode
SYNOPSIS
Void perl_mode (Void)
DESCRIPTION
This is a mode that is dedicated to editing Perl language files
including a bimodal Pod/Perl indentation mode.
The indentation style matches the results of perltidy(1) with
'-ci=2 -i=4 -en=8' fairly closely, except some of the closing brackets.
This seems to be missing, so you might want to add
add_mode_for_extension("perl", "pm");
Functions that affect this mode include:
function: default binding:
indent_line TAB
perl_beg_chunk ESC Ctrl-A
perl_end_chunk ESC Ctrl-E
perl_mark_chunk ESC Ctrl-H
perl_mark_matching ESC Ctrl-M
perl_next_chuck ESC Ctrl-N
perl_prev_chunk ESC Ctrl-P
perl_indent_region ESC TAB
perl_indent_region Ctrl-C TAB
perl_format_paragraph ESC q
perl_newline_and_indent Ctrl-M (not bound)
perl_indent_buffer (not bound)
perl_help Ctrl-C ?
perl_check Ctrl-C c
perl_indent_region Ctrl-TAB
perl_exec Ctrl-C e
perl_info Ctrl-C i
perltidy Ctrl-C Ctrl-T
Variables affecting this mode include:
Perl_Continued_Offset
Perl_Flags
Perl_Indent
Hooks: `perl_mode_hook'
SEE ALSO
perldoc
--------------------------------------------------------------
Perl_Flags
SYNOPSIS
Perl_Flags
USAGE
String Perl_Flags = "-w";
DESCRIPTION
Extra (or 'expert') command-line options (switches) for running Perl.
eg, `'-I'' or `'-M''.
You only need these if you know why you need these.
Warnings are *always* enabled, regardless of what you try here.
If your code doesn't run with `'-w'', re-write it so it does
or you're an expert and know which sections of code should have
warnings disabled anyhow.
--------------------------------------------------------------
Perl_Indent
SYNOPSIS
Perl_Indent
USAGE
Integer Perl_Indent = 4;
DESCRIPTION
This value determines the number of columns the current line is indented
past the previous line containing an opening `'{'' character.
eg.,
if (test) {
statement();
}
else {
statement();
}
The default value (4) corresponds to the default for `perltidy'
SEE ALSO
C_INDENT, Perl_Continued_Offset
--------------------------------------------------------------
perltidy
SYNOPSIS
Void perltidy (Void)
DESCRIPTION
Runs the `perltidy' program on a region, buffer or narrowed buffer.
The `perltidy' program (available from `http://perltidy.sourceforge.net')
must be installed for this to work!
With a numerical prefix argument (eg Ctrl-U), prompts for extra flags
for `perltidy'.
The following style preferences settings in `~/.perltidyrc' seem to
give good results:
-et=8 # standard tabs
-nola # no outdent labels
-wba="." # break after string concatenation
-se # errors to standard error output
-sbt=2 # very tight square brackets
SEE ALSO
perl_indent_region, perl_indent_buffer, perl_mode
--------------------------------------------------------------
perl_exec
SYNOPSIS
Void perl_exec (Void)
DESCRIPTION
This function runs `perl' on a region, buffer or narrowed buffer.
With a numerical prefix argument (eg Ctrl-U), also prompts for
extra Perl flags.
Display output in *shell-output* buffer window.
SEE ALSO
perl_check, perl_mode
--------------------------------------------------------------
perl_check
SYNOPSIS
Void perl_check (Void)
DESCRIPTION
This function runs a perl `-CT' check on a region, buffer or narrowed buffer.
Display output in *shell-output* buffer window.
SEE ALSO
perl_exec, perltidy, perl_mode
--------------------------------------------------------------
perl_info
SYNOPSIS
Void perl_info (Void)
DESCRIPTION
displays the perl settings `perl -V' in the help buffer
--------------------------------------------------------------
perl_help
SYNOPSIS
Void perl_help (Void)
DESCRIPTION
extract an alphanumeric keyword (a function) and display help
via perldoc for it
--------------------------------------------------------------
perldoc
SYNOPSIS
Void perldoc (void)
DESCRIPTION
use perldoc to find information
The '-f' option is inferred for lowercase strings not starting with 'perl'
perldoc [options] PageName|ModuleName|ProgramName...
perldoc [options] -f BuiltinFunction
perldoc [options] -q FAQRegex
Options:
-u Display unformatted pod text
-m Display module's file in its entirety
-q Search the text of questions (not answers) in perlfaq[1-9]
SEE ALSO
perl_help, perl_mode
--------------------------------------------------------------
php_mode
SYNOPSIS
php_mode
USAGE
Void php_mode ();
DESCRIPTION
This is a mode that is dedicated to faciliate the editing of PHP language files.
It calls the function `php_mode_hook' if it is defined. It also manages
to recognice whetever it is in a php block or in a html block, for those people
that doesnt seperate function from form ;)
Functions that affect this mode include:
function: default binding:
php_top_of_function ESC Ctrl-A
php_end_of_function ESC Ctrl-E
php_mark_function ESC Ctrl-H
php_mark_matching ESC Ctrl-M
php_indent_buffer Ctrl-C Ctrl-B
php_insert_class Ctrl-C Ctrl-C
php_insert_function Ctrl-C Ctrl-F
php_insert_bra {
php_insert_ket }
php_insert_colon :
php_format_paragraph ESC q
indent_line TAB
newline_and_indent RETURN
goto_match Ctrl-\
php_insert_tab Ctrl-C Ctrl-I
Variables affecting indentation include:
PHP_INDENT
PHP_BRACE
PHP_BRA_NEWLINE
PHP_KET_NEWLINE
PHP_Colon_Offset
PHP_CONTINUED_OFFSET
PHP_Class_Offset
PHP_Autoinsert_Comments
PHP_Switch_Offset
Hooks: `php_mode_hook'
--------------------------------------------------------------
python_mode
SYNOPSIS
python_mode
USAGE
python_mode ()
DESCRIPTION
A major mode for editing python files.
The following keys have python specific bindings:
DELETE deletes to previous indent level
TAB indents line
^C# comments region or current line
^C> shifts line or region right
^C< shifts line or region left
^C^C executes the region, or the buffer if region not marked.
^C| executes the region
^C\t reindents the region
: colon dedents appropriately
Hooks: `python_mode_hook'
SEE ALSO
Py_Indent_Level
SEE ALSO
set_mode, c_mode
--------------------------------------------------------------
shell_builtin
SYNOPSIS
shell_builtin
DESCRIPTION
rudimentary `builtin' shell commands:
`cd [dir]' change the default directory
`exit' exit the subshell
`pwd' Print Working Directory
functions to eliminate some jed/shell vs. real shell problems
`clear' erase the *shell* buffer
`e' simulate ^X^F keybinding
`jed' simulate ^X^F keybinding
returns one of the following on the stack
Null_String - builtin dispatched, no prompt
"pwd" - builtin dispatched, give prompt
cmd - use shell to execute CMD
--------------------------------------------------------------
Tab_Always_Inserts_Tab
SYNOPSIS
Configure the tab key
DESCRIPTION
If this variable is non-zero, then the tab key will insert tab characters
into the buffer. It is possible to override this setting via a mode hook.
SEE ALSO
local_setkey
--------------------------------------------------------------
Info_Directory
SYNOPSIS
Info_Directory
DESCRIPTION
A comma-separated list of info directories to search.
--------------------------------------------------------------
Jed_Highlight_Cache_Path
SYNOPSIS
Search path for DFA syntax tables
A comma-separated list of directories to search for cached DFA syntax
highlighting tables. If a table is not found, it will be created on the
fly and then cached in the directory specified by the
`Jed_Highlight_Cache_Dir' variable.
SEE ALSO
Jed_Highlight_Cache_Dir, use_dfa_syntax
--------------------------------------------------------------
Jed_Highlight_Cache_Dir
SYNOPSIS
Directory where newly created DFA syntax tables are placed
If the caching of DFA syntax tables is enabled, the newly created tables
will be saved in the directory specified by this variable.
SEE ALSO
Jed_Highlight_Cache_Path, use_dfa_syntax
--------------------------------------------------------------
C_CONTINUED_OFFSET
SYNOPSIS
C_CONTINUED_OFFSET
USAGE
Integer C_CONTINUED_OFFSET = 2;
DESCRIPTION
This variable controls the indentation of statements that are continued
onto the next line as in the following example:
if (something)
continued_statement ();
else
another_continued_statement ();
SEE ALSO
C_BRA_NEWLINE, C_BRACE, C_INDENT, C_Colon_Offset
--------------------------------------------------------------
C_Colon_Offset
SYNOPSIS
C_Colon_Offset
DESCRIPTION
Integer C_Colon_Offset = 1;
This variable may be changed to adjust the indentation of `case' statements
in C-Mode.
SEE ALSO
c_mode
SEE ALSO
C_BRA_NEWLINE, C_BRACE, C_INDENT, C_Colon_Offset
--------------------------------------------------------------
C_Preprocess_Indent
SYNOPSIS
C_Preprocess_Indent
USAGE
Integer C_Preprocess_Indent = 1;
DESCRIPTION
This variable controls the indentation of preprocessor directives in
C-mode.
SEE ALSO
c_mode
SEE ALSO
C_BRA_NEWLINE, C_BRACE, C_INDENT, C_Colon_Offset
--------------------------------------------------------------
C_Comment_Column
SYNOPSIS
C_Comment_Column
DESCRIPTION
Column to begin a C comment--- used by c_make_comment
--------------------------------------------------------------
C_INDENT
SYNOPSIS
C_INDENT
USAGE
Integer C_INDENT = 3;
DESCRIPTION
This value determines the number of columns the current line is indented
past the previous line containing an opening `'{'' character.
SEE ALSO
C_BRACE, C_BRA_NEWLINE.
--------------------------------------------------------------
C_BRACE
SYNOPSIS
C_BRACE
USAGE
Integer C_BRACE = 2;
DESCRIPTION
This is a C-mode variable that specifies how much an opening brace
should be indented compared its surrounding block.
SEE ALSO
C_INDENT, C_BRA_NEWLINE
--------------------------------------------------------------
C_BRA_NEWLINE
SYNOPSIS
C_BRA_NEWLINE
USAGE
Integer C_BRA_NEWLINE = 1;
DESCRIPTION
This variable is used by the indentation routines for the C langauge.
If it is non-zero, the `'{'' character will be placed on a line by
itself when one presses the `'{'' character. For K&R indentation style,
set this variable to zero.
SEE ALSO
C_INDENT, C_BRACE
--------------------------------------------------------------
custom_variable
SYNOPSIS
custom_variable
USAGE
Integer_Type custom_variable (String_Type name, Any_Type value)
DESCRIPTION
This function is used to create a new public global variable called
`name', initialized to `value', unless it exists. If the variable
already exists but is not initialized, then it is initialized to
`value'. This is quite useful for slang files with user configurable
variables. These variables can be defined and initialized by users
before evaluating the file, or can be defined and initialized to
a default value in a file using this function.
This function returns 2 if the variable `name' has been defined and
initialized, or 1 if it has only been intialized. If the variable
`name' has already been defined and initialized, this function does
nothing and returns 0. If `name' is an invalid variable name, this
function does nothing and returns -1.
This function should be only used by slang programmers, not users.
SEE ALSO
custom_color
--------------------------------------------------------------
str_replace_all
SYNOPSIS
str_replace_all
USAGE
String str_replace_all (str, old, new);
DESCRIPTION
Replace all occurances of `old' in `str' with `new' and return the
result.
SEE ALSO
str_replace, replace_cmd
--------------------------------------------------------------
vinsert
SYNOPSIS
vinsert
USAGE
Void vinsert (String, fmt,...);
DESCRIPTION
This function is like `insert' except that it takes a variable number
of arguments and a format string.
SEE ALSO
insert, sprintf, insert_char
--------------------------------------------------------------
dircat
SYNOPSIS
Merge a directory name and file name
USAGE
String_Type = dircat (String_Type a, String_Type b);
DESCRIPTION
The `dircat' function may be used to obtain the path name of a file with
filename `b' in directory `a'. It performs this function in an
operating system dependent manner.
--------------------------------------------------------------
bol_skip_white
SYNOPSIS
bol_skip_white
USAGE
Void bol_skip_white ();
DESCRIPTION
This function combines the two functions `bol' and `skip_white' into a
single operation. That is, it moves the point to the beginning of the
line and then skips over whitespace to the first non-whitespace character.
SEE ALSO
bol, skip_white, skip_chars
--------------------------------------------------------------
bskip_white
SYNOPSIS
bskip_white
USAGE
Void bskip_white ();
DESCRIPTION
This function skips backward over whitespace.
Note: it does not cross lines.
SEE ALSO
skip_white, bskip_chars
--------------------------------------------------------------
buffer_filename
SYNOPSIS
buffer_filename
USAGE
String_Type buffer_filename ([String_Type bufname])
DESCRIPTION
When called with no arguments, this function returns the name of the
file associated with the current buffer. If called with a string
argument representing the name of a buffer, it will return the name
of the file associated with that buffer. If no file is associated
with the specified buffer, the empty string will be returned.
SEE ALSO
getbuf_info
--------------------------------------------------------------
file_type
SYNOPSIS
file_type
DESCRIPTION
returns type of file. e.g., /usr/a.b/file.c --> c
SEE ALSO
path_extname
--------------------------------------------------------------
search_path_for_file
SYNOPSIS
search_path_for_file
USAGE
String_Type search_path_for_file (path, file [,delim])
DESCRIPTION
The `search_path_for_file' function searches the directories
specified by the delimiter-separated set of directories `path'
for the filename `file'. If the file exists, it returns the
expanded filename, otherwise it returns NULL. The optional
parameter may be used to specify the path delimiter. The default
delimiter is system-dependent and is the same as that returned by
the `path_get_delimiter' function.
--------------------------------------------------------------
expand_jedlib_file
SYNOPSIS
expand_jedlib_file
DESCRIPTION
Search for FILE in jed lib search directories and return
expanded pathname if found or the Null string otherwise.
--------------------------------------------------------------
find_jedlib_file
SYNOPSIS
find_jedlib_file
DESCRIPTION
find a file from JED_LIBRARY, returns number of lines read or 0 if not
found.
--------------------------------------------------------------
parse_filename
SYNOPSIS
parse_filename
USAGE
(dir, file) = parse_filename(fn)
DESCRIPTION
breaks a filespec into dir filename---
this routine returns dir and filename such that a simple strcat will
suffice to put them together again. For example, on unix, /a/b/c
returns /a/b/ and c
--------------------------------------------------------------
prepend_to_slang_load_path
SYNOPSIS
Prepend a directory to the load-path
USAGE
prepend_to_slang_load_path (String_Type dir)
DESCRIPTION
This function adds a directory to the beginning of the interpreter's
load-path.
SEE ALSO
append_to_slang_load_path, set_slang_load_path
--------------------------------------------------------------
append_to_slang_load_path
SYNOPSIS
Append a directory to the load-path
USAGE
append_to_slang_load_path (String_Type dir)
DESCRIPTION
This function adds a directory to the end of the interpreter's
load-path.
SEE ALSO
prepend_to_slang_load_path, set_slang_load_path
--------------------------------------------------------------
go_up
SYNOPSIS
go_up
USAGE
Void go_up (Integer n);
DESCRIPTION
Move up 'n' lines.
SEE ALSO
up, go_down
--------------------------------------------------------------
up_1
SYNOPSIS
up_1
USAGE
Void up_1 ();
DESCRIPTION
Move up 1 line. If successful, returns 1 otherwise it returns 0.
SEE ALSO
up, go_down, go_up, go_up_1
--------------------------------------------------------------
go_up_1
SYNOPSIS
go_up_1
USAGE
Void go_up_1 ();
DESCRIPTION
Move up exactly 1 line if possible.
SEE ALSO
up, go_down
--------------------------------------------------------------
go_down
SYNOPSIS
go_down
USAGE
Void go_down (Integer n);
DESCRIPTION
Move down 'n' lines.
SEE ALSO
go_up, down
--------------------------------------------------------------
down_1
SYNOPSIS
down_1
USAGE
Int_Type down_1 ();
DESCRIPTION
Move down exactly one line. If sucessful, 1 is returned otherwise
zero is returned.
SEE ALSO
go_up, down, go_down_1
--------------------------------------------------------------
go_down_1
SYNOPSIS
go_down_1
USAGE
Void go_down_1 ();
DESCRIPTION
Move down one lines.
SEE ALSO
go_up, down
--------------------------------------------------------------
go_left
SYNOPSIS
go_left
USAGE
Void go_left (Integer n);
DESCRIPTION
Move backward 'n' characters.
SEE ALSO
left, go_right
--------------------------------------------------------------
go_right
SYNOPSIS
go_right
USAGE
Void go_right (Integer n);
DESCRIPTION
Move forward 'n' characters.
SEE ALSO
right, go_left
--------------------------------------------------------------
go_right_1
SYNOPSIS
go_right_1
USAGE
Void go_right_1 ();
DESCRIPTION
Move forward 1 characters.
SEE ALSO
right, go_left
--------------------------------------------------------------
go_left_1
SYNOPSIS
go_left_1
USAGE
Void go_left_1 ();
DESCRIPTION
Move forward 1 characters.
SEE ALSO
left, go_left
--------------------------------------------------------------
newline
SYNOPSIS
newline
USAGE
Void newline (Void);
DESCRIPTION
insert a newline in the buffer at point.
SEE ALSO
insert, insert_char
--------------------------------------------------------------
insert_single_space
SYNOPSIS
insert_single_space
DESCRIPTION
insert a single space into the buffer.
--------------------------------------------------------------
looking_at_char
SYNOPSIS
looking_at_char
USAGE
Integer looking_at_char (Integer ch);
DESCRIPTION
This function returns non-zero if the character at the current editing
point is 'ch' otherwise it retuns zero. This function performs a case
sensitive comparison.
--------------------------------------------------------------
local_setkey
SYNOPSIS
local_setkey
USAGE
Void local_setkey (String fun, String key);
DESCRIPTION
This function is like 'setkey' but unlike 'setkey' which operates on the
global keymap, 'local_setkey' operates on the current keymap which may or
may not be the global one.
SEE ALSO
setkey, definekey, local_unsetkey
--------------------------------------------------------------
local_unsetkey
SYNOPSIS
local_unsetkey
USAGE
Void local_unsetkey (String key);
DESCRIPTION
This function is like 'unsetkey' but unlike 'unsetkey' which unsets a key
from the global keymap, 'local_unsetkey' operates on the current keymap
which may or may not be the global one.
SEE ALSO
unsetkey, undefinekey, local_setkey
--------------------------------------------------------------
call_function
SYNOPSIS
Call a function with arguments
USAGE
call_function (String_Type f, [optional args...])
--------------------------------------------------------------
runhooks
SYNOPSIS
runhooks
USAGE
Void runhooks (String_Type hook, [optional args...]);
--------------------------------------------------------------
run_mode_hooks
SYNOPSIS
Run the user's mode hooks for the specified mode
USAGE
run_mode_hooks (mode_hook_name)
DESCRIPTION
This function should be called at the end of the mode setting
function to allow the user to hook into the function. It takes a
single parameter: the name of the mode hook. Prior to call the
specified user-hook, this function calls `global_mode_hook'.
SEE ALSO
runhooks, global_mode_hook
--------------------------------------------------------------
Jed_Tmp_Directory
SYNOPSIS
Directory used to hold temporary files
USAGE
Jed_Tmp_Directory = "/tmp";
DESCRIPTION
This variable is used by the `make_tmp_file' function to create
temporary filenames.
SEE ALSO
make_tmp_file, make_tmp_buffer_name, open_unique_filename
--------------------------------------------------------------
pop_mark_0
SYNOPSIS
pop_mark_0
USAGE
Void pop_mark_0 ();
DESCRIPTION
Since `pop_mark' is used so often with an argument of `0', this function
is simply equivalent to `pop_mark(0)'.
SEE ALSO
pop_mark, pop_mark_1
--------------------------------------------------------------
pop_mark_1
SYNOPSIS
pop_mark_1
USAGE
Void pop_mark_1 ();
DESCRIPTION
Since `pop_mark' is used so often with an argument of `1', this function
is simply equivalent to `pop_mark(1)'.
SEE ALSO
pop_mark, pop_mark_0
--------------------------------------------------------------
goto_spot
SYNOPSIS
goto_spot
USAGE
Void goto_spot ();
DESCRIPTION
This function returns to the position of the last pushed spot. The spot
is not popped.
SEE ALSO
push_spot, pop_spot, create_user_mark
--------------------------------------------------------------
push_spot_bob
SYNOPSIS
push_spot_bob
USAGE
Void push_spot_bob ();
DESCRIPTION
The function sequence `push_spot (); bob ();' occurs so often that
it makes sense to have a single function that performs this task.
SEE ALSO
push_spot, bob, pop_spot, push_spot_bol
--------------------------------------------------------------
push_spot_bol
SYNOPSIS
push_spot_bol
USAGE
Void push_spot_bol ();
DESCRIPTION
The function sequence `push_spot (); bol ();' occurs so often that
it makes sense to have a single function that performs this task.
SEE ALSO
push_spot, bol, pop_spot, push_spot_bob
--------------------------------------------------------------
push_mark_eol
SYNOPSIS
push_mark_eol
USAGE
Void push_mark_eol ();
DESCRIPTION
The function sequence `push_mark (); eol ();' occurs so often that
it makes sense to have a single function that performs this task.
SEE ALSO
push_mark, eol, pop_mark, push_mark_eob
--------------------------------------------------------------
push_mark_eob
SYNOPSIS
push_mark_eob
USAGE
Void push_mark_eob ();
DESCRIPTION
The function sequence `push_mark (); eob ();' occurs so often that
it makes sense to have a single function that performs this task.
SEE ALSO
push_mark, eob, pop_mark, push_mark_eob
--------------------------------------------------------------
mark_buffer
SYNOPSIS
mark_buffer
USAGE
mark_buffer ();
DESCRIPTION
This function marks the whole buffer leaving the point at the end
of the buffer.
SEE ALSO
push_mark, pop_mark, bob, eob
--------------------------------------------------------------
bufsubstr_delete
SYNOPSIS
bufsubstr_delete
USAGE
String bufsubstr_delete ()
DESCRIPTION
This functions returns the contents of a region defined my the mark
and the current point. The region will be deleted.
SEE ALSO
bufsubstr
--------------------------------------------------------------
del_eol
SYNOPSIS
del_eol
USAGE
Void del_eol ();
DESCRIPTION
This function deletes from the current position to the end of the line.
SEE ALSO
del, delete_line, del_through_eol
--------------------------------------------------------------
del_through_eol
SYNOPSIS
del_through_eol
USAGE
del_through_eol ();
DESCRIPTION
This function deletes all text from the current point through the end of
the line.
SEE ALSO
del, del_eol, del_region
--------------------------------------------------------------
line_as_string
SYNOPSIS
line_as_string
USAGE
String line_as_string ()
DESCRIPTION
This function returns the current line as a string. This does not include
the newline character at the end of the line. The editing point is left
at the end of the line. That is, this function does not preserve the point.
SEE ALSO
bufsubstr
--------------------------------------------------------------
double_line
SYNOPSIS
Duplicate the current line
DESCRIPTION
This function inserts a line into the buffer at the position of the
current line that is a copy of the current line. If the position of
the editing point was originally one line N column C, then the
editing point will be left on line (N+1) column C.
SEE ALSO
line_as_string
--------------------------------------------------------------
bol_trim
SYNOPSIS
bol_trim
USAGE
Void bol_trim ();
DESCRIPTION
Move to beginning of line and remove whitespace.
SEE ALSO
bol, trim
--------------------------------------------------------------
eol_trim
SYNOPSIS
eol_trim
USAGE
Void eol_trim ();
DESCRIPTION
Move to end of line and remove whitespace.
SEE ALSO
eol, trim
--------------------------------------------------------------
get_blocal_var
SYNOPSIS
Return the value of a buffer-local variable
USAGE
value = get_blocal_var (String name, [default])
DESCRIPTION
This function returns the value of the buffer-local variable
specified by `name'. If the the optional `default'
argument is given, it will be returned if no local variable of the
specified name exists. Otherwise an error will be thrown.
EXAMPLE
if (get_blocal_var("foo", 0))
message("this buffer is fooish");
will print the message if `foo' is a buffer-local variable
with a nonzero value.
SEE ALSO
define_blocal_var, blocal_var_exists
--------------------------------------------------------------
define_blocal_var
SYNOPSIS
Create and initialize a buffer local variable
USAGE
define_blocal_var (name, value)
DESCRIPTION
This function may be used to create a buffer-local variable named
`name' and set it to `value'. A buffer-local variable is a
variable whose value is local to the current buffer.
NOTES
The order of the `name' and `value' arguments to this
function are the reverse from that of the `set_blocal_var'
function.
SEE ALSO
get_blocal_var, create_blocal_var, set_blocal_var
--------------------------------------------------------------
whatpos
SYNOPSIS
whatpos
DESCRIPTION
display row and column information in minibuffer
--------------------------------------------------------------
redo
SYNOPSIS
Undo the last undo
USAGE
redo()
DESCRIPTION
Undo the last undo. This works only one step, however
as any undo is appended to the end of the undo buffer, you can
actually roll the whole history back.
SEE ALSO
undo
--------------------------------------------------------------
no_mode
SYNOPSIS
no_mode
DESCRIPTION
Generic mode not designed for anything in particular.
Related Functions: `text_mode', `c_mode'
--------------------------------------------------------------
Mode_Hook_Pointer
SYNOPSIS
Mode_Hook_Pointer
DESCRIPTION
called from mode_hook. Returns 0 if it is desired that control return
to mode_hook or 1 if mode hook should exit after calling mode_hook_ptr
--------------------------------------------------------------
modeline_hook
SYNOPSIS
modeline_hook
DESCRIPTION
check first line for the simplest Emacs mode statement
-*- modename -*-
--------------------------------------------------------------
add_mode_for_extension
SYNOPSIS
add_mode_for_extension
USAGE
Void add_mode_for_extension (String mode, String ext);
DESCRIPTION
This function modifies Mode_List in such a way that when a file with
filename extension `ext' is read in, function strcat (mode, "_mode")
will be called to set the mode. That is, the first parameter 'mode'
is the name of a mode without the '_mode' added to the end of it.
--------------------------------------------------------------
mode_hook
SYNOPSIS
mode_hook
DESCRIPTION
This is a hook called by find_file routines to set the mode
for the buffer. This function takes one parameter, the filename extension
and returns nothing.
--------------------------------------------------------------
set_buffer_modified_flag
SYNOPSIS
set_buffer_modified_flag
DESCRIPTION
sets buf modified flag. If argument is 1, mark
buffer as modified. If argument is 0, mark buffer as unchanged.
--------------------------------------------------------------
buffer_modified
SYNOPSIS
buffer_modified
USAGE
Int_Type buffer_modified ()
DESCRIPTION
returns non-zero if the buffer modified flag is set. It returns zero
if the buffer modified flag is not been set. This works on the
current buffer. See also 'set_buffer_modified_flag'.
--------------------------------------------------------------
set_buffer_undo
SYNOPSIS
set_buffer_undo
DESCRIPTION
set undo mode for buffer. If argument is 1, undo is on. 0 turns it off
--------------------------------------------------------------
set_readonly
SYNOPSIS
set_readonly
DESCRIPTION
Takes 1 parameter: 0 turn off readonly
1 turn on readonly
--------------------------------------------------------------
is_readonly
SYNOPSIS
Test whether or not the buffer is in read-only mode
USAGE
Int_Type is_readonly ()
DESCRIPTION
This function returns a non-zero value if the buffer is read-only;
otherwise it returns 0.
SEE ALSO
set_readonly, getbuf_info, setbuf_info
--------------------------------------------------------------
is_overwrite_mode
SYNOPSIS
Checks whether or not the buffer is in overwrite mode
USAGE
Int_Type is_overwrite_mode ()
DESCRIPTION
This function returns a non-zero value if the buffer is in overwrite-mode;
otherwise it returns 0.
SEE ALSO
toggle_overwrite, getbuf_info, setbuf_info
--------------------------------------------------------------
set_overwrite
SYNOPSIS
set_overwrite
USAGE
set_overwrite (Int_Type x)
DESCRIPTION
If the parameter `x' is non-zero, the buffer will be put in overwrite
mode; otherwise it will be ut in insert mode.
SEE ALSO
toggle_overwrite, is_overwrite_mode, getbuf_info, setbuf_info
--------------------------------------------------------------
toggle_crmode
SYNOPSIS
Toggle the buffer line endings between CRLF and LF
USAGE
toggle_crmode ()
DESCRIPTION
The `toggle_crmode' function causes the line endings of the buffer to
alternate between CRLF and LF characters.
SEE ALSO
getbuf_info, setbuf_info
--------------------------------------------------------------
toggle_readonly
SYNOPSIS
Toggle the readonly status of the buffer
USAGE
toggle_readonly ()
DESCRIPTION
The `toggle_readonly' function toggles the read-only status of the
current buffer.
SEE ALSO
set_readonly, is_readonly, getbuf_info, setbuf_info
--------------------------------------------------------------
toggle_overwrite
SYNOPSIS
Toggle the overwrite mode of the buffer
USAGE
toggle_overwrite ()
DESCRIPTION
The `toggle_overwrite' function toggles the overwrite mode of the
current buffer.
SEE ALSO
set_overwrite, is_overwrite_mode, getbuf_info, setbuf_info
--------------------------------------------------------------
toggle_undo
SYNOPSIS
Toggle the undo mode of the buffer
USAGE
toggle_undo ()
DESCRIPTION
The `toggle_undo' function toggles the undo mode of the
current buffer.
SEE ALSO
getbuf_info, setbuf_info
--------------------------------------------------------------
set_buffer_no_backup
SYNOPSIS
set_buffer_no_backup
USAGE
Void set_buffer_no_backup ();
DESCRIPTION
--------------------------------------------------------------
set_buffer_no_autosave
SYNOPSIS
set_buffer_no_autosave
USAGE
Void set_buffer_no_autosave ();
DESCRIPTION
--------------------------------------------------------------
toggle_line_number_mode
SYNOPSIS
toggle_line_number_mode
USAGE
Void toggle_line_number_mode ();
DESCRIPTION
This function toggles the line number display state on or off.
SEE ALSO
set_line_number_mode
--------------------------------------------------------------
custom_color
SYNOPSIS
Create a color object to be customized by the user
USAGE
custom_color (color, fg, bg)
DESCRIPTION
This function may be used to create a specified color object. If the object
does not already exist, it will be given the specified foreground and
background colors.
SEE ALSO
custom_variable
--------------------------------------------------------------
help_for_help_string
SYNOPSIS
help_for_help_string
DESCRIPTION
string to display at bottom of screen upon JED startup and when
user executes the help function.
--------------------------------------------------------------
Help_File
SYNOPSIS
Help_File
DESCRIPTION
name of the file to load when the help function is called.
--------------------------------------------------------------
help
SYNOPSIS
help
USAGE
Void help ([String_Type help_file])
DESCRIPTION
This function pops up a window containing the specified help file. If the
function was called with no arguments, the the file given by the `Help_File'
variable will be used.
--------------------------------------------------------------
read_file_from_mini
SYNOPSIS
read_file_from_mini
USAGE
String read_file_from_mini (String p);
DESCRIPTION
This function prompts the user for a file name using `p' as a prompt.
It reads a filename with completion from the mini-buffer and returns
it.
SEE ALSO
read_with_completion, read_mini
--------------------------------------------------------------
read_string_with_completion
SYNOPSIS
read_string_with_completion
USAGE
String read_string_with_completion (prompt, dflt, list)
DESCRIPTION
This function takes 3 String parameters and returns a String. The
first parameter is used as the prompt, the second parameter is the
default value to be returned and the third parameter is a list to be used
for completions. This list is simply a comma separated list of strings.
--------------------------------------------------------------
Startup_With_File
SYNOPSIS
Startup_With_File
DESCRIPTION
If non-zero, startup by asking user for a filename if one was
not specified on the command line.
--------------------------------------------------------------
jed_startup_hook
SYNOPSIS
jed_startup_hook
DESCRIPTION
Function that gets executed right before JED enters its main editing
loop. This is for last minute modifications of data structures that
did not exist when startup files were loaded.
--------------------------------------------------------------
save_buffer
SYNOPSIS
save_buffer
USAGE
Void save_buffer ();
DESCRIPTION
Save current buffer.
--------------------------------------------------------------
push_visible_mark
SYNOPSIS
push_visible_mark
USAGE
Void push_visible_mark ();
DESCRIPTION
This function is performs the same task as `push_mark' except that the
region between this mark and the cursor position will be highlighted.
Such a mark is said to be a visible mark.
SEE ALSO
push_mark, pop_mark, set_mark_cmd
--------------------------------------------------------------
set_mark_cmd
SYNOPSIS
set_mark_cmd
USAGE
Void set_mark_cmd ();
DESCRIPTION
If a mark is already set, and that mark is a visible mark, then this
function will remove that mark. It will then push a visible mark onto
the mark stack.
SEE ALSO
push_visible_mark, pop_mark, smart_set_mark_cmd
--------------------------------------------------------------
smart_set_mark_cmd
SYNOPSIS
smart_set_mark_cmd
USAGE
Void smart_set_mark_cmd ();
DESCRIPTION
If the top mark is a visible mark, this function will remove that mark;
otherwise it will push a visible mark onto the mark stack. Use of
this function has the effect of toggling a highlighted region.
SEE ALSO
set_mark_cmd, push_mark, push_visible_mark
--------------------------------------------------------------
buffer_format_in_columns
SYNOPSIS
buffer_format_in_columns
DESCRIPTION
Prototype Void buffer_format_in_columns();
takes a buffer consisting of a sigle column of items and converts the
buffer to a multi-column format.
--------------------------------------------------------------
rename_buffer
SYNOPSIS
Rename the current buffer
USAGE
rename_buffer (String_Type new_name)
DESCRIPTION
This function may be used to change the name of the current buffer to the
one specified by the `new_name' parameter.
SEE ALSO
setbuf_info, whatbuf
--------------------------------------------------------------
deln
SYNOPSIS
deln
USAGE
Void deln (Integer n);
DESCRIPTION
delete the next 'n' characters.
--------------------------------------------------------------
enable_dfa_syntax_for_mode
SYNOPSIS
Use DFA syntax highlighting for one or more modes
USAGE
enable_dfa_syntax_for_mode (String_Type mode, ...)
DESCRIPTION
This function may be used to enable the use of DFA syntax highlighting
for one or more specified modes. Each of the String_Type arguments must
be the name of a mode. The name of a buffer's mode is usually displayed on
the status line.
EXAMPLE
To enable DFA syntax highlighting for perl and postscript modes, use
enable_dfa_syntax_for_mode ("perl", "PostScript");
SEE ALSO
disable_dfa_syntax_for_mode, use_dfa_syntax
--------------------------------------------------------------
disable_dfa_syntax_for_mode
SYNOPSIS
Use DFA syntax highlighting for one or more modes
USAGE
disable_dfa_syntax_for_mode (String_Type mode, ...)
DESCRIPTION
This function may be used to disable the use of DFA syntax highlighting
for one or more specified modes. Each of the String_Type arguments must
be the name of a mode. The name of a buffer's mode is usually displayed on
the status line.
EXAMPLE
To disable DFA syntax highlighting for C and S-Lang modes, use
disable_dfa_syntax_for_mode ("C", "SLang");
SEE ALSO
enable_dfa_syntax_for_mode, use_dfa_syntax
--------------------------------------------------------------
Jed_Home_Directory
SYNOPSIS
User's jed home directory
DESCRIPTION
The value of this variable specifies the user's so-called home directory
where personal jed-related files are assumed to be found. Normally, this
corresponds to the user's home directory unless the user has specified
an alternate directory via the `JED_HOME' environment variable.
--------------------------------------------------------------
toggle_case_search
SYNOPSIS
Toggle the CASE_SEARCH variable
USAGE
Void toggle_case_search ()
SEE ALSO
CASE_SEARCH
--------------------------------------------------------------
open_filter_process
SYNOPSIS
Open a subprocess as a filter
USAGE
Int_Type pid = open_filter_process (String_Type argv[], String_Type output)
DESCRIPTION
The `open_filter_process' function may be used to open an interactive
synchronous process. The first argument should be an array of strings
representing the program to be run in the subprocess, and the command line
parameters passed to it. The second argument specifies what to do with the
output generated by the process. It can be any value supported by the
"output" option of the `set_process' function. The process should be
closed using the `close_filter_process' function.
SEE ALSO
close_filter_process, send_process, call_process_region
--------------------------------------------------------------
close_filter_process
SYNOPSIS
Close a filter process and return its status
USAGE
Int_Type close_filter_process (Int_Type pid)
DESCRIPTION
The `close_filter_process' function waits for the specified process
to terminate and returns the exit status of the process. The process must
have been previously opened via the `open_filter_process' function.
SEE ALSO
open_filter_process, send_process, get_process_input
--------------------------------------------------------------
add_keywords
SYNOPSIS
add_keywords
USAGE
String add_keywords (String tbl, String kws, Int len, Int n);
DESCRIPTION
Adds a set of keywords `kws', each of length `len', to the already
existing syntax table `tbl'. For convenience of the user, the function
does alphabetical sorting and removes duplicate entries.
The previous list of keywords is returned.
SEE ALSO
define_keywords_n, create_syntax_table, add_keyword_n
--------------------------------------------------------------
add_keyword_n
SYNOPSIS
add_keyword_n
USAGE
Void add_keyword_n (String tbl, String kw, Int n);
DESCRIPTION
Adds a single keyword `kw' to the already existing syntax table `tbl'.
SEE ALSO
define_keywords_n, create_syntax_table, add_keywords
--------------------------------------------------------------
add_keyword
SYNOPSIS
add_keyword
USAGE
Void add_keyword (String_Type tbl, String_Type kw);
DESCRIPTION
Adds a single keyword `kw' to the already existing syntax table `tbl'.
SEE ALSO
define_keywords_n, create_syntax_table, add_keyword_n
--------------------------------------------------------------
remove_keywords
SYNOPSIS
remove_keywords
USAGE
String remove_keywords (String tbl, String kws, Int len, Int n);
DESCRIPTION
Removes a set of keywords `kws', each of length `len', from the already
existing syntax table `tbl'.
The previous list of keywords is returned.
SEE ALSO
add_keywords, define_keywords_n, create_syntax_table, add_keyword_n
--------------------------------------------------------------
tcl_mode
SYNOPSIS
tcl_mode
DESCRIPTION
Protoytype: Void tcl_mode ();
This is a mode that is dedicated to facilitate the editing of Tcl language files.
See the source (tclmode.sl) for more info.
Functions that affect this mode include:
function: default binding:
tcl_insert_bra {
tcl_insert_ket }
tcl_insert_comment #
newline_and_indent RETURN
indent_line TAB
tcl_indent_region Ctrl-C Ctrl-Q
Variables affecting indentation include:
C_INDENT
C_CONTINUED_OFFSET
Hooks: `tcl_mode_hook'
--------------------------------------------------------------
tex_mode
SYNOPSIS
tex_mode
DESCRIPTION
Mode useful for editing TeX and LaTeX modes.
Useful bindings:
'"' : tex_insert_quote
'\'' : tex_insert_quote
'$' : tex_blink_dollar
'.' : tex_ldots. Inserts a '.' except if preceeded by two dots. In
this case, the dots are converted to \ldots.
When tex mode is loaded, 'tex_mode_hook' is called. This hook will allow
users to customize the mode. In particular, certain functions here have
no keybindings, e.g., 'latex_do_environment'. So, in your jed.rc file,
add something like:
define tex_mode_hook () {
local_setkey ("latex_do_environment", "^C^E");
}
which binds the function to Ctrl-C Ctrl-E.
--------------------------------------------------------------
text_indent_relative
SYNOPSIS
Indent to next indentation point
DESCRIPTION
The `text_indent_relative' function inserts enough whitespace to move
the editing point to the next indentation level defined by the whitespace
pattern of the previous non-blank line. If the current point is beyond
the last indentation level of the reference line, then a literal TAB will
be inserted into the buffer.
SEE ALSO
set_buffer_hook, newline_and_indent
--------------------------------------------------------------
text_mode
SYNOPSIS
text_mode
DESCRIPTION
Mode for indenting and wrapping text
Functions that affect this mode include:
Function: Default Binding:
text_indent_relative TAB
newline_and_indent RETURN
format_paragraph ESC Q
narrow_paragraph ESC N
SEE ALSO
no_mode, c_mode, set_buffer_hook
SEE ALSO
WRAP_INDENTS, WRAP, TAB, TAB_DEFAULT
--------------------------------------------------------------
make_tmp_file
SYNOPSIS
make_tmp_file
USAGE
String make_tmp_file (String base);
DESCRIPTION
This function returns a unique file name that begins with `base'.
If `base' does not specify an absolute path, the value of
`Jed_Tmp_Directory' will be used for the directory.
--------------------------------------------------------------
open_unique_filename
SYNOPSIS
Generate and unique filename and open the file
USAGE
structure = open_unique_filename (base, extname)
DESCRIPTION
This function generates a unique filename of the form
`baseXXXXXX.extname' and returns a structure with fields
filename : The name of the file
fd : The FD_Type file descriptor
fp : The FP_Type file pointer
If `base' represents an absolute path, then the file
will be opened in the correspondind directory. Otherwise the value
of the `Jed_Tmp_Directory' variable will be used.
If this function fails, an exception will be thrown.
NOTES
The value of the `fp' structure field is generated from the
value of the `fd' field using the `fdopen' function. See the
documentation of the `fdopen' function for the relationship of
these two types and their semantics.
SEE ALSO
fdopen
--------------------------------------------------------------
untab
SYNOPSIS
untab
USAGE
Void untab ();
DESCRIPTION
This function may be used either to convert tabs to spaces or, if called
with a prefix argument, it will perform the opposite conversion from
spaces to tabs. This function operates on a region.
--------------------------------------------------------------
vhdl_mode
SYNOPSIS
vhdl_mode
DESCRIPTION
Mode designed for the purpose of editing VHDL files.
After the mode is loaded, the hook 'vhdl_hook' is called.
Useful functions include
Function: Default Binding:
vhdl_beg_of_subprogram ESC ^A
moves cursor to beginning of current function/process
vhdl_end_of_subprogram ESC ^E
moves cursor to end of current function/process
vhdl_mark_subprogram ESC ^H
mark the current function/process
Variables include:
VHDL_Comment_String : string used by 'vhdl_comment' to
comment out a line. Default is "--".
VHDL_Indent_Amount : number of spaces to indent statements in
a block. The default is 2.
--------------------------------------------------------------
|