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">
6 <title>nXhtml Notes and Changes</title>
7 <link href="wd/grapes/nxhtml-grapes.css" rel="StyleSheet" type="text/css" />
14 <a href="nxhtml.html">To nXhtml main page</a>
17 <h1>nXhtml Notes and Bugs</h1>
20 <!-- <dt id="bugs-affect-mode-switching">Two Emacs 22 beta bugs affects PHP mode switching</dt> -->
23 <!-- <a href="nxhtml.html#php">PHP / nXhtml automatic mode switching</a> is affected: -->
27 <!-- Because of a bug in Emacs 22 beta you may have to turn -->
28 <!-- off and on the switch <em>Mode Switching at <? -->
29 <!-- ... ?></em> in the menus to get the automatic mode -->
30 <!-- switching to start. -->
31 <!-- <em>(Work around added in 0.94)</em> -->
34 <!-- There is the same problem with showing XML path. -->
35 <!-- <em>(Work around added in 0.94)</em> -->
38 <!-- It also affects MLinks. -->
39 <!-- <em>(Work around added in 0.94)</em> -->
42 <!-- Because of another bug in Emacs 22 beta immediately -->
43 <!-- after mode the automatic mode switching the keyboard -->
44 <!-- uses the key bindings from the <em>wrong mode for the -->
45 <!-- first key</em>. Type any key on the keyboard, that -->
47 <!-- <em>(Work around added in 0.95)</em> -->
51 <dt id="new-mode-switching" style="margin-top:1em;">I have rewritten the PHP mode switching</dt>
54 Because of some (fair) critique I have gotten about the way mode switching between php-mode and nxhtml-mode works
55 I have rewritten that part.
56 The new mode switching also includes embedded css, javascript, eRuby and JSP.
59 <dt id="hadron-bugs" style="margin-top:1em;">A lot of bugs corrected for version 0.98</dt>
62 I want to thanks Hadron Quark for helping me by testing
63 and pointing out bugs and weaknesses, most related to
64 editing of PHP. I have included fixes for many of them
65 in version 0.98 and more may follow.
70 <h1>nXhtml Changes</h1>
77 Corrected autostart for nXhtml when not used together with EmacsW32.
85 Improved display of XML path.
88 Discontinued xmple-mode.
91 New major modes nxhtml-part-mode/nxml-part-mode replaces
92 minor mode xmlpe-mode. (While moving the code to
93 nxhtml-part.el I also fixed a bug in Xmple minor mode that
94 made Emacs take 99% of the CPU.)
102 Fixed some calls to perl which prevented uploading of
103 a site of you did not have perl in the same location
107 Glued together things so that editing PHP files works
108 as I intended. (This means that Emacs switches between
109 php-mode and nxhtml-part-mode automatically when
110 moving point. And that you can use completion.)
113 Starting working on the documentation for nXhtml.
114 New layout to the documentation files.
115 Examples with images.
123 Fixes to make the switching between php and xhtml
124 style editing work better.
132 Better error handling when switching to editing
133 embedded JavaScript and CSS.
136 Removed PHP spec from embedded switching since they
137 interfered with the automatic switching between php
141 Gives an error message if web host is not defined in
142 site when trying to use View Uploaded File and
146 Gives a ready message when finished uploading a single
150 When using Mode Switching at <? ... ?> mode
151 switching could occur in wrong buffer. Fixed together
152 with some other buffer problems.
160 Add http://www.w3.org/ to the help sites for CSS.
166 Added a menu entry for bug reporting.
169 Renamed menu bar entry from XHTML to nXhtml for clarity.
170 (But nXml menu bar entry is still called XML.)
173 Added work around for globalized minor modes in the
174 cases of MLinks, XML Path and mode switching at <? ... ?>.
182 Added workaround for the problem with the first
183 keyboard key after automatically switching of mode at
192 Added support for multiple major modes with mumamo.el.
195 More conventient handling of links. They can now be
196 opened in the same window, 'other window' or in a new
205 Schema was not setup after starting new page so
206 completion did not work. Fixed.
209 Added http://xhtml.com/ to help sites for XHTML.
212 Added the concept of <em>XML validation headers</em>.
213 These are just text parsed by the nXml validation
214 parser to get a start state before starting parsing a
215 buffer. This allows the use of the nXml completion in
216 buffers where there are no XML header. Such a header
217 is often lacking for example in PHP code since the
218 XHTML header is often generated dynamically.
221 Because of the change above <em>nxhtml-part-mode</em>
222 is no longer needed and is therefore declared
226 Corrected a bug in mlinks.el that prevented opening an
227 HTML link in a other window or a new frame.
230 Added support for JSP, eRuby and some support for perl
239 Mumamo was not found when nXhtml was installed with
240 just the zip file. Corrected. (nXhtml is also
241 installed when you install EmacsW32.)
244 Enhancement to mumamo error handling when a bad mode
245 specifier for an embedded mode is found.
248 Introduced a bug for empty XHTML documents in
252 Corrected a bug for chunks 1 character long.
255 There is a bug in Emacs 22 in the handling of global
256 minor mode that are not distributed with Emacs. If
257 they are turned on by customization, but loaded after
258 Emacs have loaded the customizations (usually in
259 .emacs) then they are not turned on correctly. Added
260 work-around for this.
263 <em>Extra XHTML Validation Header</em>:
266 <em>Extra XHTML Validation Header</em> state was not saved when moving between chunks. Fixed.
269 Tried to make the concept of <em>Extra XHTML Validation Header</em>
270 more clear. Added this visually to the buffer.
273 <em>Extra XHTML Validation Headers</em> can now be turned on
274 automatically based on file name.
279 <em>nXhtml menu:</em>
282 Reorganized the nXhtml menu.
285 Added <em>customization</em> groups for help libraries to nXhtml.
288 Added an entry for customization of nXhtml to the menus.
291 Added <em>Tidy</em> to the menus again.
296 Corrected bug in <em>XML Path</em> (nxml-where) for single tags.
297 Other small fixes to nxhtml-where.
300 Documentation enhancements.
301 Added <em>The Quick Guide</em>.
311 Corrections to indentation.
314 Turn on mumamo-mode by file name.
317 The Extra XHTML Validation Header state were not saved when changing major mode in MuMaMo. Corrected.
320 Added more alternatives to the Extra XHTML Validation Header list.
321 This should make it easier to use completion with for example PHP.
324 Added default value for the Extra XHTML Validation Header.
334 Copyright © 2007 OurComments.org
336 Latest update 2007-04-11