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
|
2007-12-13 Michael Olson <mwolson@gnu.org>
* lisp/muse-wiki.el ("muse-publish"): Interpret <nop> tags when
publishing.
2007-12-05 Magnus Henoch <mange@freemail.hu>
* lisp/muse.el (muse-escape-specials-in-string): Move
save-match-data outside of with-temp-buffer, because apparently
some implementations of with-temp-buffer can mangle the match
data.
2007-11-28 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-page-file): If page argument
is nil, then choose the first directory in the project.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Style fix.
2007-11-07 Adrian Aichner <adrian@xemacs.org>
* lisp/muse-publish.el (muse-publish-classify-url): Wrap call of
`muse-publish-link-page' in `save-match-data', so that correct
match data gets restored for subsequent use by `match-end'.
2007-10-29 Michael Olson <mwolson@gnu.org>
* lisp/muse-regexps.el (muse-tag-regexp): Permit tag attributes to
span more than one line. Thanks to Florian Beck for the fix.
2007-10-24 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
"---" as a valid mdash. Before, it was doing mdash followed by a
single dash. Thanks to jordanb for the suggestion.
2007-10-12 Michael Olson <mwolson@gnu.org>
* lisp/muse-mode.el (muse-insert-url-initial-input): New option
that specifies the initial text to use when reading a URL. Thanks
to Seweryn Kokot for the suggestion.
(muse-insert-url): Use it.
(muse-mode-fill-paragraph): Take into account any indentation that
is already in front of the term.
* lisp/muse-project.el (muse-project-determine-last-mod): New
function split from muse-project-file-alist.
(muse-project-file-alist): Improve docstring.
(muse-project-add-to-alist): New function that ensures that the
current file is added the its project file-alist.
(muse-project-after-save-hook): Call muse-project-add-to-alist
instead of muse-project-file-alist. This fixes an issue where if
several files were being saved at once, only the first would make
it into the project file-alist.
2007-10-11 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex.el (muse-latex-markup-specials-literal): Escape
backslash as "\textbackslash{}". Thanks to Joost Kremers for the
report.
2007-10-08 Michael Olson <mwolson@gnu.org>
* lisp/muse-mode.el (muse-mode): Set fill-paragraph-function.
(muse-mode-fill-paragraph): New function that fills the paragraph
at point. If a definition list term is on the same line, then
prefix subsequent lines with two spaces when filling. Otherwise,
return nil, so that normal filling can take place.
2007-10-03 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-unhighlight-region): Remove
muse-no-implicit link property.
(muse-colors-implicit-link): Check for muse-no-implicit-link
property.
* lisp/muse-wiki.el (muse-wiki-colors-nop-tag): Add the
muse-no-implicit-link property. This makes colorization of <nop>
work. Add docstring.
2007-09-24 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex2png.el (muse-publish-math-tag): Fix bug
introduced by recent change. Thanks to Darlan Cavalcante Moreira
for the report.
2007-09-23 Michael Olson <mwolson@gnu.org>
* lisp/muse-context.el (muse-context-pdf-generate): Change
default-directory instead of calling "cd" in the command.
* lisp/muse-latex.el (muse-latex-pdf-generate): Change
default-directory instead of calling "cd" in the command. This
should fix a bug with Windows. Thanks to Jia Ye for the report.
2007-09-22 Michael Olson <mwolson@gnu.org>
* AUTHORS: Bookkeeping.
* NEWS: Add entry for the LaTeX image filename escaping changes.
* examples/mwolson/templates/header.tex: Update for recent
changes.
* lisp/muse-latex2png.el (muse-publish-math-tag): Detect whether
the tag ends at the end of a line. If not, do not use "$$" to
publish it. Thanks to Darlan Cavalcante Moreira for the
suggestion.
* lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header)
(muse-latex-slides-header, muse-latex-lecture-notes-header):
Escape specials in the title. Define a museincludegraphics
command, which is able to handle escaped special characters in
image filenames. Thanks to Karl Berry for providing this.
(muse-latex-markup-strings): Use museincludegraphics instead of
includegraphics in all image-related markup. Move the width
specification over to the museincludegraphics command, rather than
specifying it explicitly. This allows people to change this
information in their headers.
(muse-latex-markup-specials-image): Escape backslashes, "#", and
pipe characters in image filenames.
* lisp/muse-wiki.el (muse-wiki-project-files-with-spaces): Fix
byte-compiler warning.
* lisp/muse.el (muse-update-values): Fix byte-compiler warning.
Also, update the value of muse-current-project for all Muse
buffers, even if they are new. This should be more intuitive. I
don't think there are any cases where developers will want this
value to be nil.
(muse-replace-regexp-in-string): Fix byte-compiler warning.
* texi/muse.texi (LaTeX): Mention grffile.sty. Thanks to Karl
Berry for the tip.
2007-09-19 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-replace-regexp-in-string): Remove fallback
code, since it is not needed in any version of Emacs we support,
and it also has a couple of bugs that I don't want to waste time
fixing.
2007-09-18 Michael Olson <mwolson@gnu.org>
* lisp/muse-mode.el (muse-mode): Fix bug involving filling and
paragraphs next to headings. Thanks to Gregory Collins for the
initial patch, which I modified.
2007-09-17 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-colors-toggle-inline-images): Display
message about how images are now displayed.
2007-09-10 Michael Olson <mwolson@gnu.org>
* Makefile (elpa): Use texi/dir-template rather than echoing lines
to the ELPA dir file for Muse.
* texi/dir-template: New file containing template to use when
making ELPA dir files. This fixes a corrupt dir file bug for the
Muse ELPA package. Thanks to Tom Tromey for the report.
2007-09-06 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-class-tag): Fix bug where nested
class tags were not working. We move to just after the beginning
of the first class tag, so that we can detect any remaining class
tags. Thanks to Florian Beck for the report. Fix error that
occurred when class tag has no name element. Thanks to Peter
Baranyi for the report. The correct behavior in this case is to
not publish the tag at all.
* lisp/muse.el (muse-goto-tag-end): Fix bug where nested tags with
arguments were not being detected properly.
2007-09-05 Michael Olson <mwolson@gnu.org>
* lisp/muse-context.el (muse-context-decide-specials): Add
footnote.
* lisp/muse-latex.el (muse-latex-decide-specials): Add footnote.
* lisp/muse-publish.el (muse-publish-escape-specials): Mention
'footnote in docstring.
(muse-publish-markup-footnote): Minor docstring fix. Escape
footnote text properly. Thanks to Jean Magnan de Bornier for
noticing.
(muse-publish-url): When checking to see if this is just a plain
URL without a description, compare the strings as they were before
doing escaping. This fixes a bug where plain URLs could sometimes
be published as if they were URLs with descriptions.
* lisp/muse-texinfo.el (muse-texinfo-decide-specials): Add
footnote.
2007-08-29 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-update-values): Reset the value of
muse-current-project in all Muse buffers. This updates the rules
in case you want to publish a file after changing its associated
muse-project-alist entry.
2007-08-27 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-update-values): New function that the user
can call after changing muse-project-alist, in order to update
various autogenerated values.
* texi/muse.texi (Keystroke Summary): Document it.
2007-08-25 Michael Olson <mwolson@gnu.org>
* examples/QuickStart.muse: Fix typo in first paragraph. Thanks
to Karl Berry for reporting this.
* lisp/muse-mode.el (muse-visit-link-default): Fix bug with
browsing anchors that come after a link to them.
* texi/muse.texi (Poem): Fix typo in spelling of LaTeX. Thanks to
Karl Berry for reporting this.
2007-08-24 Michael Olson <mwolson@gnu.org>
* Release Emacs Muse 3.11.
* AUTHORS: Add new authors for contrib files.
* NEWS: Add entries for Muse 3.11.
* README: Mention that contents of contrib/blosxom and
contrib/pyblosxom have different licenses than the rest of Muse.
* contrib/blosxom/getstamps.pl: New file that implements fetching
timestamps from published Muse files and placing them in a single
timestamps file. That file can then be used by blosxom's metadate
plugin. Thanks to Michael Welle for providing this file, as well
as instructions on how to use Muse with Blosxom.
* contrib/blosxom/metadate_0_0_3: New file implementing the
metadate plugin for blosxom.
* contrib/pyblosxom/getstamps.py: Add license text. It seems safe
to assume that the original author wanted this to be distributed
with Pyblosxom, and hence use the MIT license like the rest of
Pyblosxom.
* contrib/pyblosxom/hardcodedates.py: Add license text.
* contrib/pyblosxom/make-blog: Change license text to be "This
file may be used, distributed, and modified without restriction."
* contrib/pyblosxom/metadate.py: New file that implements the
PyBlosxom metadate plugin. Since this can no longer be found at
the original author's website, I have included it with Muse.
* lisp/muse-blosxom.el: Update location of metadate plugin in
header.
* lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
docstring.
* texi/muse.texi (Blosxom Requirements): Organize information by
subheading and subsubheading, and document how to use the metadate
plugin. Briefly document using Blosxom to serve Muse entries.
2007-08-23 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-insert-contents): Escape heading
title just before extracting it.
* lisp/muse-latex.el (muse-latex-fixup-headings): New function
that removes footnotes from headers, since they are invalid in
LaTeX.
(muse-latex-munge-buffer): Call it.
* lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
specials here. This fixes a bug involving links in headings.
* lisp/muse.el (muse-update-file-extension): Simplify, and handle
some edge cases.
(muse-update-file-extension-after-init): Temporarily bind
muse-file-extension to "muse", so that muse-update-file-extension
knows what the old value was. This should fix a bug reported by
Jean Magnan de Bornier.
2007-08-21 Michael Olson <mwolson@gnu.org>
* lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
url, link, and link-and-anchor look better in texi2html output.
Thanks to thorne for the report.
2007-08-20 Michael Olson <mwolson@gnu.org>
* lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
escape characters rather than discard them. Use muse-regexp-alnum
rather than listing out the characters and numbers. Thanks to
Shunsuke OKANO for the report.
(muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
used when generating a summary.
2007-08-19 Michael Olson <mwolson@gnu.org>
* examples/mwolson: Update my example settings.
* lisp/muse-colors.el (muse-colors-region): Bind
muse-colors-region-end to the end of the last line. This avoids a
bug where lines that had emphasis would suddenly become
unhighlighted when moving around the buffer.
* lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
involving paragraphs after literallayout markup, which is used in
<verse> tags. Thanks to Shunsuke OKANO for the report.
* lisp/muse-html.el (muse-html-src-tag): Use
muse-delete-and-extract-region.
* lisp/muse-import-xml.el: Add require statement.
(muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
* lisp/muse-protocols.el (muse-browse-url-man): Add require
statement.
(muse-browse-url-woman): Add require statement.
* lisp/muse-publish.el (muse-publish-surround-text): Fix serious
bug in definition list publishing. We were skipping past the
initial indented line, and that was causing an erroneous
blockquote to be inserted. This alone merits a new release.
* lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
XEmacs' return value for shell-command.
* lisp/muse.el (muse-delete-and-extract-region): New compatibility
function to deal with XEmacs' lack of the
delete-and-extract-region function.
2007-08-18 Michael Olson <mwolson@gnu.org>
* AUTHORS: Update.
* lisp/muse-publish.el (muse-publish-include-tag): Switch from
copy-tree to copy-alist, since Emacs21 does not have the former,
and the latter does what we want.
* lisp/muse.el: Force-require 'derived, since Emacs21 does not
have derived-mode-p in subr.el like Emacs22 does.
2007-08-17 Michael Olson <mwolson@gnu.org>
* etc/muse.rnc: Add the <cite> tag.
* lisp/muse-context.el (muse-context-slides-header): Clarify what
"mystyle" is.
* lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
<cite type="something">. We'll leave it to the post processing
tools to interpret that.
* texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
directives.
(Citations): New section that explains further how to use the
<cite> tag. The text was taken from Marcus Hoenicka's
documentation at http://refdb.sourceforge.net/muse.html and
modified.
(Tag Summary): Link to the Citations section in the entry for
<cite>.
(ConTeXt): Update the documentation for
muse-context-slides-header.
2007-08-17 Jean Magnan de Bornier <jean@bornier.net>
* lisp/muse-context.el (muse-context-slides-header): Use #module
directive, if it is provided.
(muse-context-slides-header): Mention how to use #module.
2007-08-16 Michael Olson <mwolson@gnu.org>
* Release Emacs Muse 3.10.
* Makefile (dist, debprepare): Pass HEAD argument to git-archive.
(upload): Don't depend on release rule.
* NEWS: Document remaining changes.
2007-08-15 Michael Olson <mwolson@gnu.org>
* NEWS: Document items through 2007-08-12.
* lisp/muse-colors.el: Split the muse-directive-or-comment
property into two separate properties that are muse-directive and
muse-comment.
(muse-colors-region-end): Make buffer-local.
(muse-colors-delayed-commands): New variable that contains a list
of commands to run immediately after highlighting. This is meant
to allow highlighting functions to delay code until later.
(muse-colors-region): Apply commands in
muse-colors-delayed-commands.
(muse-colors-inhibit-tags-in-directives): New variable that
determines whether tags are allowed in directives.
(muse-colors-custom-tags): Take
muse-colors-inhibit-tags-in-directives into account.
(muse-unhighlight-region): Remove muse-directive and muse-comment
properties.
(muse-colors-title): Modify muse-colors-delayed-commands.
(muse-colors-title-lisp): New command that gets called after
highlighting other things. This interprets <lisp> tags, and is
passed arguments specifying the beginning and end of the region.
Thanks to Junichi Uekawa for the report. The reason we want to do
things this way is because this is the behavior we get already
when publishing the page.
* lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
property rather than muse-directive-or-comment.
2007-08-14 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el: Document all functions and variables.
(muse-colors-emphasized, muse-colors-underlined)
(muse-colors-verbatim, muse-colors-custom-tags)
(muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
on comments or the #title directive.
(muse-colors-markup): Add comment rule.
(muse-colors-implicit-link): Only remove flyspell overlay after we
decide whether this is an implicit link, rather than before.
(muse-colors-title): Add the muse-directive-or-comment property.
(muse-colors-comment): New function that colorizes comments using
font-lock-comment-face.
(muse-colors-region-end): New variable indicating the end of the
region that is currently being font-locked. This removes the need
for an ugly "defvar end" hack.
(muse-colors-emphasized, muse-colors-underlined)
(muse-colors-verbatim): Use it.
(muse-colors-region): Let-bind it.
* lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
docstring.
* lisp/muse-publish.el (muse-publish-markup-heading): Escape
specials in heading now, rather than waiting on the whole-document
pass later on. This lets <contents> generation work without
validation errors. Thanks to Reid van Melle for the report.
* texi/muse.texi (Tag Summary): Document <cite> tag.
(Miscellaneous): New chapter containing "Muse List Edit Minor
Mode" section.
(Muse List Edit Minor Mode): New section that documents
muse-list-edit-minor-mode.
(Development): Mention the MuseDevlopment page on emacswiki.org.
* lisp/muse.el (muse-goto-tag-end): Deal with case where we are
font-locking and the end or beginning of a tag is in a comment or
directive.
2007-08-12 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-strip-links): New function that
strips HTML links from a string.
(muse-html-insert-contents): Use it, instead of
muse-publish-strip-tags. This fixes a bug reported by Xin Shi
involving the use of <sup> in section titles.
* lisp/muse-project.el (muse-project-resolve-directory): New
function that figures out the directory part of the path that
provides a link to a page.
(muse-project-resolve-link): Expand docstring. Use the new
function. Don't call muse-publish-link-file, because that does
the wrong thing when we have muse-file-extension set to nil.
Thanks to Sebastian Obermanns for the report.
(muse-project-publish-this-file): Let-bind muse-current-project.
Also, if the file is not associated with a project, fall back to
muse-publish-this-file.
(muse-project-set-variables): Add this to
muse-before-publish-hook, so that it gets called. This fixes a
bug where project-specific variables were being used in Muse mode,
but ignored when publishing.
* lisp/muse-publish.el (muse-publish-link-name)
(muse-publish-link-file, muse-publish-link-page): Add docstrings
so that I can remember what each of these things do.
(muse-publish-strip-tags): Remove, since it is no longer used.
(muse-publish-cite-tag): Don't let-bind
muse-publishing-directives, because there is no need to do so.
Fix code indentation.
(muse-publish-markup-attribute): Avoid multiple evaluation of
attrs argument, in case it is list value instead of a symbol. Use
sexp instead of form in the edebug-form-spec.
(muse-publish-include-tag): Make a full copy of
muse-publishing-directives, since it can be modified with setcdr.
This fixes a bug where #title and some other directives were
leaking out of an included region.
(muse-publish-mark-up-tag): Don't let-bind
muse-publishing-directives, because there is no need to do so.
* lisp/muse.el (muse-page-name): Improve docstring.
* texi/muse.texi (Development): Mention the http method for
anonymous git access to the shared repo.
2007-08-10 Michael Olson <mwolson@gnu.org>
* Makefile (dist, debprepare): Use git instead of tla.
* contrib/httpd.el (httpd-send-file): Use insert-file-contents.
* examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
Use muse-insert-file-contents.
* experimental/muse-split.el (muse-publish-file)
(muse-publish-presplit-publish, muse-publish-no-split-function)
(muse-journal-split-by-entry, muse-journal-split-by-month): Use
muse-insert-file-contents.
* lisp/muse-book.el (muse-book-publish-chapter)
(muse-book-get-directives): Use muse-insert-file-contents.
* lisp/muse-http.el (muse-http-render-page): Use
muse-insert-file-contents.
* lisp/muse-poem.el (muse-poem-markup-tag): Use
muse-insert-file-contents.
* lisp/muse-publish.el (muse-insert-file-or-string)
(muse-publish-file, muse-publish-include-tag)
(muse-published-contents): Use muse-insert-file-contents.
* lisp/muse.el (muse-insert-file-contents): New function that
inserts a file with character code conversion, but none of the
other frivolities. Since insert-file-contents-literally does not
do character code conversion, it is not suitable for us.
(muse-with-temp-buffer): Mention muse-insert-file-contents rather
than insert-file-contents-literally.
2007-08-09 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-write-file): Pay attention to
coding-system-for-write and save-buffer-coding-system. This
should fix a recently-introduced bug with writing Muse pages in
different coding systems.
2007-08-08 Michael Olson <mwolson@gnu.org>
* README (Prerequisites): Fix typo.
(Compilation, Installation): Update.
(Documentation, Further Documentation): Update URLs.
(Further Documentation): Add quick blurb on how to participate in
Muse development or track changes.
* texi/muse.texi (Releases): Use gna.org URL for downloading the
latest release, rather than my website.
(Development): Change instructions to use git instead of
Arch. Mention where to get a Windows binary for git. Improve the
look of the listing. Add section with instructions for Becoming a
Muse developer.
(Installation): Update instructions for Makefile.defs.default and
XEmacs. Add index entries. Add section for ELPA, since Muse
ought to be distributed in ELPA after the 3.10 release. Fix typo
and clarify wording.
2007-08-06 Michael Olson <mwolson@gnu.org>
* texi/muse.texi: Make sure that attributes are marked up with
@option{} rather than @code{} or @samp{} for consistency.
(Journal): Add "muse-project-alist-considerations" subheading,
along with a mention of :base-url.
2007-08-05 Michael Olson <mwolson@gnu.org>
* .gitignore: Add texi/muse.html and the DVC log edit file.
* Makefile.defs.default (install_info): Rename from INSTALLINFO.
Turn this into something that can be called like a command, due to
needing to deal with XEmacs, which has different argument order.
Thanks to Terrence Brannon for the report.
* lisp/muse-project.el (muse-project-of-file): Simplify by using
catch, throw, and dolist. Look for exact matches before
considering any subdirectories. If no exact matches are found,
then pick the longest match.
* lisp/muse.el (muse-sort-by-rating): Mention default test in
documentation.
* scripts/muse-build.el: Avoid interference from VC.el in the
build process.
* texi/Makefile (install): Call install_info.
2007-08-03 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-applicable-styles): Remove
useless argument ignore-regexp. Use saner logic. This fixes a
bug where a file could potentially not exist but still appear in
the used-styles list. Thanks to John Wiegley for the fix.
(muse-project-publish-file): Don't take ignore-reegxp argument.
2007-08-02 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-batch-publish-files): Don't activate
VC when publishing files in batch. This avoids some annoying
messages when building QuickStart in the examples directory.
* lisp/muse-mode.el (muse-mode): Don't try to indent line before
inserting a comment.
2007-07-31 Michael Olson <mwolson@gnu.org>
* lisp/Makefile: Add dependencies between Emacs Lisp files, so
that Muse can be recompiled without running "make clean" after an
update.
* lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
delete forward one character, since we are guaranteed to be on a
blank line. Don't delete all initial whitespace of the first
line. This fixes an issue where the output from the verse tag did
not match the output from Muse's verse syntax.
2007-07-29 Michael Olson <mwolson@gnu.org>
* Relicense to GPLv3.
* Makefile.defs.default: Rename from Makefile.defs. This allows
people to copy this file to Makefile.defs and make changes,
without having the changes be accidentally committed. If
Makefile.defs does not exist, this file is read instead, in order
to minimize inconvenience to the casual user.
* Makefile, contrib/Makefile, examples/Makefile,
experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
Makefile.defs.default or Makefile.defs.
* lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
function names.
(muse-l-e-m-m-insert-list-item): Add real documentation.
(muse-l-e-m-m-increase-list-item-indent)
(muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
real documentation.
(muse-list-edit-minor-mode): Improve documentation.
* texi/doclicense.texi (GNU Free Documentation License): Use
pristine copy from Emacs source tree.
* texi/muse.texi (Contributors): Move node and appendix indicators
here, rather than doclicense.texi.
2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
* lisp/muse-latex.el (muse-latex-markup-strings): Change rule
command which did not work correctly
* lisp/muse-context.el (muse-context-markup-strings): Change rule
command which did not work correctly; defined verse commands
(muse-context-markup-specials-literal): Eliminate all unuseful entries
2007-07-29 Michael Olson <mwolson@gnu.org>
* contrib/httpd.el (httpd-send-file): Use
insert-file-contents-literally instead of insert-file-contents.
* examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
Use insert-file-contents-literally instead of
insert-file-contents.
* experimental/muse-split.el (muse-publish-file)
(muse-publish-presplit-publish, muse-publish-no-split-function)
(muse-journal-split-by-entry, muse-journal-split-by-month): Use
insert-file-contents-literally instead of insert-file-contents.
* lisp/muse-book.el (muse-book-publish-chapter)
(muse-book-get-directives): Use insert-file-contents-literally
instead of insert-file-contents.
* lisp/muse-http.el (muse-http-render-page): Use
insert-file-contents-literally instead of insert-file-contents.
* lisp/muse-import-latex.el (muse-import-latex): Set marker to
nowhere when done, since they can slow things down.
* lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
marker to nowhere when done, since they can slow things down.
* lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
when done, since they can slow things down. Use
insert-file-contents-literally instead of insert-file-contents.
* lisp/muse-publish.el (muse-publish-markup-tag)
(muse-publish-markup-word, muse-publish-markup-footnote)
(muse-publish-call-tag-on-buffer): Set markers to nowhere when
done, since they can slow things down.
(muse-insert-file-or-string, muse-publish-file)
(muse-publish-include-tag, muse-published-contents): Use
insert-file-contents-literally instead of insert-file-contents.
(muse-publish-surround-dl): Remove unused variable. Track whether
a term has been found, and handle that case well.
(muse-publish-ensure-blank-line): Use a marker, so that we don't
lose our place when adding a newline. This really fixes the
definition list item bug.
(muse-publish-markup-list): Since people do seem to want
definition lists with no terms, allow this.
(muse-batch-publish-files): Set muse-current-output-style.
* lisp/muse.el (muse-with-temp-buffer): Mention
`insert-file-contents-literally'.
2007-07-28 Michael Olson <mwolson@gnu.org>
* lisp/muse-mode.el (muse-browse-result): Set
muse-current-output-style.
(muse-mode): Don't duplicate the paragraph-start regexp
unnecessarily.
(muse-list-edit-minor-mode-map): New variable containing the
keymap for Muse list edit minor mode.
(muse-l-e-m-m-list-item-regexp): New variable that matches list
items for Muse list edit minor mode.
(muse-l-e-m-m-insert-list-item,
muse-l-e-m-m-i-list-item-indentation)
(muse-l-e-m-m-d-list-item-indentation): Variants of existing list
item functions that change the list item regexp before calling the
existing function.
(muse-l-e-m-m-data): New variable that keeps track of the fill
data that we overwrite when activating Muse list edit minor mode,
so that we can restore it if the minor mode is toggled off.
(muse-list-edit-minor-mode): New minor mode that is useful for
editing lists in other major modes.
(turn-on-muse-list-edit-minor-mode)
(turn-off-muse-list-edit-minor-mode): New interactive functions
that turn Muse list edit minor mode on and off, respectively.
(muse-on-blank-line, muse-get-paragraph-start): Simplify some
regexps.
* lisp/muse-project.el (muse-project-publish-this-file): Set
muse-current-output-style. This fixes a bug when publishing to a
style that is not first in the list of styles. Thanks to Jean
Magnan de Bornier for the report.
* lisp/muse-publish.el (muse-publish-ensure-blank-line): New
function that ensures that a blank line exists in the line before
point.
(muse-publish-markup-list): Use it, rather than
`muse-publish-ensure-block'. This fixes a bug with definition
list publishing. Thanks to meandtheshell for reporting this.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
project argument is nil, default to the current project instead of
the first project entry in muse-project-alist. This seems much
more sane to me.
* lisp/muse.el (muse-forward-list-item): Only check the 'face
property if we are in Muse mode or one of its derivatives. This
allows movement on nested lists to work in other modes, and fixes
an issue with altering list indentation in
muse-list-edit-minor-mode.
2007-07-27 Michael Olson <mwolson@gnu.org>
* AUTHORS: Add new authors.
* README: Permit Muse to be called "Emacs-Muse".
* etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
* lisp/muse-publish.el (muse-publish-surround-text): Fix bug
involving list items that have an extra blank line in front.
* texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
and Emacs-Muse are the same thing.
2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
* lisp/muse-context.el (muse-context-header): Put
starttext after the modules who must be in preamble.
(muse-context-markup-strings): Fixed mistake in begin-example and
end-example.
* lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
math environment in ConTeXt when centered: "$$ $$" has to be
"\startformula \stopformula".
2007-07-26 Michael Olson <mwolson@gnu.org>
* lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
parentheses in URLs.
2007-07-24 Michael Olson <mwolson@gnu.org>
* examples/QuickStart.muse (Images): Fix typo where some text
existed in the output but not in the example region.
(Source Code): Fix another typo. Explain that publishing from
console or X can make a difference.
* lisp/muse-context.el (muse-context-pdf-program): New option that
determines the program to use for generating PDF files for
ConTeXt.
(muse-context-pdf-cruft): New option that specifies the extensions
of files to remove after generating PDF output successfully.
(muse-context-slides-header): Docfix.
(muse-context-pdf-generate): Use new options.
* lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
save-restriction call. This was causing a world of hurt when
using <lisp> inside of <include>.
* texi/muse.texi (ConTeXt): New section that documents how to use
the ConTeXt publishing styles.
2007-07-23 Michael Olson <mwolson@gnu.org>
* lisp/muse-context.el: New file that provides support for
publishing documents to the ConTeXt format. Thanks to Jean Magnan
de Bornier for his work on this.
* lisp/muse-docbook.el (muse-docbook-entities)
(muse-docbook-bibliography): Remove unneeded save-restriction use.
* lisp/muse-latex2png.el (muse-publish-latex-tag):
s/contex/context/.
* lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
(muse-latex-bibliography): Remove call to `widen', since it is not
needed anymore. Remove unneeded save-restriction use.
("slides", "slides-pdf"): Indent elements uniformly.
2007-07-22 Michael Olson <mwolson@gnu.org>
* lisp/muse-blosxom.el (muse-blosxom-new-entry):
* lisp/muse-mode.el (muse-insert-tag):
* lisp/muse-project.el (muse-read-project)
(muse-read-project-file):
* lisp/muse-publish.el (muse-publish-get-style): Use
muse-completing-read-function.
* lisp/muse-latex2png.el (muse-publish-latex-tag)
(muse-publish-math-tag): Allow the context style -- which I plan
to include soon -- to work with these tags.
* lisp/muse.el (muse-completing-read-function): New option that
determines which function to call when doing a completing-read.
2007-07-15 Michael Olson <mwolson@gnu.org>
* lisp/muse-journal.el (muse-journal-html-entry-template)
(muse-journal-rdf-entry-template)
(muse-journal-rss-entry-template): Mention that this can be text
or a filename.
(muse-journal-rdf-entry-template, muse-journal-rss-header)
(muse-journal-rss-footer, muse-journal-rss-entry-template): Add
newlines to make the output look nicer.
(muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
Use muse-insert-file-or-string for the entry templates, rather
than muse-insert-markup. This allows <lisp> and <markup> tags to
be acted on. Thanks to Scott Hyde for the report.
(muse-journal-html-munge-buffer): Escape quote of the day using
entire-document specials before snarfing it. Mark entire template
as read-only -- this fixes an incorrect escaping bug. Remove
read-only properties before replacing template matches so that
they can still be escaped with entire-document specials later on.
(muse-journal-rss-munge-buffer): Make sure that title is escaped
properly.
(muse-journal-markup-tags): Rename from
muse-journal-latex-markup-tags, because we will use it for
journal-rss-entry as well.
(muse-journal-qotd-tag): Move higher. Use begin-quote-item and
end-quote-item.
(muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
html.
("journal-latex", "journal-pdf", "journal-book-latex")
("journal-book-pdf"): Use muse-journal-markup-tags rather than
muse-journal-latex-markup-tags.
("journal-rss-entry"): New style that is used by journal-rss and
journal-rdf to mark up individual entries. It is needed so that
we can do something meaningful with the qotd tag.
(muse-journal-rdf-summarize-entries): Set this to nil by default,
because it is annoying. Update docs to mention this.
(muse-journal-rss-summarize-entries): Docfix.
* lisp/muse-publish.el (muse-insert-file-or-string): Use
muse-publish-markup-header-footer-tags. I'm not quite sure how
this change got reverted.
(muse-markup-tag-info): Make into a function. Move common code
here, rather than duplicating it in two places. Deal with case
where muse-publish-use-header-footer-tags is non-nil.
(muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
(muse-inhibit-style-tags): Move higher to avoid byte-compiler
warning.
(muse-publish-use-header-footer-tags): New variable that indicates
whether we should use just the header and footer tags, rather than
the full set.
(muse-insert-file-or-string): Bind
muse-publish-use-header-footer-tags to t.
(muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
Simplify call to muse-markup-tag-info.
(muse-publish-mark-up-tag): Bind
muse-publish-use-header-footer-tags to nil.
* texi/muse.texi (Journal): Update for recent changes.
2007-07-14 Michael Olson <mwolson@gnu.org>
* lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
delete the remainder of the buffer, since this causes the
resulting RDF to have invalid syntax. Thanks to Phillip Lord for
the report and the suggested fix.
* lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
beginning of table-el regexp. This fixes a bug where Muse stalls
when trying to publish a malformed table. Thanks to Ye Wenbin for
the report and the suggested fix.
2007-07-12 Michael Olson <mwolson@gnu.org>
* lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
default, rather than the empty string. This really fixes the bug
that occurred when using Muse with muse-project-alist set to nil.
Thanks to Jonathan Underwood for the report.
(muse-wiki-update-interwiki-regexp): Set
muse-wiki-interwiki-regexp to nil if muse-project-alist is not
defined.
(muse-wiki-handle-implicit-interwiki)
(muse-wiki-handle-explicit-interwiki): Handle case where
muse-wiki-interwiki-regexp is nil.
2007-07-10 Michael Olson <mwolson@gnu.org>
* lisp/muse-mode.el (muse-grep): Abort search if the current
project contains no directories.
* lisp/muse-project.el (muse-project-file-alist): If
muse-project-alist is not defined, or project is nil, return nil
right away. This ought to fix a bug that occurred when using Muse
with muse-project-alist set to nil.
(muse-project-of-file): Make sure muse-project-alist is not nil.
(muse-project-save-buffers): Make sure project is not nil.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
case where muse-project-alist is nil.
* lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
for XEmacs, since color-theme.el is poorly behaved, and defines
its own replace-in-string. Bad color-theme.el -- no cookie for
you.
2007-07-01 Michael Olson <mwolson@gnu.org>
* Makefile (.PHONY): Update for new debian package rules.
* lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
* lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
Use save-restriction properly.
(muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
* lisp/muse-latex.el (muse-latex-footer): Wrap long line.
(muse-latex-fixup-citations): Re-indent. Use save-restriction
properly.
(muse-latex-bibliography): Re-indent.
* lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
higher. This fixes an error at startup with some versions of
Emacs.
(muse-publish-cite-tag): Re-indent.
* lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
to the end of the link part, so as to exclude the description from
the match. This fixes a bug with three-part links that have
descriptions. Thanks to everyone who pointed it out.
2007-06-18 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-markup-strings): Add anchor.
(muse-xhtml1.1-markup-strings): New option that specifies XHTML
1.1 specific markup strings.
(muse-html-insert-anchor): Use 'anchor string, rather than
hard-coding it. Thanks to Chris Corsair for the suggestion.
("xhtml1.0"): New style that is an alias for the xhtml style.
("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
2007-06-17 Michael Olson <mwolson@gnu.org>
* examples/QuickStart.muse: Make images local so that the Info
version of this document works. Add <example> for the Literal
paragraphs chapter, so that it is clear what is happening.
* Makefile: Add elpa target, which is used for building an ELPA
package for Muse.
* Makefile.defs (ELPADIR, ELPADESC): New variables used for
building ELPA packages.
* examples/Makefile (%.html, %.pdf, %.info): Add message to
indicate what we are publishing.
(realclean distclean fullclean): Remove all TeX crud.
* examples/emacs-muse.png, examples/muse-made-with.png: Include so
that the Info version of QuickStart can publish correctly.
* lisp/muse-latex.el (muse-latex-slides-header)
(muse-latex-lecture-notes-header): Docfix.
* lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
the list of things to ignore.
* lisp/muse-publish.el (muse-publish-markup-list): Remove unused
variable.
* lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
default to nil, since texinfmt.el is a serious nuisance.
(muse-texinfo-markup-strings): Add newlines to begin-example and
end-example.
(muse-texinfo-decide-specials): Also escape URL-type specials in a
whole slew of other contexts.
* lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
muse-xml.
* lisp/muse-xml.el (muse-xml-footer): Docfix.
* lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
2007-06-16 Michael Olson <mwolson@gnu.org>
* etc/IDEAS.muse: Add some ideas from David D. Smith.
* examples/QuickStart.muse: Overhaul.
* lisp/muse-project.el (muse-project): Call the last part of a
muse-project-alist entry "Output styles" rather than "styles".
* lisp/muse-publish.el (muse-publish-table-fields): Handle case
where we have a pipe character at the beginning of line.
* lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
causing tables to not be sorted at all.
* texi/muse.texi: Overhaul. It would be too time-consuming to
list all of the changes here. The "Getting Started" and
"Projects" chapters, in particular, were heavily revised.
2007-06-15 Michael Olson <mwolson@gnu.org>
* NEWS: Update.
* examples/QuickStart.muse: Mention new features.
* lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
terminal, and C-c TAB is more important. Most people will not
want to toggle images on and off that often.
* lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
C-i as well, so that it works in the terminal.
* lisp/muse-publish.el (muse-publish-literal-tag): Make the output
look a bit tidier when removing the region.
* lisp/muse-regexps.el (muse-list-item-regexp): Put definition
list regexp part before other parts.
(muse-ol-item-regexp): New regexp that specifies how to match an
ordered list item.
(muse-ul-item-regexp): New regexp that specifies how to match an
unordered list item.
(muse-table-field-regexp): New regexp that specifies how to match
a definition list entry.
* lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
lack of support for @headitem in texinfmt.el.
* lisp/muse.el: Wrap muse-line-beginning-position and
muse-line-end-position in `eval-and-compile', since they are now
used in muse.el.
(muse-list-item-type): Use a simpler algorithm for detecting which
kind of list item we have. This fixes a bug where a number in a
definition list term was being detected incorrectly as an ordered
list item. Fixes bug #6250.
(muse-forward-list-item): Get the entire line with the list item.
For some reason, Emacs 21 was not populating match 2 correctly,
unlike Emacs 22, so this workaround was needed.
* texi/muse.texi: (Keystroke Summary): Remove C-c
C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
alternative keybinding to the C-c TAB stuff. Mention
muse-colors-toggle-inline-images.
2007-06-14 Michael Olson <mwolson@gnu.org>
* README: Mention that RelaxNG schema is in etc/ directory.
* etc/emacs-wiki-migration.txt: New document that explains how to
migrate from emacs-wiki to Muse.
* etc/muse.rnc: Increment version number to 1.0. Fix several
nested emphasis and nested lists edge cases. Move here from
examples/.
* lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
same thing as C-c C-S-t, since the former works better in the
console. Thanks to Leo for the suggestion.
* lisp/muse-publish.el (muse-publish-markup-table)
(muse-publish-markup-table-el): Include a newline in the return
string, so that paragraph detection does not get confused.
* lisp/muse.el (muse-with-temp-buffer): Docfix.
* texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
keybinding.
2007-06-13 Michael Olson <mwolson@gnu.org>
* etc/IDEAS.muse: Mark three-part-links item as done.
* experimental/muse-message.el: Remove guard for muse-define-style
calls.
* lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
markup rules were being interpreted in reverse order. This should
make implicit interwiki links work properly again.
(muse-link-face): Strip anchor from end of a path, so that this
works with anchors in interwiki links.
(muse-colors-insert-image): Catch error that occurs in Emacs 21
when an image does not exist.
* lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
anchors.
(muse-wiki-handle-implicit-interwiki): Docfix. Make anchors in
interwiki links work. Thanks to Jim Ottaway for the initial
implementation.
(muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
links work.
* lisp/muse.el (muse-handle-implicit-link): Docfix: only care
about match 0.
(muse-handle-explicit-link): Docfix: this does not modify the
match data.
(muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
that has the regexp in its car.
2007-06-12 Michael Olson <mwolson@gnu.org>
* README: Document new etc/ directory.
* etc/IDEAS.muse: Install things from new contributors just after
the 3.03 release, since I won't have time to review the code
before the release. Move to new etc/ directory. Slides
publishing has been installed.
* lisp/muse-latex.el (muse-latex-slides-header): New option that
determines the header to use for publishing slides.
(muse-latex-lecture-notes-header): New option that determines the
header to use for publishing lecture notes.
(muse-latex-slides-markup-tags): New option containing tags to use
when publishing slides.
(muse-latex-permit-contents-tag): Move higher in file.
(muse-latex-slide-tag): New function to publish the <slide> tag.
("slides", "slides-pdf"): New publishing styles that create slides
using Beamer.
("lecture-notes", "lecture-notes-pdf"): New publishing styles that
create lecture notes using Beamer.
* lisp/muse.el: Re-add the auto-mode-alist part to top-level,
since otherwise Planner is not happy when `plan' is called during
init. Remove stray quote from autoload snippet.
2007-06-11 Michael Olson <mwolson@gnu.org>
* lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
autoload, rather than having it exist at top-level. Thanks to Leo
for the suggestion.
(muse-update-file-extension): Docfix.
2007-06-10 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
URLs were being removed during publishing. Thanks to everyone who
reported this.
2007-06-09 Markus Hoenicka <markus.hoenicka@mhoenicka.de>
* lisp/muse-book.el
* lisp/muse-docbook.el
* lisp/muse-latex.el
* lisp/muse-publish.el: added support for <cite> element which
denotes in-text citations
* lisp/muse-html.el
* lisp/muse-groff.el
* lisp/muse-texinfo.el
* lisp/muse-xml.el: added support for <cite> element (stub)
2007-06-06 Michael Olson <mwolson@gnu.org>
* lisp/muse-regexps.el (muse-table-line-regexp)
(muse-table-hline-regexp, muse-table-el-border-regexp): Fix
regexps so that they work with XEmacs 21. Thanks to Adrian
Tritschler for the report.
* texi/muse.texi: Update copyright years.
(HTML): Document muse-xhtml-style-sheet. Thanks
to thorne for noticing.
(Development): Change archive year to 2006. Thanks to Adrian
Tritschler for noticing. So *that's* why some people had the 2005
version ....
2007-06-05 Michael Olson <mwolson@gnu.org>
* Makefile (install-info): Remove $(MANUAL).info part, since this
is taken care of already by texi/Makefile. Thanks to Leo for the
report.
* lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
read-only properties to qotd contents, so that they don't get
double-escaped. Thanks to Leo for the report.
2007-06-04 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-link-face): If the link is to a remote
-- that is, Tramp or ange-ftp -- file, then do not call
file-exists-p on it. Thanks to Jim Ottaway for the suggestion.
Fixes bug #5115.
* lisp/muse-html.el (muse-html-insert-contents): Add
documentation. Handle case where heading is read-only, but has
muse-contents property. Remove the muse-contents property for any
heading we come across so as to avoid double-including an item in
an outer table of contents.
(muse-html-denote-headings): New function that denotes whether a
heading is not read-only by adding the muse-contents property to
it.
(muse-html-munge-buffer): If we are not to generate contents,
still denote headings, in case some outer layer wants to generate
contents for our headings. This should fix a bug with table of
contents and the <include> tag. Thanks to thorne for the report.
* lisp/muse-publish.el (muse-publish-markup-region): Let-bind
muse-publish-generate-contents and set it to nil. This should
do the right thing when using <include> tags.
2007-06-02 Michael Olson <mwolson@gnu.org>
* NEWS: Update for non-inlined image change and support for
table.el style tables.
* examples/Makefile (clean): Clean backup files.
* examples/QuickStart.muse (Images): New section that describes
how to inline and not inline images.
* lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
touch images that have "URL:" in front of them.
* lisp/muse-protocols.el (muse-url-protocols): Add handler for
"URL:". Use the identity function to resolve, since we don't want
to rip "URL:" out while publishing, due to some magic that depends
on that text.
(muse-browse-url-url): New function that browses URLs that have
"URL:" in front of them, by removing the "URL:" part and
reprocessing the remainder.
* lisp/muse-publish.el (muse-publish-classify-url): Docfix.
(muse-publish-url): Recognize images in the description before
images in the link. Fixes bug #5112. Thanks to Thomas Kappler
for the suggested workaround.
(muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
default value.
(muse-publish-classify-url): If target begins with "URL:" return
type url.
(muse-publish-strip-URL): New function that strips "URL:" from the
beginning of a string. This is used to remove URL: from the link
description. * texi/muse.texi (Markup Strings): Clarify the
meanings of image-link, link, and link-and-anchor.
(muse-publish-markup-regexps): Move normal table rule to 2350.
Rule 2300 is now a regexp that matches table.el-style tables.
(muse-publish-markup-functions): Add table-el entry.
(muse-publish-table-el-table): New function that given a variant,
publishes a table.el-style table using the table in the matched
region.
(muse-publish-markup-table-el): New function that determines
whether the table.el-style table can be published, and what
variant to use.
* lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
the borders of table.el-style tables.
* lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
the table has sufficient whitespace in front of it.
* texi/muse.texi (Images): Update for new non-inlined image
ability and provide example.
2007-05-31 Michael Olson <mwolson@gnu.org>
* NEWS: Add example for setting `muse-html-table-attributes'.
* lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
Publish multiple tbody tags if there is a horizontal separator
after the heading, because that is valid HTML after all.
2007-05-30 Michael Olson <mwolson@gnu.org>
* NEWS: Update.
* lisp/muse-latex.el (muse-latex-markup-table): Deal with
horizontal separators in tables.
* lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
horizontal separators in tables.
(muse-publish-trim-table): New function to remove initial and
final blank columns from a table.
(muse-publish-table-fields): Call `muse-publish-trim-table'. Deal
with horizontal separators, aka "hlines".
* lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
defines the syntax of a horizontal separator in a table.
* lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
horizontal separators. Publish header lines correctly.
* lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
where we have nonnumbers as a row type. This ignores sorting for
hlines.
(muse-xml-markup-table): Deal with horizontal separators. If the
markup supports table groups, make hlines separate table groups.
Otherwise, ignore them, since they cannot be marked up. Together,
these changes allow us to support orgtbl-mode tables. Thanks to
Carsten Dominik for the suggestion.
2007-05-26 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-alist-styles): Allow for
other things to be added to each generated style as well. For
example, this permits me to add
:base-url "http://blog.mwolson.org/"
for my blog.
2007-05-25 Michael Olson <mwolson@gnu.org>
* Makefile (debclean, debprepare, debbuild, debinstall, deb): New
way of building Debian packages that preserves the original
release tarball and is more modular.
(debrevision, debrelease): Remove.
(dist): No need to remove the debian/ directory, since it is now
in its own branch.
(debprepare): Copy over debian/ directory properly.
* NEWS: Update.
* examples/Makefile (clean): Remove QuickStart.texi, in case
something went wrong during the build.
(%.pdf): Publish the example using the normal pdf style, rather
than info-pdf.
* examples/QuickStart.muse: Add myself to the authors list.
* lisp/muse-html.el (muse-html-src-tag): Ensure that we have
sufficient blank lines before the tag.
* lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
we have sufficient blank lines before the tag.
* lisp/muse-latex.el (muse-latex-pdf-program): New option that
specifies the program to call in order to generate PDF content
from LaTeX content.
(muse-latex-pdf-cruft): New option that specifies the extensions
of files to remove after generating PDF output successfully.
(muse-latex-pdf-generate): Use these new options. Work around the
annoying edge case where a tilde character exists in the filename
or directory path -- now this can only error out when the relative
path from the output file to the source file contains a tilde,
which is far less likely.
* lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
muse-publish-ensure-block here after all, because <lisp> et al may
occur inline as part of other things.
* lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
occur after full-document escaping, rather than before. This
prevents automatically-inserted Texinfo code from being escaped.
(muse-texinfo-pdf-generate): Rewrite to call
`muse-latex-pdf-generate' with pdftex as the generating binary,
because texi2pdf suffers irredeemably from the tilde edge case
mentioned above.
2007-05-24 Michael Olson <mwolson@gnu.org>
* NEWS: Drop vague entries and position interesting entries closer
to the top of each section. Update for new changes.
* lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
and bzr metadata directories to the list of things to ignore.
* lisp/muse-publish.el (muse-publish-ensure-block): Rename from
`muse-publish-ensure-block-tag', since we will use it for more
than just tags.
(muse-publish-markup-list, muse-publish-verse-tag)
(muse-publish-quote-tag, muse-publish-example-tag)
(muse-publish-markup-attribute): Use it. This fixes a bug that
can occur when these types of markup occur immediately after a
paragraph. It's good to have defined behavior!
* texi/muse.texi (Markup Strings): Mention new argument for
link-and-anchor.
2007-05-19 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
published footnotes and footnote references. Thanks to Scott
Jaderholm for the idea.
* lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
link-and-anchor, on the recommendation of the original submitter.
2007-05-14 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex.el (muse-latex-markup-strings): Use better
link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
suggestion.
* lisp/muse-publish.el (muse-publish-url): Pass the url without a
file extension as the fourth argument.
* README, texi/muse.texi (Getting Help and Reporting Bugs):
Mention the new muse-el-logs mailing list.
2007-05-13 Michael Olson <mwolson@gnu.org>
* lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
"\`" here. This fixes a problem with publishing custom URLs.
2007-05-12 Michael Olson <mwolson@gnu.org>
* lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
update the list if the current buffer is associated with a file.
This fixes a bug with M-x muse-publish-region in a temporary
buffer.
2007-05-01 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-region): Remove read-only
properties from the published buffer, so that the results can be
manually tweaked.
2007-04-23 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
find the footnote that goes with a reference, leave the reference
as-is. This fixes an error where control characters could be
placed in a published document.
2007-04-22 Michael Olson <mwolson@gnu.org>
* IDEAS.muse: Add muse-slides.el to list of things to include
before release.
* lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
character.
(muse-protocol-find): Find protocols correctly. Rewrite to use
catch/throw.
(muse-browse-url): Don't concatenate "\`" here. Together, this
fixes a bug with browsing woman:// links.
* lisp/muse-project.el (muse-project-alist-styles): Deal with case
where entry-dir has a trailing backslash.
(muse-project-publish-file): If a style is malformed, skip it and
display a warning message. This should help people figure out
where the problem is.
2007-04-21 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex2png.el (muse-publish-math-tag): If using the
yet-to-be-included "contex" publishing style, use "$$" rather
than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
this out.
2007-04-20 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
variable that causes the :before and :before-end hooks to be
ignored when non-nil.
(muse-publish-markup-region): Use it. Also, guarantee that point
is at end of region after publishing.
(muse-publish-mark-up-tag): Simplify, taking advantage of the new
variable.
2007-04-19 Michael Olson <mwolson@gnu.org>
* IDEAS.muse: New file containing a list of ideas we have for new
features, or patches that have yet to be applied.
* README: Call it "Emacs Muse", not "the Emacs Muse". No need to
be so confusing.
* lisp/muse-html.el (muse-html-table-attributes): Fix typo in
docstring.
* lisp/muse-publish.el (muse-publish-markup-tags): Handle
<literal> tags with muse-publish-literal-tag, rather than
muse-publish-mark-read-only.
(muse-publish-literal-tag): New function that publishes the
<literal> tag. It adds the ability to add the optional "style"
and "exact" elements, which cause text to only be included if the
current publishing style matches some criteria. The text will be
removed otherwise. Thanks to Jim Ottaway for the implementation.
(muse-publish-mark-up-tag): Let the <markup> tag take the
additional optional elements "style" and "exact", with much the
same effect as the <literal> improvements, but after calling
"function" or publishing the region first. Make it possible to
put <content> tags in <markup> regions in HTML publishing.
2007-04-12 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-markup-heading): Make sure
that a blank line always exists after a heading. This fixes a bug
in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
for the report.
* lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
detection regexp to that which is used in Docbook and HTML
publishing styles.
2007-04-02 Michael Olson <mwolson@gnu.org>
* README (muse-el-announce): Make a listing of mailing lists,
rather than pointing to the old EmacsWikiMailingList page. Thanks
to Andreas Roehler for noticing.
2007-04-01 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-date-format): Add
` customization type and group.
(muse-publish-region): New interactive function that publishes a
region to a new buffer.
* texi/muse.texi: Use "document" rather than "manual".
2007-03-31 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
expression (muse-style-derived-p "latex" (muse-style "latex"))
yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
for the catch.
2007-02-25 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-date-format): New option that
specifies how to format the date when publishing Muse pages.
Thanks to Thomas Gehrlein for the suggestion.
(muse-publish-markup-buffer): Use it.
2007-02-23 Michael Olson <mwolson@gnu.org>
* README: Add Prerequisites section to mention which versions of
Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
the suggestion. Update link destination for Muse's page on
emacswiki.org.
2007-02-15 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
be not just at beginning of line. This fixes an error with the
<class> tag. Thanks to Jim Pivarski for the report.
2007-02-14 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-classify-url): Check to see
whether something is an image before checking to see if it is a
URL. Thanks to ITSUMI ken-ichi for the report.
2007-02-13 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-markup-regexps): Handle
comments that have no text better. Thanks to fang.lungang for the
report.
(muse-publish-markup-comment): Deal with case where no comment
text is provided.
2007-01-23 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
that ensures that at least one blank line exists at the given
position. This is used to avoid paragraph detection problems when
block-level tags like <example> immediately follow a paragraph.
Thanks to Hans Ekbrand for the report.
(muse-publish-example-tag): Use it.
2007-01-19 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
previous blank line if we are publishing in Latex. Otherwise,
that wouldn't be the right thing, so leave it be.
2007-01-17 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
multiple centered math lines on the same line; keep them on
different lines. Use \[ math-text \] instead of $$math-text$$,
since the latter seems to be deprecated. Thanks to Jody Klymak
for the pointer.
2007-01-15 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex2png.el (muse-publish-latex-tag)
(muse-publish-math-tag): Publish region read-only when current
style is Latex-derived, so that Muse does not escape it.
(muse-publish-math-tag): If 6 or more spaces come before the tag,
surround the region with "$$" rather than "$". This is the Muse
syntax for something centered, so it should be a good fit.
2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
* lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
protocol.
(muse-browse-url-man): Change man page URL format. The code is
simpler when the section is left inside parentheses.
(muse-browse-url-woman): New function.
2007-01-14 Michael Olson <mwolson@gnu.org>
* AUTHORS: Bookkeeping.
* lisp/muse-latex2png.el: Associate <math> tag with
muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
Klymak for the report.
(muse-publish-math-tag): Use muse-insert-markup for the "$"
characters, so they don't get escaped.
* lisp/muse-publish.el (muse-style-derived-p-1): New function to
make muse-style-derived-p easier to implement.
(muse-style-derived-p): If the style is not provided, fetch it and
check to see if the car is a string. This should fix the other
problem that was reported.
* texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
explains a case where setting muse-file-extension to nil can cause
unexpected behavior.
2007-01-09 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-markup-regexps): Make
comments higher priority than tags. Thanks to Stefan van der Walt
for the report.
2007-01-08 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-markup-tag-info): Use the given
argument rather than calling match-string. Thanks to Stefan van
der Walt for the report. This should fix a bug with publishing
<include file="..." markup="example">.
2007-01-06 Michael Olson <mwolson@gnu.org>
* Makefile (debclean): New rule split from debrevision and
debrelease.
(debbuild): Take distributor into account.
* Makefile.defs (DISTRIBUTOR): New field that tracks what
vendor/distributor we are building for.
2007-01-04 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-src-tag): Remove initial blank
line.
* lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
point to muse-publish-src-tag by default, since <src> and
<example> have different parameters.
(muse-publish-src-tag): New barebones publishing function for
<src>, which is superseded when publishing in an HTML-based style.
2007-01-03 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-src-tag): Document.
* lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
command that calls a given tag on the current buffer. Attributes
may be passed.
(muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
it.
(muse-publish-srcify-buffer): New function that allows
markup="src" in the <include> tag.
(muse-publish-get-and-delete-attr): New macro that gets an
attribute from a list and removes the first instance of that
attribute from said list.
(muse-publish-markup-attribute): Handle markup="src".
(muse-publish-command-tag, muse-publish-include-tag): Use
muse-publish-get-and-delete-attr. This allows the remaining
attributes to be passed.
* texi/muse.texi (Tag Summary): Update for new <src> tag as well
as changes to <command> and <include>.
2006-12-30 Michael Olson <mwolson@gnu.org>
* NEWS: Update.
* experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
from muse-publish-math-tag to avoid conflict with
muse-latex2png.el.
2006-12-23 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex2png.el: Update header, since this has been
rewritten sufficiently to not need an assignment from the original
author.
(muse-latex2png-use-xhtml): Remove, since we now autodetect this.
(muse-latex2png): Use two underscores to separate prefix and hash.
(muse-latex2png-region): New function split from
muse-publish-latex-tag that can be used easily by other code.
Detect whether we are using an HTML-based publishing style, and
insert a simpler markup if we are not. If we are using a
Latex-based publishing style, do not generate an image, and leave
the region alone. Return the path of the generated image, in case
other functions want to use this programmatically.
(muse-publish-latex-tag): Set a default prefix based on the name
of the current file.
(muse-publish-math-tag): New tag that surrounds the region with
"$" characters, so that it becomes a Latex math region, and then
publishes it.
* lisp/muse-publish.el (muse-style-derived-p): New function that
returns non-nil if a given style, or the current style if omitted,
is equal to or derived from the given base style. This is useful
in <lisp> tags, because it allows the user to specify markup that
is only to be inserted for one particular style.
2006-12-22 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
(muse-html-src-tag): New function which publishes the <src> tag.
Thanks to Clinton Ebadi and Charles Wang for the initial
implementations.
* lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
2006-12-21 Michael Olson <mwolson@gnu.org>
* examples/johnw/muse-johnw.el: Update for preferred
muse-derive-style usage. Rename to muse-init.el.
* examples/mwolson/muse-init.el: Update.
* lisp/muse-book.el (muse-book-publish): New function split from
muse-book-publish-project. This is used in the definitions for
the book-latex and book-pdf styles.
(muse-book-publish-p): New function split from muse-book-publish.
(muse-book-get-directives): New function that retrieves the
publishing directives from the given file.
(muse-book-publish): Use muse-book-get-directives to set the title
if no title was specified.
* lisp/muse-project.el (muse-project): Add :publish-project entry
to widget.
(muse-read-project, muse-project-find-file): Message fix.
(muse-project-publish-file-default): New function split from
muse-project-publish-file.
(muse-project-publish-file): Allow file-level publishing function
to be specified by the :publish element. The default is
muse-project-publish-file-default.
(muse-project-publish-default): New function split from
muse-project-publish.
(muse-project-publish): Allow project-level publishing function to
be specified by :publish-project element. The default is
muse-project-publish-default.
* lisp/muse-publish.el (muse-publish-file): Message fix.
* texi/muse.texi (Book): Mention new way to publish books and
provide an example, since the process may be non-obvious.
2006-12-20 Michael Olson <mwolson@gnu.org>
* lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
content-modifying code from the rest of
muse-docbook-finalize-buffer.
* lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
muse-groff-finalize-buffer, since it adds content to the buffer.
* lisp/muse-html.el (muse-html-munge-buffer): Split out
content-modifying code from the rest of muse-html-finalize-buffer.
This fixes a bug when using <include> with <content> tags.
* lisp/muse-journal.el (muse-journal-html-munge-buffer)
(muse-journal-latex-munge-buffer)
(muse-journal-rss-munge-buffer): Rename, since they add content to
the buffer.
* lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
muse-latex-finalize-buffer, since it adds content to the buffer.
* lisp/muse-mode.el:
* lisp/muse-project.el:
* lisp/muse-publish.el:
* lisp/muse.el: Fix recursive load error.
* lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
muse-texinfo-finalize-buffer, since it adds content to the buffer.
* lisp/muse-wiki.el: Comment cleanup.
* lisp/muse-xml.el (muse-xml-charset-default): Docfix.
2006-12-17 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
Remove the definition of \comment, since Latex already has comment
syntax.
(muse-latex-markup-strings): Use the Latex comment syntax, rather
than our own. Thanks to Ryan Stutsman for pointing this out.
2006-12-02 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
that this can generate a proper table of contents for Planner HTML
publishing.
2006-12-01 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-replace-regexp-in-string): In case someone is
using a very old Emacs, avoid an infinite loop that could occur
when the regexp is an empty string.
2006-11-26 Michael Olson <mwolson@gnu.org>
* NEWS: Bring up to date.
* lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
list issues and multiple-stanza verse issues. This takes care of
all of the markup issues I was worried about.
* lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
(muse-project-publish-private-files): New option that indicates
whether files with private filesystem permissions should be
published. The default is to publish them, since it avoids
confusion in new users.
(muse-project-private-p): Use it.
2006-11-19 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-resolve-link): If no remote
style is found, which means that the link is not a Muse page, do
not add a suffix or prefix to it. This should fix the
"[[thing.owl]]" bug that Phillip Lord reported.
* lisp/muse-publish.el (muse-publish-link-file): Simplify by
removing unused 2nd argument.
2006-11-17 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
latex publishing where nested enumerated lists would be squashed
together at the end.
2006-11-16 Michael Olson <mwolson@gnu.org>
* lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
list embedded in a definition list look right. This also allows
for definitions to be separated from their terms, much like the
way HTML does it by default, if the user puts a blank line or a
line break between the term and the definition. If the term and
definition are on the same line, they will be that way in the
output as well.
2006-11-11 Michael Olson <mwolson@gnu.org>
* muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
for the report.
(Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
2006-11-07 Michael Olson <mwolson@gnu.org>
* lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
release candidate for Muse 3.03, available.
* NEWS: Update.
2006-11-06 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-find-file): Fix bug when
following a relative link worked even when the path was incorrect.
2006-11-04 John Sullivan <john@wjsullivan.net>
* lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
muse-follow-name-at-point to reduce collisions with other
modes (Planner).
* muse.texi (Keystroke Summary): Remove C-c C-c binding.
2006-11-04 Michael Olson <mwolson@gnu.org>
* lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
optional, and make interwiki delimiter a regular rather than shy
group.
(muse-wiki-handle-implicit-interwiki): Rename from
muse-wiki-handle-interwiki. Use match group 3 to get the page.
(muse-wiki-handle-explicit-interwiki): New function that is
smarter about where an explicit link ends in a buffer. This
allows you to refer to page names with invalid Wiki characters,
such as underscores and dashes, merely by enclosing them in double
brackets. Also, a bug with recognizing project names too loosely
has been fixed.
2006-11-03 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-page-file): Make relative
links work as expected, hopefully.
* lisp/muse-publish.el (muse-publish-this-file): Set the current
output style manually, since it will differ from anything in the
publishing style list.
2006-10-30 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-colors-markup): Remove note about
grouping elements, since that no longer applies.
(muse-colors-custom-tags): Explicitly match against
muse-tag-regexp to get the match-data set the way we want. This
really fixes the <example> highlighting bug that Stefan reported.
(muse-configure-highlighting): Set the original value to the
symbol, not the modified value. Re-use modified rules properly.
* lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
introduced yesterday.
2006-10-29 Michael Olson <mwolson@gnu.org>
* examples/mwolson: Update my example configuration.
* NEWS: Update.
* lisp/muse-colors.el (muse-configure-highlighting): Remove rules
without a regexp in the first position before iterating through
them to build muse-colors-vector. This fixes a bug with the
display of <example> tags. Thanks to Stefan Reichör for the
report.
* lisp/muse-project.el (muse-project-find-file): Permit non-Muse
files in projects to be linked to.
* lisp/muse-publish.el (muse-publish-url): Allow the original link
to serve as a description for a URL, as long as it differs from
the destination URL. This fixes the description of WikPage links
in PDF output.
(muse-publish-link-file): Check to see whether the given link
points at a valid file. If so, return it. Otherwise, apply other
transforms like prefix and link suffix.
* lisp/muse-regexps.el (muse-file-regexp): If something ends in
"/", it is a file or directory, not a Muse page. Thanks to
Phillip Lord for the suggestion.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
of the current page as the local path, instead of duplicating the
remote file's path. This probably fixes at least one reported
bug. since it's quite major.
(muse-wiki-update-project-file-regexp)
(muse-wiki-update-interwiki-regexp): Ensure that nil is never
passed to regexp-opt, since that can cause Emacs 21 to throw an
"maximum binding depth exceeded" error. Thanks to xs32 AT cornell
DOT edu for the report.
(muse-wiki-handle-wikiword): Avoid a potential stringp error.
2006-10-28 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
(muse-project-resolve-link): If the given style does not have a
link-suffix, default to suffix. This fixes a bug I was noticing
when linking to a file that was published in both PDF and HTML
form.
* lisp/muse-publish.el (muse-publish-determine-dl-indent): New
function that is used as a callback to determine the initial
amount of indentation that the current dl item has.
(muse-publish-surround-dl): Use it. Pass the initial indent value
and the post-indent value, instead of trying to determine them
both.
(muse-publish-strip-list-indentation): New function stripped from
`muse-publish-surround-text' for readability.
(muse-publish-surround-text): Instead of taking a determine-indent
value, take a determine-indent-func function, which is called just
after finding the next list item. If we are asked to determine
the amount of indentation, concatenate indent and post-indent the
first time around. This effectively fixes all known definition
list issues.
2006-10-16 Michael Olson <mwolson@gnu.org>
* lisp/muse.el: Provide the 'muse-nested-tags feature so that
other software -- namely, Planner -- can detect whether they are
using a version of Muse that supports nested tags.
(muse-goto-tag-end): Moved from muse-publish.el and renamed from
muse-publish-goto-tag-end.
* lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
Adapt for nested tags.
* lisp/muse-html.el (muse-html-markup-tags): Indicate that the
<class> tag is nestable. Thanks to Phillip Lord for noticing
this.
* lisp/muse-publish.el (muse-publish-markup-tag)
(muse-publish-quote-tag): Use muse-goto-tag-end.
* lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
2006-10-15 Michael Olson <mwolson@gnu.org>
* AUTHORS: Bookkeeping.
* lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
tag.
* lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
tags.
* lisp/muse-html.el (muse-html-markup-tags): Ditto.
* lisp/muse-import-docbook.el (muse-import-docbook)
(muse-import-docbook-files): Docfix.
(muse-import-docbook-get-title): Remove cl.el-ism.
* lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
* lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
* lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
* lisp/muse-mode.el (muse-previous-reference): Minor docfix.
(muse-next-reference, muse-previous-reference): Minor whitespace
changes.
(muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
the suggestion.
* lisp/muse-poem.el (muse-poem-tag): Ditto.
* lisp/muse-publish.el (muse-publish-markup-tags)
(muse-publish-markup-header-footer-tags): Shift 4th element to 5th
element and make 4th element determine whether tags are nestable.
(muse-publish-goto-tag-end): New function that moves to the end of
a tag. Handle nested tags when NESTED is non-nil.
(muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
5th element for function.
(muse-publish-quote-tag): Handle nested quote tags. I've tested
this on several scenarios, and it seems to work.
(muse-publish-surround-text): Accept new optional argument
LIST-ITEM which determines the regexp to use for list items. The
default is to use muse-list-item-regexp.
* muse.texi (Markup Tags): Mention nestable tags.
* NEWS: Mention new files.
2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
* lisp/muse-import-docbook.el: New file that converts Docbook XML
into Muse format.
* lisp/muse-import-xml.el: New file that provides helper routines
for converting XML-ish files to Muse format.
2006-10-10 Michael Olson <mwolson@gnu.org>
* NEWS: Update for 3.02.7 bugfix release.
2006-10-06 Sasha Kovar <sasha@arcocene.org>
* lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
using the value in the muse #date directive.
(muse-blosxom-use-metadate): New option that determines whether or
not to use the #postdate directive.
(muse-blosxom-format-date): Convert a date string to PyBlosxom
metadate plugin format.
2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
* lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
recognised URLs.
* muse.texi: Clarify handling of implicit links by mentioning
which characters can prevent Muse from recognizing something as an
implicit link.
2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
* lisp/muse-mode.el (muse-next-reference)
(muse-previous-reference): Fix bug #6367 by moving point to the
beginning of the link.
2006-09-26 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-use-font-lock): Don't quote
beginning-of-line. This should fix a bug that was noticed in
recent Emacs 22 builds.
* lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
eval-and-compile block to avoid a compiler warning.
2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
* lisp/muse-backlink.el (muse-backlink-split-string):
Compatibility with Emacs versions < 22
(muse-backlink-pending): New internal variable
(muse-backlink-get-mode-hook): Find the major mode hook to use, so
that backlinks are inserted at the right time.
(muse-backlink-insert-hook-func): Remove unwind-protection; check
for pending backlink, and that this is the targe page.
(muse-backlink-handle-link): Don’t handle the link if we are
already handling one. Return the link as well as the parent links.
2006-09-25 Sasha Kovar <sasha@arcocene.org>
* lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
#6942 - muse-blosxom-new-entry fails when using tags.
2006-09-14 Michael Olson <mwolson@gnu.org>
* lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
compiler warning.
2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
* lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
function: Protect all wikiwords from START to END from further
processing.
(muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
2006-09-13 Michael Olson <mwolson@gnu.org>
* lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
adopted from Jim Ottaway's patch. It removes links from the
heading, and then marks the region read-only to inhibit WikiWord
detection.
2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
* lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
special handling for headings.
(muse-texinfo-remove-links): New function that removes explicit
links from the given strings, replacing them with a description.
2006-09-11 Michael Olson <mwolson@gnu.org>
* muse.texi (Getting Help and Reporting Bugs): Mention the
muse-el-internationalization mailing list.
* lisp/muse.el (muse-path-sans-extension): New function that acts
like file-name-sans-extension, but guarantees to never modify the
directory part of the path. Thanks to Evan Monroig for
investigating this.
* lisp/muse-book.el (muse-book-publish-project): Use
muse-path-sans-extension instead of file-name-sans-extension.
* lisp/muse-publish.el (muse-publish-file, muse-publish-url):
Ditto.
2006-08-30 Michael Olson <mwolson@gnu.org>
* muse.texi (Blosxom Requirements): Fix typo.
* contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
directories for bzr and darcs.
* contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
contrib/pyblosxom/getstamps.py: Update version and headers.
2006-08-27 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-configure-highlighting): Prune out any
nil values before they get to mapconcat. This fixes a lockup when
muse-wiki-match-all-project-files is nil.
* lisp/muse-wiki.el (muse-wiki-match-all-project-files)
(muse-wiki-ignore-implicit-links-to-current-page)
(muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
(muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
(muse-wiki-publish-small-title-words)
(muse-wiki-publish-pretty-title): Docfix.
(muse-wiki-update-local-wikiword-regexp): Rename from
muse-wiki-update-local-wikiword-regexp. Set
muse-wiki-project-file-regexp instead of
muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
take muse-wiki-use-wikiword into account, since this is a
different concept now.
(muse-wiki-update-wikiword-regexp): Remove.
(muse-wiki-wikiword-regexp): In-line the :set function.
(muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
2006-08-26 Michael Olson <mwolson@gnu.org>
* lisp/muse-publish.el (muse-publish-surround-text): When looking
for indented list items, ignore blank lines.
* lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
(muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
mapconcat. This should hopefully fix a problem with large amounts
of files with spaces in their name. Thanks to Greg Detre for the
report.
2006-08-24 Michael Olson <mwolson@gnu.org>
* lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
numbers from the argument to format-time-string. This fixes an
XEmacs bug. Thanks to Michael Welle for the report and analysis.
2006-08-18 Michael Olson <mwolson@gnu.org>
* lisp/muse-project.el (muse-project-file-entries): Since we are
given a full path, match against the filename as well. This fixes
an issue where backup files were being added to the file alist.
* lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
from muse-html.el.
2006-08-12 Michael Olson <mwolson@gnu.org>
* Makefile (.PHONY): Don't use line continuations.
(realclean fullclean): Call realclean in subdirs, not distclean.
(distclean): Don't call realclean, since this would wipe out our
autoloads file.
(dist): Use correct path to autoloads file.
* NEWS: Catch up with the latest changes.
* experimental/Makefile (.PHONY): Wrap long line.
* lisp/Makefile (distclean): Do the same thing as "clean", not
"realclean".
* lisp/muse-project.el (muse-project-get-applicable-style):
Indentation tweak.
(muse-project-ignore-regexp, muse-project-recurse-directory):
Docfix.
(muse-project-of-file): Try the ignored files regexp against the
base filename as well as the entire path.
* lisp/muse-publish.el (muse-publish-this-file): Display message
if the buffer is not associated with any file, so that we avoid
errors later on.
(muse-publish-url-desc): New function taken from muse-publish-url
that causes a URL description to be transformed.
(muse-publish-url): Call muse-publish-url-desc on either the
description or the original URL if it will be used as a
description. Accept the original URL as an argument, in case it
was transformed earlier.
(muse-publish-insert-url): Pass original URL as an argument.
(muse-publish-markup-link): Make this somewhat easier to follow.
Pass original URL as argument.
(muse-publish-get-style): If the same style is used to publish to
two different directories, prompt the user for which directory to
use.
(muse-publish-markup-header-footer-tags): Sync lisp tag with the
latest changes.
(muse-publish-markup-url): Pass original URL as an argument. This
fixes the "nil" description for bare URLs that was in 3.02.91.
Nothing like finding a bug just after completing the announcement
of a release.
* lisp/muse.el: Use defalias whenever convenient.
(muse-version): Set version to 3.02.92 (3.03 RC2).
2006-08-10 Michael Olson <mwolson@gnu.org>
* lisp/muse-html.el (muse-html-finalize-buffer): Since the html
style does not derive from any other class, return `t' here.
This, along with the corresponding change to muse-publish.el,
fixes a problem with the table of contents getting inserted
multiple times for custom html-based styles.
(muse-html-markup-strings, muse-xhtml-markup-strings): Use a
smarter method for table centering that works with XHTML.
* lisp/muse-latex2png.el Rename all functions to have a
"muse-latex2png" prefix. Turn all variables into customizable
options in the muse-latex2png group.
(muse-latex2png-img-dest): New option specifying where to place
the images.
(muse-latex2png-template): New option containing the template to
use for the surrounding LaTeX code.
(muse-latex2png-use-xhtml): New option that toggles strict XHTML
compliance.
(muse-latex2png-move2pubdir): Avoid multiple redundant error
messages when something else goes wrong. Create the image
subdirectory if it doesn't exist already -- thanks to Christian
Straßer for the report. Expand the filename properly.
(muse-publish-latex-tag, muse-latex2png): Ditto on error messages
and filename expansion.
(muse-latex2png): Use the "muse-latex2png" prefix by default. Set
the default directory properly.
* lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
do not run the same function twice.
2006-08-08 Michael Olson <mwolson@gnu.org>
* lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
introduced wrong-type-argument error.
* lisp/muse-html.el (muse-html-markup-strings)
(muse-xhtml-markup-string): Cause table definition that contains
image to be center-aligned. This should fix an issue with images
not being centered when captions are very long.
* lisp/muse-publish.el (muse-publish-table-fields): Trim
whitespace from fields once we have split them up.
* lisp/muse.el (muse-trim-whitespace): New function that strips
leading and trailing whitespace from a string.
2006-08-07 Michael Olson <mwolson@gnu.org>
* NEWS: Update through patch-95.
* lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
to match the tags.
(muse-colors-explicit-link): Show images in link descriptions if
inlined images are enabled.
* lisp/muse-docbook.el (muse-docbook-markup-strings): Add
definitions for 'image-with-desc, 'image, and 'image-link.
(muse-docbook-markup-paragraph): If an inlined image begins a
paragraph, insert <para> before it.
(muse-docbook-fixup-images): New function that upper-cases the
"format" attribute of the <imagedata> tag.
(muse-docbook-finalize-buffer): Call it.
* lisp/muse-html.el (muse-html-markup-strings): Publish images
with descriptions as centered tables, with a centered caption
underneath. The resulting look is consistent with the way that
they are published in the LaTeX style. Thanks to Jody Klymak for
the suggestion.
(muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
valid way to center a table.
(muse-html-markup-paragraph): Use class="image" instead of
"image-link" for paragraphs that start with an embedded image.
* lisp/muse-latex.el (muse-latex-markup-specials-url): Use
\textbackslash{} for "\". Thanks to Jim Ottaway for the
suggestion.
(muse-latex-markup-specials-image): New option that enables
escaping of specials in images. This was split from the URL
specials.
(muse-latex-decide-specials): Handle 'image context.
(muse-latex-fixup-dquotes): Go to beginning of document, instead
of relying on caller to do this for us.
* lisp/muse-publish.el (muse-publish-escape-specials): Document
'image context.
(muse-publish-url): Use 'image context for images. Use 'image
instead of 'image-link and 'image-link in place of
'url-with-image. Separate the image file from its extension so
that docbook and texinfo can publish images correctly.
(muse-publish-markup-link): Don't force a description if one is
not given. This fixes a bug where images without descriptions
were being published as 'image-with-desc instead of 'image.
* lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
images the same as URLs.
(muse-texinfo-markup-strings): Improve image markup to achieve an
effect similar to that of the LaTeX publishing style. Simplify
'url string.
* lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
* lisp/muse.el (muse-replace-regexp-in-string): Save match data
when we have to use the custom version of this function.
* muse.texi (Images): Explain how to toggle inlining of images and
give better examples. Mention captions and that captioned images
should not be used inside of text paragraphs.
(Markup Strings): Bring up-to-date with the changes made since
3.02.
2006-08-06 Michael Olson <mwolson@gnu.org>
* ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
in the Emacs source tree.
* ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
in the Emacs source tree.
* ChangeLog.3: New file created from the old ChangeLog.
* Makefile.defs (VERSION): Set to 3.02.91.
* NEWS: Update through patch-84.
* lisp/muse.el (muse-version): Set to 3.02.91.
* lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
attributes.
(muse-colors-lisp-tag): Figure out where the <lisp> tag and its
delimiter are instead of hard-coding it.
* lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
(muse-mode): Make filling definition lists work better. This
should fix #5359.
* lisp/muse-publish.el (muse-style-run-hooks): Use
`muse-style-element' instead of `muse-get-keyword' here. This
should fix #6399.
* muse.texi: Set version to 3.02.91 (3.02 RC2).
See ChangeLog.3 for earlier changes.
;; Local Variables:
;; coding: utf-8
;; End:
|