/.emacs.d/el-get/nxhtml/nxhtml/doc/nxhtml-changes.html

https://bitbucket.org/shuangxinyu/emacspack · HTML · 3395 lines · 3379 code · 16 blank · 0 comment · 0 complexity · 03bcf9c378cfdfbbfc754f117a449ee9 MD5 · raw file

Large files are truncated click here to view the full file

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <title>News and Notes about nXhtml</title>
  7. <link href="wd/grapes/nxhtml-grapes.css" rel="StyleSheet" type="text/css" />
  8. <style type="text/css">
  9. #nxhtml-home a {
  10. /* Image */
  11. display: block;
  12. background: transparent url("img/getitbuttons.png") 0 0 no-repeat;
  13. overflow: hidden;
  14. width: 200px;
  15. xheight: 35px;
  16. /* Text placement and size, etc */
  17. text-align: center;
  18. padding-top: 11px;
  19. font-size: 12px;
  20. padding-bottom: 9px;
  21. text-decoration: none;
  22. white-space: nowrap;
  23. margin: 0;
  24. border: none;
  25. }
  26. #nxhtml-home a:hover {
  27. background-position: 0 -35px;
  28. color: yellow;
  29. }
  30. .bugfix {
  31. background-color: #ffd700;
  32. }
  33. </style>
  34. </head>
  35. <body>
  36. <div id="container">
  37. <div id="rgtcol">
  38. <p id="nxhtml-home"><a href='nxhtml.html'>To nXhtml main page</a></p>
  39. <h1>News and Notes about nXhtml</h1>
  40. <dl>
  41. <dt id="state-of-the-art" style="margin-top:1em;
  42. background-color: #66cd5c;
  43. background-color: #96cd5c;
  44. padding: 0.5em;
  45. ">The State of the Art</dt>
  46. <dd style="background-color: #f9e529; padding: 0.5em">
  47. <p>
  48. I believe now that MuMaMo (the multi major mode support)
  49. is fairly stable. It is now possible to have chunks in
  50. chunks and it is reasonably fast.
  51. </p>
  52. <p>
  53. The major mode than once gave the name to this package
  54. for web devoloping, nxhtml-mode, has long been stable.
  55. There are a lot of other minor things in this package.
  56. Of course everything is not perfect. Bug report and
  57. taking part in the development is very welcome. Go to
  58. the project page on Launchpad if you want to join!
  59. </p>
  60. <p>
  61. If you want to know how it works, install and test. It
  62. will not harm, everything is autoloaded so it will not
  63. slow down your Emacs - eh, a tiny little bit perhaps if
  64. you really use it, but then you will also get the
  65. benefits of it.
  66. </p>
  67. <p>
  68. If you want to know current bug status go to Launchpad!
  69. </p>
  70. </dd>
  71. <dt id="hadron-bugs" style="margin-top:1em;">Thanks for testing!</dt>
  72. <dd>
  73. <p>
  74. I want to thanks the testers and bug reporters (who have
  75. been many now), especially to my first testers Hadron
  76. Quark and Eric Lilja, for helping me by testing and
  77. pointing out bugs and weaknesses, most of them related
  78. to editing of PHP.
  79. </p>
  80. <p>
  81. Without testers all kind of problems I just can't
  82. imagine myself would still be there in nXhtml. For
  83. example Hadron told me once that he got the error
  84. <i>(wrong-type-argument stringp nil)</i>. Eh, I replied, are
  85. you sure. Yes he was. I tried the same file as him. No
  86. error.
  87. </p>
  88. <p>
  89. The error happened during fontification so the error
  90. message above was all we had. A real black box for
  91. me. Or perhaps black magic? After much confusion and
  92. some hard work we finally found out what it was and I
  93. implemented a better way to catch such errors. If Hadron
  94. would have given up the problem would still have been
  95. there. Some problems are just impossible to solve
  96. without good cooperation. So, again, thanks Hadron.
  97. </p>
  98. <p>
  99. BTW, I will perhaps add some even better way to Emacs to
  100. catch these errors so other can benefit from our
  101. insights too, but that requires some time and effort
  102. which I can't afford right now.
  103. </p>
  104. <p>
  105. If is now a bit more easy to take care of errors since
  106. there is a good bug database for nXhtml at Launchpad.
  107. </p>
  108. </dd>
  109. <dt id="underline-bug" style="margin-top:1em;">Long Red Underlines</dt>
  110. <dd>
  111. <p>
  112. Because of a bug in Emacs 22.1 you can sometimes (at the
  113. end of a line) get long red lines instead of just a
  114. single underlined character. Many users (me included)
  115. find this quite a bit disturbing. I have therefore added
  116. a command to quickly hide/show the underlines. This is
  117. on <em>C-c C-w</em> (nxhtml-toggle-visible-warnings, key
  118. binding changed to <em>C-c _</em> in later versions of
  119. nXhtml).
  120. </p>
  121. <p>
  122. This is particular useful for example in the case where
  123. you edit a PHP file and are bound to get a lot of XHTML
  124. validation errors.
  125. </p>
  126. </dd>
  127. <dt id="php-attribute-values" style="margin-top:1em;">Attribute values computed by PHP</dt>
  128. <dd>
  129. <p>
  130. If you want to have attribute values computed by PHP
  131. here is a way how to structure that to avoid breaking
  132. completion and validation in the XHTML part unnessecary:
  133. </p>
  134. <p style="margin-left:2em">
  135. &lt;img src=&quot;images/linux.png&quot; title=&quot;&lt;?php foo(&quot;bar&quot;);?&gt;&quot;/&gt;
  136. </p>
  137. <p>
  138. Unfortunately that still breaks XHTML validation since
  139. &lt; is not allowed in strings. In the long run I
  140. believe the XML validator has to be broken up so that it
  141. avoids parsing the string here (in PHP files).
  142. </p>
  143. <p>
  144. For now I have implemented a workaround.
  145. If you are using constructs like those above then turn on <em>mumamo-alt-php-tags-mode</em>.
  146. This will temporarily replace the above with
  147. </p>
  148. <p style="margin-left:2em">
  149. &lt;img src=&quot;images/linux.png&quot; title=&quot;(?php foo(&quot;bar&quot;);?)&quot;/&gt;
  150. </p>
  151. <p>
  152. However on the screen you will still see the original
  153. string and when writing to file the correct characters
  154. will be used.
  155. </p>
  156. </dd>
  157. <dt id="pi-note" style="margin-top:1em;">A note for PHP and its cousins</dt>
  158. <dd>
  159. <p>
  160. The rules for a process instruction in XML, like &lt;?php
  161. ... ?&gt; says that the text can contain any text except
  162. <em>?&gt;</em>. So if you want to output that string
  163. from PHP then break it up so it does not look as ?&gt; in
  164. the source file.
  165. </p>
  166. <p>
  167. It might be good to break up the beginning part of the
  168. process instructions too. And please note that to use
  169. XHTML validation or completion you should avoid using
  170. &lt; in strings, since it is not allowed there.
  171. </p>
  172. </dd>
  173. <dt id="mmm-compat" style="margin-top:1em;">Why the chunks are not compatible with mmm</dt>
  174. <dd>
  175. <p>
  176. Some people have asked why the way to specify chunks in
  177. mumamo-mode is not compatible with the old mmm-mode. The
  178. answer is that I was not sure that the way used in
  179. mmm-mode for specifying the chunks was flexible enough.
  180. </p>
  181. <p>
  182. Some people have also wondered why MuMaMo does not find
  183. chunks just as simple as multi-mode does. The answer is
  184. it did from the beginning. However that way (looking
  185. around current point) is not stable enough. Multi major
  186. modes are a bit different in this respect than normal
  187. major modes. More things can go wrong when you are
  188. guessing.
  189. </p>
  190. </dd>
  191. </dl>
  192. <h1 id="change-history">nXhtml Changes</h1>
  193. <div>
  194. <a href="#v0.89">v0.89</a>
  195. <a href="#v0.90">v0.90</a>
  196. <a href="#v0.91">v0.91</a>
  197. <a href="#v0.92">v0.92</a>
  198. <a href="#v0.93">v0.93</a>
  199. <a href="#v0.94">v0.94</a>
  200. <a href="#v0.95">v0.95</a>
  201. <a href="#v0.96">v0.96</a>
  202. <a href="#v0.97">v0.97</a>
  203. <a href="#v0.98">v0.98</a>
  204. <a href="#v0.99">v0.99</a>
  205. <a href="#v1.00">v1.00</a>
  206. <a href="#v1.01">v1.01</a>
  207. <a href="#v1.02">v1.02</a>
  208. <a href="#v1.03">v1.03</a>
  209. <a href="#v1.04">v1.04</a>
  210. <a href="#v1.10">v1.10</a>
  211. <a href="#v1.11">v1.11</a>
  212. <a href="#v1.12">v1.12</a>
  213. <a href="#v1.13">v1.13</a>
  214. <a href="#v1.14">v1.14</a>
  215. <a href="#v1.15">v1.15</a>
  216. <a href="#v1.16">v1.16</a>
  217. <a href="#v1.17">v1.17</a>
  218. <a href="#v1.18">v1.18</a>
  219. <a href="#v1.19">v1.19</a>
  220. <a href="#v1.20">v1.20</a>
  221. <a href="#v1.21">v1.21</a>
  222. <a href="#v1.22">v1.22</a>
  223. <a href="#v1.23">v1.23</a>
  224. <a href="#v1.24">v1.24</a>
  225. <a href="#v1.25">v1.25</a>
  226. <a href="#v1.26">v1.26</a>
  227. <a href="#v1.27">v1.27</a>
  228. <a href="#v1.28">v1.28</a>
  229. <a href="#v1.29">v1.29</a>
  230. <a href="#v1.30">v1.30</a>
  231. <a href="#v1.31">v1.31</a>
  232. <a href="#v1.32">v1.32</a>
  233. <a href="#v1.33">v1.33</a>
  234. <a href="#v1.34">v1.34</a>
  235. <a href="#v1.35">v1.35</a>
  236. <a href="#v1.36">v1.36</a>
  237. <a href="#v1.37">v1.37</a>
  238. <a href="#v1.38">v1.38</a>
  239. <a href="#v1.39">v1.39</a>
  240. <a href="#v1.40">v1.40</a>
  241. <a href="#v1.41">v1.41</a>
  242. <a href="#v1.42">v1.42</a>
  243. <a href="#v1.43">v1.43</a>
  244. <a href="#v1.44">v1.44</a>
  245. <a href="#v1.45">v1.45</a>
  246. <a href="#v1.46">v1.46</a>
  247. <a href="#v1.47">v1.47</a>
  248. <a href="#v1.48">v1.48</a>
  249. <a href="#v1.49">v1.49</a>
  250. <a href="#v1.50">v1.50</a>
  251. <a href="#v1.51">v1.51</a>
  252. <a href="#v1.52">v1.52</a>
  253. <a href="#v1.53">v1.53</a>
  254. <a href="#v1.54">v1.54</a>
  255. <a href="#v1.55">v1.56</a>
  256. <a href="#v1.56">v1.56</a>
  257. <a href="#v1.57">v1.57</a>
  258. <a href="#v1.58">v1.58</a>
  259. <a href="#v1.59">v1.59</a>
  260. <a href="#v1.60">v1.60</a>
  261. <a href="#v1.61">v1.61</a>
  262. <a href="#v1.62">v1.62</a>
  263. <a href="#v1.63">v1.63</a>
  264. <a href="#v1.64">v1.64</a>
  265. <a href="#v1.65">v1.65</a>
  266. <a href="#v1.66">v1.66</a>
  267. <a href="#v1.67">v1.67</a>
  268. <a href="#v1.68">v1.68</a>
  269. <a href="#v1.69">v1.69</a>
  270. <a href="#v1.70">v1.70</a>
  271. <a href="#v1.71">v1.71</a>
  272. <a href="#v1.72">v1.72</a>
  273. <a href="#v1.73">v1.73</a>
  274. <a href="#v1.74">v1.74</a>
  275. <a href="#v1.75">v1.75</a>
  276. <a href="#v1.76">v1.76</a>
  277. <a href="#v1.77">v1.77</a>
  278. <a href="#v1.78">v1.78</a>
  279. <a href="#v1.79">v1.79</a>
  280. <a href="#v1.80">v1.80</a>
  281. <a href="#v1.81">v1.81</a>
  282. <a href="#v1.82">v1.82</a>
  283. <a href="#v1.83">v1.83</a>
  284. <a href="#v1.84">v1.84</a>
  285. <a href="#v1.85">v1.85</a>
  286. <a href="#v1.86">v1.86</a>
  287. <a href="#v1.87">v1.87</a>
  288. <a href="#v1.88">v1.88</a>
  289. <a href="#v1.89">v1.89</a>
  290. <a href="#v1.90">v1.90</a>
  291. <a href="#v1.91">v1.91</a>
  292. <a href="#v1.92">v1.92</a>
  293. <a href="#v1.93">v1.93</a>
  294. <a href="#v1.94">v1.94</a>
  295. <a href="#v1.95">v1.95</a>
  296. <a href="#v1.96">v1.96</a>
  297. <a href="#v1.97">v1.97</a>
  298. <a href="#v1.98">v1.98</a>
  299. <a href="#v1.99">v1.99</a>
  300. <a href="#v2.00">v2.00</a>
  301. <a href="#v2.01">v2.01</a>
  302. <a href="#v2.02">v2.02</a>
  303. <a href="#v2.03">v2.03</a>
  304. <a href="#v2.04">v2.04</a>
  305. <a href="#v2.05">v2.05</a>
  306. <a href="#v2.06">v2.06</a>
  307. <a href="#v2.07">v2.07</a>
  308. <a href="#v2.08">v2.08</a>
  309. </div>
  310. <dl>
  311. <dt id="v0.89">0.89</dt>
  312. <dd>
  313. <ul>
  314. <li>
  315. Corrected autostart for nXhtml when not used together with EmacsW32.
  316. </li>
  317. </ul>
  318. </dd>
  319. <dt id="v0.90">0.90</dt>
  320. <dd>
  321. <ul>
  322. <li>
  323. Improved display of XML path.
  324. </li>
  325. <li>
  326. Discontinued xmple-mode.
  327. </li>
  328. <li>
  329. New major modes nxhtml-part-mode/nxml-part-mode replaces
  330. minor mode xmlpe-mode. (While moving the code to
  331. nxhtml-part.el I also fixed a bug in Xmple minor mode that
  332. made Emacs take 99% of the CPU.)
  333. </li>
  334. </ul>
  335. </dd>
  336. <dt id="v0.91">0.91</dt>
  337. <dd>
  338. <ul>
  339. <li>
  340. Fixed some calls to perl which prevented uploading of
  341. a site of you did not have perl in the same location
  342. as me.
  343. </li>
  344. <li>
  345. Glued together things so that editing PHP files works
  346. as I intended. (This means that Emacs switches between
  347. php-mode and nxhtml-part-mode automatically when
  348. moving point. And that you can use completion.)
  349. </li>
  350. <li>
  351. Starting working on the documentation for nXhtml.
  352. New layout to the documentation files.
  353. Examples with images.
  354. </li>
  355. </ul>
  356. </dd>
  357. <dt id="v0.92">0.92</dt>
  358. <dd>
  359. <ul>
  360. <li>
  361. Fixes to make the switching between php and xhtml
  362. style editing work better.
  363. </li>
  364. </ul>
  365. </dd>
  366. <dt id="v0.93">0.93</dt>
  367. <dd>
  368. <ul>
  369. <li>
  370. Better error handling when switching to editing
  371. embedded JavaScript and CSS.
  372. </li>
  373. <li>
  374. Removed PHP spec from embedded switching since they
  375. interfered with the automatic switching between php
  376. and xhtml.
  377. </li>
  378. <li>
  379. Gives an error message if web host is not defined in
  380. site when trying to use View Uploaded File and
  381. cousins.
  382. </li>
  383. <li>
  384. Gives a ready message when finished uploading a single
  385. file.
  386. </li>
  387. <li>
  388. When using Mode Switching at &lt;? ... ?&gt; mode
  389. switching could occur in wrong buffer. Fixed together
  390. with some other buffer problems.
  391. </li>
  392. </ul>
  393. </dd>
  394. <dt id="v0.94">0.94</dt>
  395. <dd>
  396. <ul>
  397. <li>
  398. Add http://www.w3.org/ to the help sites for CSS.
  399. </li>
  400. <li>
  401. Included a CSS mode.
  402. </li>
  403. <li>
  404. Added a menu entry for bug reporting.
  405. </li>
  406. <li>
  407. Renamed menu bar entry from XHTML to nXhtml for clarity.
  408. (But nXml menu bar entry is still called XML.)
  409. </li>
  410. <li>
  411. Added work around for globalized minor modes in the
  412. cases of MLinks, XML Path and mode switching at &lt;? ... ?&gt;.
  413. </li>
  414. </ul>
  415. </dd>
  416. <dt id="v0.95">0.95</dt>
  417. <dd>
  418. <ul>
  419. <li>
  420. Added workaround for the problem with the first
  421. keyboard key after automatically switching of mode at
  422. &lt;? ... ?&gt;.
  423. </li>
  424. </ul>
  425. </dd>
  426. <dt id="v0.96">0.96</dt>
  427. <dd>
  428. <ul>
  429. <li>
  430. Added support for multiple major modes with mumamo.el.
  431. </li>
  432. <li>
  433. More conventient handling of links. They can now be
  434. opened in the same window, 'other window' or in a new
  435. frame.
  436. </li>
  437. </ul>
  438. </dd>
  439. <dt id="v0.97">0.97</dt>
  440. <dd>
  441. <ul>
  442. <li>
  443. Schema was not setup after starting new page so
  444. completion did not work. Fixed.
  445. </li>
  446. <li>
  447. Added http://xhtml.com/ to help sites for XHTML.
  448. </li>
  449. <li>
  450. Added the concept of <em>fictive XML validation
  451. headers</em>. These are just text parsed by the nXml
  452. validation parser to get a start state before starting
  453. parsing a buffer. This allows the use of the nXml
  454. completion in buffers where there are no XML header.
  455. Such a header is often lacking for example in PHP code
  456. since the XHTML header is often generated dynamically.
  457. </li>
  458. <li>
  459. Because of the change above <em>nxhtml-part-mode</em>
  460. is no longer needed and is therefore declared
  461. obsolete.
  462. </li>
  463. <li>
  464. Corrected a bug in mlinks.el that prevented opening an
  465. HTML link in a other window or a new frame.
  466. </li>
  467. <li>
  468. Added support for JSP, eRuby and some support for perl
  469. in mumamo.el.
  470. </li>
  471. </ul>
  472. </dd>
  473. <dt id="v0.98">0.98</dt>
  474. <dd>
  475. <ul>
  476. <li>
  477. Mumamo was not found when nXhtml was installed with
  478. just the zip file. Corrected. (nXhtml is also
  479. installed when you install EmacsW32.)
  480. </li>
  481. <li>
  482. Enhancement to mumamo error handling when a bad mode
  483. specifier for an embedded mode is found.
  484. </li>
  485. <li>
  486. Introduced a bug for empty XHTML documents in
  487. 0.97. Corrected.
  488. </li>
  489. <li>
  490. Corrected a bug for chunks 1 character long.
  491. </li>
  492. <li>
  493. There is what I consider is a bug in Emacs 22.1 in the
  494. handling of global minor mode that are not distributed
  495. with Emacs. If they are turned on by customization,
  496. but loaded after Emacs have loaded the customizations
  497. (usually in .emacs) then they are not turned on
  498. correctly. Added work-around for this.
  499. </li>
  500. <li>
  501. <em>Fictive XHTML Validation Header</em>:
  502. <ul>
  503. <li>
  504. <em>Fictive XHTML Validation Header</em> state was not saved when moving between chunks. Fixed.
  505. </li>
  506. <li>
  507. Tried to make the concept of <em>Fictive XHTML Validation Header</em>
  508. more clear. Added this visually to the buffer.
  509. </li>
  510. <li>
  511. <em>Fictive XHTML Validation Headers</em> can now be turned on
  512. automatically based on file name.
  513. </li>
  514. </ul>
  515. </li>
  516. <li>
  517. <em>nXhtml menu:</em>
  518. <ul>
  519. <li>
  520. Reorganized the nXhtml menu.
  521. </li>
  522. <li>
  523. Added <em>customization</em> groups for help libraries to nXhtml.
  524. </li>
  525. <li>
  526. Added an entry for customization of nXhtml to the menus.
  527. </li>
  528. <li>
  529. Added <em>Tidy</em> to the menus again.
  530. </li>
  531. </ul>
  532. </li>
  533. <li>
  534. Corrected bug in <em>XML Path</em> (nxml-where) for single tags.
  535. Other small fixes to nxhtml-where.
  536. </li>
  537. <li>
  538. Documentation enhancements.
  539. Added <em>The Quick Guide</em>.
  540. </li>
  541. </ul>
  542. </dd>
  543. <dt id="v0.99">0.99</dt>
  544. <dd>
  545. <ul>
  546. <li>
  547. Fixed a serious bug in the cooperation between nxhtml-mode and mumamo-mode.
  548. </li>
  549. <li>
  550. Turn on mumamo-mode by file name (mumamo-global-mode).
  551. </li>
  552. <li>
  553. Fictive XHTML Validation Header:
  554. <ul>
  555. <li>
  556. The Fictive XHTML Validation Header state were not saved when changing major mode in MuMaMo. Corrected.
  557. </li>
  558. <li>
  559. Added more alternatives to the Fictive XHTML Validation Header list.
  560. This should make it easier to use completion with for example PHP.
  561. </li>
  562. <li>
  563. Added default value for the Fictive XHTML Validation Header.
  564. </li>
  565. <li>
  566. Tried to make the use of Fictive XHTML Validation Header more automatic and therefore useful.
  567. Also tried to make it play better with setting schema file.
  568. (There is no need normally to set schema file by hand.)
  569. </li>
  570. <li>
  571. To turn this on by default customize nxhtml-global-validation-header-mode.
  572. </li>
  573. </ul>
  574. </li>
  575. <li>
  576. Possible to hide validation warnings without turning
  577. on validation (which would make completion in the
  578. XHTML part impossible).
  579. </li>
  580. <li>
  581. Some fixes to php-mode:
  582. <ul>
  583. <li>Using the character # for comments now works for most cases.</li>
  584. <li>Now uses the fontification faces in a more standard way which calms down the look.</li>
  585. <li>Initialization bug fixes.</li>
  586. <li>Renamed php-mode-user-hook to php-mode-hook to follow standard.</li>
  587. </ul>
  588. </li>
  589. <li>
  590. Indentation fixes:
  591. <ul>
  592. <li>
  593. Various corrections to indentation in mumamo.
  594. </li>
  595. <li>
  596. Added the possibility to use TAB to indent regions
  597. (indent-region-mode).
  598. </li>
  599. <li>
  600. Warn about bad indentation in mixed PHP/HTML code
  601. when using php-mode only.
  602. </li>
  603. </ul>
  604. </li>
  605. <li>
  606. Fontification now fontifies all text first in main
  607. major mode and thereafter applies submodes. (This
  608. avoids some problems with around a submode chunk.)
  609. </li>
  610. <li>
  611. Reorganized the nXhtml menu:
  612. <ul>
  613. <li>
  614. There is now a minor mode for the nXhtml
  615. menu. This makes it possible to easier use common
  616. features when in buffers not in nxhtml-mode.
  617. </li>
  618. <li>
  619. The nXhtml menu does not disappear when moving
  620. into a chunk where the major mode is not
  621. nxhtml-mode. The changes also makes it easy to
  622. access uploading functions functions etc from
  623. other modes than nxhtml-mode since the
  624. <em>nXhtml</em> may also be shown in them.
  625. </li>
  626. <li>
  627. The nXhtml menu can be turned on globally by default.
  628. Customize nxhtml-menu-mode for that.
  629. </li>
  630. </ul>
  631. </li>
  632. </ul>
  633. </dd>
  634. <dt id="v1.00">1.00</dt>
  635. <dd>
  636. <ul>
  637. <li>
  638. Reached version number 1.00 - which you maybe believe
  639. means the bugs should be gone? Sorry, it is just that
  640. I ran out of version numbers. However it looks like
  641. much fewer bugs at least.
  642. </li>
  643. <li>
  644. Fixed problems mostly related to global turn on of different features in nXhtml.
  645. </li>
  646. <li>
  647. Small fixes to indentation.
  648. <ul>
  649. <li>
  650. nxhtml-mode could get confused by php tags.
  651. </li>
  652. <li>
  653. nxhtml-mode did not indent &lt;!DOCTYPE in a sensible way.
  654. </li>
  655. <li>
  656. Electric keys now works in embedded php when using mumamo-mode.
  657. </li>
  658. </ul>
  659. </li>
  660. <li>
  661. Tidy was very misbehaving since the output buffer was
  662. not erased between different files. But I have got no
  663. bug reports on this.
  664. </li>
  665. <li>
  666. Fixed a bug in validation that should up when using muamo-mode.
  667. </li>
  668. <li>
  669. Fixed bug in &lt;script ...&gt; and &lt;style ...&gt; chunk dividing.
  670. </li>
  671. <li>
  672. Added support for OpenLaszlo.
  673. </li>
  674. <li>
  675. Corrections to mlinks-mode (visible mostly as links in
  676. XHTML buffers):
  677. <ul>
  678. <li>
  679. Links disappeared when a new file was
  680. opened. Corrected.
  681. </li>
  682. <li>
  683. Links were not correctly updated at changes in the
  684. buffer when mumamo-mode was used. Fixed.
  685. </li>
  686. </ul>
  687. </li>
  688. <li>
  689. The welcome message for nXhtml could be shown too
  690. early sometimes when loading, before nXhtml actually
  691. knew if it should be shown or not. Tried to fix it.
  692. </li>
  693. </ul>
  694. </dd>
  695. <dt id="v1.01">1.01</dt>
  696. <dd>
  697. <ul>
  698. <li>
  699. Reported wrong version number for nXhtml in the menus. Fixed.
  700. </li>
  701. <li>
  702. <em>If you use the zip file to install nXhtml please
  703. notice that it has now a top level nxml.</em> Sorry for not
  704. having zipped it like that before!
  705. </li>
  706. <li>
  707. The url links in <em>Welcome to nXhtml</em> was a bit
  708. incorrect and did not work on all OS:es. Fixed.
  709. </li>
  710. <li>
  711. Added customization of popup completion to the 'nxhtml
  712. customization group so they are easier to find.
  713. </li>
  714. <li>
  715. MuMaMo
  716. <ul>
  717. <li>
  718. Struggled a bit with the load sequences of the elisp
  719. libraries used by nXhtml when using MuMaMo.
  720. </li>
  721. <li>
  722. Tried to get the global turn on of mumam-mode to work
  723. in all cases.
  724. </li>
  725. <li>
  726. The screen was blinking when changing overlays after
  727. changes in the buffer. Tried to fix this.
  728. </li>
  729. <li>
  730. Minor fixes do syntax highlighting, like taking care of single ':s.
  731. </li>
  732. <li>
  733. Fixes to the support for JSP and eRuby.
  734. </li>
  735. <li>
  736. Made the support for perl here documents a bit better.
  737. Large perl documents are however still quite slow when
  738. using mumamo-mode. I do not know the reason yet.
  739. </li>
  740. <li>
  741. Refontification could miss some parts when buffer
  742. changes caused chunk division changes. Complex,
  743. tried to fix it, but I am a bit unsure that it
  744. always works.
  745. </li>
  746. <li>
  747. Cleaned up mumamo.el a bit.
  748. </li>
  749. <li>
  750. Rewrote mumamo-test.el and functions called from it in
  751. mumamo.el a bit to make tracebacks from errors more
  752. useful. Changed keybindings in mumamo-test.el from
  753. global to a minor mode <em>mumamo-test-mode</em>.
  754. Renamed mumamo-notest.el to mumamo-test.el. Added it
  755. to the zipped distribution of nXhtml.
  756. </li>
  757. </ul>
  758. </li>
  759. <li>
  760. Fixed a bug related to links and buffer changes.
  761. </li>
  762. </ul>
  763. </dd>
  764. <dt id="v1.02">1.02</dt>
  765. <dd>
  766. <ul>
  767. <li>
  768. Fixed a refontification bug that occured after changes.
  769. </li>
  770. </ul>
  771. </dd>
  772. <dt id="v1.03">1.03</dt>
  773. <dd>
  774. <ul>
  775. <li>
  776. Added the possibility to call GIMP.
  777. </li>
  778. <li>
  779. Reworked the messages for fontification errors to try
  780. to catch an error that shows up sometimes. Tried to
  781. avoid disturbing normal use in spite of that error.
  782. </li>
  783. <li>
  784. Reverted to using a short delay before switching major
  785. mode when moving between buffers.
  786. </li>
  787. </ul>
  788. </dd>
  789. <dt id="v1.04">1.04</dt>
  790. <dd id="v1.04-dd">
  791. <ul>
  792. <li>
  793. Enhanced the documentation for nXhtml. Starting from
  794. <i>C-h f nxhtml-mode</i> it should now be easier to
  795. get an overview.
  796. </li>
  797. <li>
  798. Bug fixes etc:
  799. <ul id="v1.04-bugs">
  800. <li>
  801. Completion on an empty page gave a faulty frameset page. Fixed.
  802. </li>
  803. <li>
  804. Insert end tag did not work with a fictive
  805. validation header. Fixed.
  806. </li>
  807. <li>
  808. Insert end tag when all preceding tags where
  809. closed gave a strange error message. Fixed.
  810. </li>
  811. <li>
  812. Changed some key bindings to comply with
  813. <i>(info "(elisp) Key Binding Conventions")</i>
  814. </li>
  815. <li>
  816. Completion in empty buffers with a completion
  817. header did not work. Fixed.
  818. </li>
  819. <li id="mumamo-bugs">
  820. Multiple major modes:
  821. <ul>
  822. <li>
  823. Fixed a bug that prevented mumamo-global-mode from
  824. beeing turned on in a file opened in
  825. fundamental-mode.
  826. </li>
  827. <li>
  828. Better error tracing for some functions,
  829. including the call of major mode functions.
  830. </li>
  831. <li>
  832. Position was garbled when a ;-char was inserted in php-mode chunk. Fixed.
  833. </li>
  834. <li>
  835. A bad check for if mlinks-mode where available was fixed.
  836. </li>
  837. <li>
  838. Some bugs concerning turning off mumamo-mode was fixed.
  839. </li>
  840. <li>
  841. Fixed a bug in <i>perl here doc</i> chunks. Suddenly the
  842. problem with slowness when using mumamo-mode in
  843. perl buffers seems gone. (Note quite sure, but I
  844. can't see any problems now.)
  845. </li>
  846. <li>
  847. Fixed a bug in mumamo-mode when current buffer was
  848. switched before the major mode had been set from
  849. the current chunk.
  850. </li>
  851. <li>
  852. Fixed a long standing bug in php fontification of
  853. strings and comments.
  854. </li>
  855. <li>
  856. Fixed a bug where <i>sgml-xml-mode</i> was not defined.
  857. </li>
  858. <li>
  859. Fixed a bug related to get-text-property which
  860. gives an error when buffer is narrowed.
  861. </li>
  862. <li>
  863. Tried to refontify things outside of a narrowed part. Fixed.
  864. </li>
  865. <li>
  866. Too little where refontified after changes. I hope I have fixed this.
  867. </li>
  868. </ul>
  869. </li>
  870. <li>
  871. Fictive XHTML Validation Header:
  872. <ul id="v1.04-fic-bugs">
  873. <li>
  874. View File did not work correctly when a fictive
  875. XHTML validation header was used. Corrected.
  876. </li>
  877. <li>
  878. Fictive XHTML validation headers are no longer
  879. turned on by default in any buffers.
  880. </li>
  881. </ul>
  882. </li>
  883. <li>
  884. Indentation:
  885. <ul>
  886. <li>
  887. Tried to fix a problem when using
  888. newline-and-indent. When this was in a mode
  889. derived from C the indentation sometimes became 0.
  890. </li>
  891. <li>
  892. Speeded up the indentation of regions a bit when
  893. using <i>mumamo-mode</i>.
  894. </li>
  895. <li>
  896. Indentation: TAB now only indents a region if it
  897. is visibly marked (see transient-mark-mode and
  898. cua-mode).
  899. </li>
  900. <li>
  901. Simplified the indentation code.
  902. </li>
  903. </ul>
  904. </li>
  905. <li>
  906. Fixed a problem where string fontification got out
  907. of phase so that wrong parts of buffer could be
  908. fontified as a string.
  909. </li>
  910. <li>
  911. Added a workaround for <a
  912. href="#php-attribute-values">Attribute values
  913. computed by PHP</a>
  914. </li>
  915. <li>
  916. Added .nosearch to subdirectories with no elisp files.
  917. </li>
  918. <li>
  919. Fixed incorrect checks for mlinks-mode in menu building.
  920. </li>
  921. <li>
  922. File extensions where used in a case sensitive way
  923. in some places. Fixed.
  924. </li>
  925. <li>
  926. appmenu: Worked only in html files. Fixed.
  927. </li>
  928. <li>
  929. html-site: Fixed the error <em>Error
  930. (html-site-current): Can't find site:
  931. your-site-name</em>.
  932. </li>
  933. <li>
  934. Fixed a problem with longlines-mode in the support
  935. for Firefox add-on It's All Text. (Note however
  936. that there are some bugs in longlines-mode
  937. itself.) Rewrote the support to be more
  938. general. It is now in the file as-external.el, see
  939. this file.
  940. </li>
  941. <li>
  942. Fixed an encoding problem in
  943. <i>tidy-buffer</i>. Output from tidy was not read
  944. using the same coding system as tidy was using.
  945. </li>
  946. <li>
  947. Fixed some problems with face definitions, possibly bugs (not sure).
  948. </li>
  949. <li>
  950. Made the fontification faster when using mumamo-mode.
  951. (It is still slower than single mode fontification of course.)
  952. </li>
  953. <li>
  954. nxml-where.el: Made it aware of mumamo.el.
  955. </li>
  956. </ul>
  957. </li>
  958. <li>
  959. Menu changes:
  960. <ul>
  961. <li>
  962. Completion menu: Renamed to <i>Completion and
  963. Validation</i> menu and reorganized a little bit to
  964. make it more clear.
  965. </li>
  966. <li>
  967. Renamed <i>view</i> to <i>browse</i> since this is
  968. the normal emacs name for showing files in a web
  969. browser. Also made corresponding changes to
  970. function names. Put back the possibility to view
  971. only the region in a web browser.
  972. </li>
  973. </ul>
  974. </li>
  975. <li>
  976. Uploading:
  977. <ul>
  978. <li>
  979. Added remote dired to the menus.
  980. </li>
  981. <li>
  982. Fixed problems with file names starting with ~.
  983. </li>
  984. <li>
  985. Fixed more problems with file names with spaces.
  986. </li>
  987. </ul>
  988. </li>
  989. <li>
  990. nxml-where:
  991. <ul>
  992. <li>
  993. nxml-where now uses a timeout for more smooth performance.
  994. </li>
  995. <li>
  996. nxml-where can now recognizes both id and name attribute.
  997. </li>
  998. <li>
  999. Hyphens are now accepted in tag names.
  1000. </li>
  1001. </ul>
  1002. </li>
  1003. <li>
  1004. Ruby
  1005. <ul>
  1006. <li>
  1007. Multiple major mode turned on by default for .rhtml files when this mode is global.
  1008. </li>
  1009. <li>
  1010. Multiple major mode is no longer turned on when rub-mode is turned on.
  1011. </li>
  1012. </ul>
  1013. </li>
  1014. <li>
  1015. Added support for switching major mode dependent on if
  1016. Emacs was called as an external editor. This makes it
  1017. possible for example to switch to relevant major and
  1018. minor modes when Firefox add-on It's All Text.
  1019. </li>
  1020. <li>
  1021. Added the possibility to easily view the output of scripts on the server (if they require no parameters).
  1022. You can now do that from the nXhtml menu.
  1023. Previously only html files on the server could be viewed that way.
  1024. Image files can also be viewed this way.
  1025. </li>
  1026. <li>
  1027. Filling:
  1028. <ul>
  1029. <li>
  1030. Added functions for unfilling.
  1031. </li>
  1032. <li>
  1033. Added keybindings and menu entries for longlines-mode, fill-paragraph and unfill-paragraph.
  1034. </li>
  1035. </ul>
  1036. </li>
  1037. <li>
  1038. Quoting:
  1039. Added HTML quoting of &amp; and &lt; in text areas. Bound to C-c C-q.
  1040. </li>
  1041. <li>
  1042. Images:
  1043. <ul>
  1044. <li>
  1045. Added image-mode to those that are encompassed by nxhtml-global-minor-mode so that images can be uploaded more easily.
  1046. </li>
  1047. <li>
  1048. Added <em>edit with GIMP</em> and <em>upload</em> to the popup menu for links.
  1049. This avoids the need to load the linked files in Emacs first.
  1050. </li>
  1051. </ul>
  1052. </li>
  1053. <li>
  1054. Added <em>nxml-untag-element</em>.
  1055. </li>
  1056. <li>
  1057. Added a modified version of wikipedia-mode.el. Seems likely to be useful if you are doing web editing.
  1058. </li>
  1059. <li>
  1060. Added html-imenu.el
  1061. </li>
  1062. <li>
  1063. MuMaMo:
  1064. <ul>
  1065. <li>
  1066. Removed the lighter <i>"MuMaMo"</i> for
  1067. mumamo-mode. Instead the active major mode now has
  1068. <b>"/m"</b> appended to mode-name (that is what you see
  1069. in the mode line).
  1070. </li>
  1071. <li>
  1072. The normal way to turn on <i>mumamo-mode</i> has
  1073. changed. There are now functions that you can use
  1074. in <i>auto-mode-alist</i> to directly set up the
  1075. buffer for mumamo-mode. The available functions
  1076. are in the
  1077. variable <i>mumamo-defined-turn-on-functions</i>.
  1078. <p>
  1079. You are not supposed to call mumamo-mode
  1080. yourself any more and mumamo-global-mode is
  1081. gone. So is also mumamo-chunk-family-by-mode and
  1082. mumamo-filenames-list. The functionality those
  1083. gave are all replaced by the new functions for
  1084. turning on mumamo mode.
  1085. </p>
  1086. </li>
  1087. <li>
  1088. Added support for buffer local values in
  1089. hooks. This is necessary for example to support
  1090. minor modes that are meant to be buffer local but
  1091. not major mode specific. Instructions for authors
  1092. of this kind of minor modes are in the file
  1093. mumamo.el.
  1094. </li>
  1095. <li>
  1096. Added support for Django.
  1097. </li>
  1098. <li>
  1099. Added support for Embperl.
  1100. </li>
  1101. <li>
  1102. Added support for PHP Smarty. The <i>{literal}
  1103. ... {/literal}</i> construct is not supported.
  1104. This mean that you can not use &lt;style ..&gt; or &lt;script ..&gt;.
  1105. </li>
  1106. <li>
  1107. Added support for imenu for the main major mode.
  1108. Turned on this by default in nxhtml-mode.
  1109. </li>
  1110. <li>
  1111. Made the temporary replacement of the
  1112. attr="&lt;?php ... ?&gt;" a bit better. They are
  1113. now more visible and also still mumamo chunks
  1114. during the temporary replacement.
  1115. </li>
  1116. <li>
  1117. Added support for <i>flymake-mode</i>.
  1118. Maybe add support for checking chunks?
  1119. </li>
  1120. <li>
  1121. Printing: Added htmlfontify.el and
  1122. hfyview.el. These makes if possible to print a
  1123. buffer fontified with <i>mumamo-mode</i> on in
  1124. colors (through your web browser). There is an
  1125. example of the capabilities of htmlfontify <a
  1126. href="htmlfontify-example.html">here</a> (made
  1127. with a little function in hfyview.el).
  1128. </li>
  1129. </ul>
  1130. </li>
  1131. <li>
  1132. PHP:
  1133. <ul>
  1134. <li>
  1135. Did a first merge with Aaron Hawleys fixes for php-mode.el.
  1136. </li>
  1137. </ul>
  1138. </li>
  1139. <li>
  1140. CSS: Upgraded to Stefan's latest css-mode.el.
  1141. </li>
  1142. <li>
  1143. Fictive XHTML Validation Headers: Changed the way they
  1144. are turned on. They may now be turned on when
  1145. mumamo-mode is turned on.
  1146. </li>
  1147. <li>
  1148. Some users want to use their own patched version of nXml. Next version of Emacs will come with nXml. Therefore, the loading routine for nXhtml now checks if nXml is is already loaded. Thanks to Eric Lilja for testing this. Eric also made me aware of that if nXhtml was placed in the site-lisp directory tree then things did not work as I expected. I think I have corrected that by placing a <i>.nosearch</i> file at the top of the nxml tree in nXhtml.
  1149. </li>
  1150. <li>
  1151. Restructured the directories. Moved some files out of
  1152. the <i>nxhtml</i> subdir. Some of them went into the
  1153. <i>util</i> subdir (those are written by me) and some
  1154. to the new subdir <i>related</i> (those that are
  1155. inherited from others, maybe changed by me - most
  1156. often to work with mumamo-mode).
  1157. </li>
  1158. <li>
  1159. Changed all licenses to be GNU GPL.
  1160. </li>
  1161. <li>
  1162. Additions to tidy support: It is now possible to use
  1163. the tidy support to tidy the XHTML part of php etc.
  1164. (Thanks to Hadron for this suggestion.)
  1165. </li>
  1166. <li>
  1167. Added <i>winsize.el</i> which allows interactive resizing of
  1168. windows. Also added <i>winsav.el</i> which adds the
  1169. capability to rotate window configurations and also to
  1170. save window configuration to file.
  1171. </li>
  1172. <li>
  1173. Made nXhtml work with CVS Emacs 23.0.50.1.
  1174. </li>
  1175. <li>
  1176. Added freemind.el to the parcel. After all FreeMind
  1177. supports web publishing too so why not have the Emacs
  1178. support here ...
  1179. </li>
  1180. </ul>
  1181. </dd>
  1182. <dt id="v1.10">1.10</dt>
  1183. <dd id="v1.10-dd">
  1184. Just jumped the version number for the new release of
  1185. nXhtml. There are really significant changes in this
  1186. release, not only minor bug fixes.
  1187. </dd>
  1188. <dt id="v1.11">1.11</dt>
  1189. <dd id="v1.11-dd">
  1190. Minor bug fixes to completion. Added fictive validation
  1191. header to completion alternatives when buffer is empty and
  1192. mumamo is used.
  1193. </dd>
  1194. <dt id="v1.12">1.12</dt>
  1195. <dd id="v1.12-dd">
  1196. <ul>
  1197. <li>
  1198. Fixed a bug in image link insertion in nxhtml-mode, thanks Niels Giesen!
  1199. </li>
  1200. <li>
  1201. Restructured, reordered and documented mumamo.el. It is now two
  1202. separate files, mumamo.el and mumamo-fun.el.
  1203. </li>
  1204. <li>
  1205. Added move by chunk to the nXhtml menu.
  1206. </li>
  1207. </ul>
  1208. </dd>
  1209. <dt id="v1.13">1.13</dt>
  1210. <dd id="v1.13-dd">
  1211. <ul>
  1212. <li>
  1213. Better handling of the case when no validation header
  1214. is needed and the user tries to turn it on.
  1215. </li>
  1216. <li>
  1217. Added .phtml as php file.
  1218. </li>
  1219. </ul>
  1220. </dd>
  1221. <dt id="v1.14">1.14</dt>
  1222. <dd id="v1.14-dd">
  1223. <ul>
  1224. <li>
  1225. Completion of links in XHTML was broken. Fixed, thanks
  1226. to Niels Giesen.
  1227. </li>
  1228. </ul>
  1229. </dd>
  1230. <dt id="v1.15">1.15</dt>
  1231. <dd id="v1.15-dd">
  1232. <ul>
  1233. <li>
  1234. Added `mumamo-map' keymap.
  1235. </li>
  1236. <li>
  1237. Added a k…