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