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>News and Notes about nXhtml</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>News and Notes about nXhtml</h1>
21 <dt id="hadron-bugs" style="margin-top:1em;">Thanks for testing!</dt>
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.
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
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.
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.
55 <dt id="state-of-the-art" style="margin-top:1em;
56 background-color: #00fa9a;
57 background-color: #20b2aa;
59 ">The State of the Art</dt>
60 <dd style="background-color: #54ff9f; padding: 0.5em">
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
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.)
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.
93 <dt id="magic-problems" style="margin-top:1em;">Magic major mode selection</dt>
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.
104 You may try setting magic-mode-alist to nil if this is a
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.)
116 <dt id="underline-bug" style="margin-top:1em;">Long Red Underlines</dt>
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
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
133 <dt id="php-attribute-values" style="margin-top:1em;">Attribute values computed by PHP</dt>
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:
140 <p style="margin-left:2em">
141 <img src="images/linux.png" title="<?php foo("bar");?>"/>
144 Unfortunately that still breaks XHTML validation since
145 < 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).
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
154 <p style="margin-left:2em">
155 <img src="images/linux.png" title="«?php foo("bar");?»"/>
158 However on the screen you will still see the original
159 string and when writing to file the correct characters
164 <dt id="pi-note" style="margin-top:1em;">A note for PHP and its cousins</dt>
167 The rules for a process instruction in XML, like <?php
168 ... ?> says that the text can contain any text except
169 <em>?></em>. So if you want to output that string
170 from PHP then break it up so it does not look as ?> in
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 < in strings, since it is not allowed there.
181 <!-- <dt id="pi-note" style="margin-top:1em;">Perl Mode slow with Mumamo Mode</dt> -->
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. -->
192 <dt id="tab-width-problems" style="margin-top:1em;">Tab width</dt>
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.
201 <dt id="mmm-compat" style="margin-top:1em;">Why the chunks are not compatible with mmm</dt>
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.
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!
219 <h1 id="change-history">nXhtml Changes</h1>
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>
246 <dt id="v0.89">0.89</dt>
250 Corrected autostart for nXhtml when not used together with EmacsW32.
254 <dt id="v0.90">0.90</dt>
258 Improved display of XML path.
261 Discontinued xmple-mode.
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.)
271 <dt id="v0.91">0.91</dt>
275 Fixed some calls to perl which prevented uploading of
276 a site of you did not have perl in the same location
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.)
286 Starting working on the documentation for nXhtml.
287 New layout to the documentation files.
288 Examples with images.
292 <dt id="v0.92">0.92</dt>
296 Fixes to make the switching between php and xhtml
297 style editing work better.
301 <dt id="v0.93">0.93</dt>
305 Better error handling when switching to editing
306 embedded JavaScript and CSS.
309 Removed PHP spec from embedded switching since they
310 interfered with the automatic switching between php
314 Gives an error message if web host is not defined in
315 site when trying to use View Uploaded File and
319 Gives a ready message when finished uploading a single
323 When using Mode Switching at <? ... ?> mode
324 switching could occur in wrong buffer. Fixed together
325 with some other buffer problems.
329 <dt id="v0.94">0.94</dt>
333 Add http://www.w3.org/ to the help sites for CSS.
339 Added a menu entry for bug reporting.
342 Renamed menu bar entry from XHTML to nXhtml for clarity.
343 (But nXml menu bar entry is still called XML.)
346 Added work around for globalized minor modes in the
347 cases of MLinks, XML Path and mode switching at <? ... ?>.
351 <dt id="v0.95">0.95</dt>
355 Added workaround for the problem with the first
356 keyboard key after automatically switching of mode at
361 <dt id="v0.96">0.96</dt>
365 Added support for multiple major modes with mumamo.el.
368 More conventient handling of links. They can now be
369 opened in the same window, 'other window' or in a new
374 <dt id="v0.97">0.97</dt>
378 Schema was not setup after starting new page so
379 completion did not work. Fixed.
382 Added http://xhtml.com/ to help sites for XHTML.
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.
394 Because of the change above <em>nxhtml-part-mode</em>
395 is no longer needed and is therefore declared
399 Corrected a bug in mlinks.el that prevented opening an
400 HTML link in a other window or a new frame.
403 Added support for JSP, eRuby and some support for perl
408 <dt id="v0.98">0.98</dt>
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.)
417 Enhancement to mumamo error handling when a bad mode
418 specifier for an embedded mode is found.
421 Introduced a bug for empty XHTML documents in
425 Corrected a bug for chunks 1 character long.
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.
436 <em>Fictive XHTML Validation Header</em>:
439 <em>Fictive XHTML Validation Header</em> state was not saved when moving between chunks. Fixed.
442 Tried to make the concept of <em>Fictive XHTML Validation Header</em>
443 more clear. Added this visually to the buffer.
446 <em>Fictive XHTML Validation Headers</em> can now be turned on
447 automatically based on file name.
452 <em>nXhtml menu:</em>
455 Reorganized the nXhtml menu.
458 Added <em>customization</em> groups for help libraries to nXhtml.
461 Added an entry for customization of nXhtml to the menus.
464 Added <em>Tidy</em> to the menus again.
469 Corrected bug in <em>XML Path</em> (nxml-where) for single tags.
470 Other small fixes to nxhtml-where.
473 Documentation enhancements.
474 Added <em>The Quick Guide</em>.
478 <dt id="v0.99">0.99</dt>
482 Fixed a serious bug in the cooperation between nxhtml-mode and mumamo-mode.
485 Turn on mumamo-mode by file name (mumamo-global-mode).
488 Fictive XHTML Validation Header:
491 The Fictive XHTML Validation Header state were not saved when changing major mode in MuMaMo. Corrected.
494 Added more alternatives to the Fictive XHTML Validation Header list.
495 This should make it easier to use completion with for example PHP.
498 Added default value for the Fictive XHTML Validation Header.
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.)
506 To turn this on by default customize nxhtml-global-validation-header-mode.
511 Possible to hide validation warnings without turning
512 on validation (which would make completion in the
513 XHTML part impossible).
516 Some fixes to php-mode:
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>
528 Various corrections to indentation in mumamo.
531 Added the possibility to use TAB to indent regions
532 (indent-region-mode).
535 Warn about bad indentation in mixed PHP/HTML code
536 when using php-mode only.
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.)
546 Reorganized the nXhtml menu:
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.
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.
562 The nXhtml menu can be turned on globally by default.
563 Customize nxhtml-menu-mode for that.
569 <dt id="v1.00">1.00</dt>
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.
579 Fixed problems mostly related to global turn on of different features in nXhtml.
582 Small fixes to indentation.
585 nxhtml-mode could get confused by php tags.
588 nxhtml-mode did not indent <!DOCTYPE in a sensible way.
591 Electric keys now works in embedded php when using mumamo-mode.
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 ;-)
601 Fixed a bug in validation that should up when using muamo-mode.
604 Fixed bug in <script ...> and <style ...> chunk dividing.
607 Added support for OpenLaszlo.
610 Corrections to mlinks-mode (visible mostly as links in
614 Links disappeared when a new file was
618 Links were not correctly updated at changes in the
619 buffer when mumamo-mode was used. Fixed.
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.
630 <dt id="v1.01">1.01</dt>
634 Reported wrong version number for nXhtml in the menus. Fixed.
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!
642 The url links in <em>Welcome to nXhtml</em> was a bit
643 incorrect and did not work on all OS:es. Fixed.
646 Added customization of popup completion to the 'nxhtml
647 customization group so they are easier to find.
653 Struggled a bit with the load sequences of the elisp
654 libraries used by nXhtml when using MuMaMo.
657 Tried to get the global turn on of mumam-mode to work
661 The screen was blinking when changing overlays after
662 changes in the buffer. Tried to fix this.
665 Minor fixes do syntax highlighting, like taking care of single ':s.
668 Fixes to the support for JSP and eRuby.
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.
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
682 Cleaned up mumamo.el a bit.
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.
695 Fixed a bug related to links and buffer changes.
699 <dt id="v1.02">1.02</dt>
703 Fixed a refontification bug that occured after changes.
707 <dt id="v1.03">1.03</dt>
711 Added the possibility to call GIMP.
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.
719 Reverted to using a short delay before switching major
720 mode when moving between buffers.
724 <dt id="v1.04">1.04</dt>
728 Enhanced the documentation for nXhtml. Starting from
729 <i>C-h f nxhtml-mode</i> it should now be easier to
736 Completion on an empty page gave a faulty frameset page. Fixed.
739 Insert end tag did not work with a fictive
740 validation header. Fixed.
743 Insert end tag when all preceding tags where
744 closed gave a strange error message. Fixed.
747 Changed some key bindings to comply with
748 <i>(info "(elisp) Key Binding Conventions")</i>
751 Completion in empty buffers with a completion
752 header did not work. Fixed.
754 <li id="mumamo-bugs">
755 Multiple major modes:
758 Fixed a bug that prevented mumamo-global-mode from
759 beeing turned on in a file opened in
763 Better error tracing for some functions,
764 including the call of major mode functions.
767 Position was garbled when a ;-char was inserted in php-mode chunk. Fixed.
770 A bad check for if mlinks-mode where available was fixed.
773 Some bugs concerning turning off mumamo-mode was fixed.
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.)
782 Fixed a bug in mumamo-mode when current buffer was
783 switched before the major mode had been set from
787 Fixed a long standing bug in php fontification of
788 strings and comments.
791 Fixed a bug where <i>sgml-xml-mode</i> was not defined.
794 Fixed a bug related to get-text-property which
795 gives an error when buffer is narrowed.
798 Tried to refontify things outside of a narrowed part. Fixed.
801 Too little where refontified after changes. I hope I have fixed this.
806 Fictive XHTML Validation Header:
807 <ul id="v1.04-fic-bugs">
809 View File did not work correctly when a fictive
810 XHTML validation header was used. Corrected.
813 Fictive XHTML validation headers are no longer
814 turned on by default in any buffers.
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.
827 Speeded up the indentation of regions a bit when
828 using <i>mumamo-mode</i>.
831 Indentation: TAB now only indents a region if it
832 is visibly marked (see transient-mark-mode and
836 Simplified the indentation code.
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.
846 Added a workaround for <a
847 href="#php-attribute-values">Attribute values
851 Added .nosearch to subdirectories with no elisp files.
854 Fixed incorrect checks for mlinks-mode in menu building.
857 File extensions where used in a case sensitive way
858 in some places. Fixed.
861 appmenu: Worked only in html files. Fixed.
864 html-site: Fixed the error <em>Error
865 (html-site-current): Can't find site:
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
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.
882 Fixed some problems with face definitions, possibly bugs (not sure).
885 Made the fontification faster when using mumamo-mode.
886 (It is still slower than single mode fontification of course.)
889 nxml-where.el: Made it aware of mumamo.el.
897 Completion menu: Renamed to <i>Completion and
898 Validation</i> menu and reorganized a little bit to
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.
914 Added remote dired to the menus.
917 Fixed problems with file names starting with ~.
920 Fixed more problems with file names with spaces.
928 nxml-where now uses a timeout for more smooth performance.
931 nxml-where can now recognizes both id and name attribute.
934 Hyphens are now accepted in tag names.
942 Multiple major mode turned on by default for .rhtml files when this mode is global.
945 Multiple major mode is no longer turned on when rub-mode is turned on.
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.
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.
965 Added functions for unfilling.
968 Added keybindings and menu entries for longlines-mode, fill-paragraph and unfill-paragraph.
974 Added HTML quoting of & and < in text areas. Bound to C-c C-q.
980 Added image-mode to those that are encompassed by
981 nxhtml-global-minor-mode so that images can be
982 uploaded more easily.
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.
991 Added <em>nxml-untag-element</em>.
994 Added a modified version of wikipedia-mode.el. Seems likely to be useful if you are doing web editing.
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
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
1014 variable <i>mumamo-defined-turn-on-functions</i>.
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.
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
1033 Added support for Django.
1036 Added support for Embperl.
1039 Added support for PHP Smarty. The <i>{literal}
1040 ... {/literal}</i> construct is not supported.
1041 This mean that you can not use <style ..> or <script ..>.
1044 Added support for imenu for the main major mode.
1045 Turned on this by default in nxhtml-mode.
1048 Made the temporary replacement of the
1049 attr="<?php ... ?>" a bit better. They are
1050 now more visible and also still mumamo chunks
1051 during the temporary replacement.
1054 Added support for <i>flymake-mode</i>.
1055 Maybe add support for checking chunks?
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).
1072 Did a first merge with Aaron Hawleys fixes for php-mode.el.
1077 CSS: Upgraded to Stefan's latest css-mode.el.
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.
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.
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).
1104 Changed all licenses to be GNU GPL.
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.)
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.
1118 Made nXhtml work with CVS Emacs 23.0.50.1.
1121 Added freemind.el to the parcel. After all FreeMind
1122 supports web publishing too so why not have the Emacs
1127 <dt id="v1.10">1.10</dt>
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.
1133 <dt id="v1.11">1.11</dt>
1135 Minor bug fixes to completion. Added fictive validation
1136 header to completion alternatives when buffer is empty and
1139 <dt id="v1.12">1.12</dt>
1143 Fixed a bug in image link insertion in nxhtml-mode, thanks Niels Giesen!
1146 Restructured, reordered and documented mumamo.el. It is now two
1147 separate files, mumamo.el and mumamo-fun.el.
1150 Added move by chunk to the nXhtml menu.
1154 <dt id="v1.13">1.13</dt>
1158 Better handling of the case when no validation header
1159 is needed and the user tries to turn it on.
1162 Added .phtml as php file.
1166 <dt id="v1.14">1.14</dt>
1170 Completion of links in XHTML was broken. Fixed, thanks
1175 <dt id="v1.15">1.15</dt>
1179 Added `mumamo-map' keymap.
1182 Added a keymap to all multi major modes.
1185 Some more refinement to fictive validation headers.
1189 <dt id="v1.16">1.16</dt>
1196 Changes to indentation:
1199 Removed indent-region-mode since that
1200 functionality is now in indent-for-tab-command in
1204 Removed some code that checked if indentation was 0.
1207 Added indent-for-tab-command to mumamo-map.
1212 Reordering and renaming:
1215 Reordered and move some functions in mumamo.el et al.
1216 Added new file nxhtml-mumamo.el.
1219 Renamed <i>define-mumamo-turn-on</i> to
1220 <i>define-mumamo-multi-major-mode</i>.
1223 Removed the ending <i>-turn-on</i> from the
1224 functions defined by the macro above.
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.
1235 Added support for noweb as multiple major mode.
1241 <dt id="v1.17">1.17</dt>
1248 Added support for flyspell.
1253 Bug fixes to the version of find-recursive.el that
1254 ships with nXhtml. Thanks to Cezar Halmagean.
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.)
1265 Added <i>nxhtml-heading-element-name-regexp</i> as
1266 default for nxml style folding.
1269 Some changes to fold-dwim.el.
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>.
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.
1292 Added physical-line.el to nXhtml.
1295 Added new functions to move to beginning and end
1296 of line to ourcomments-util.el that supports
1303 <dt id="v1.18">1.18</dt>
1307 Better Tab completion in tabkey2.el.
1311 <dt id="v1.19">1.19</dt>
1315 Even better Tab completion in tabkey2.el.
1319 <dt id="v1.20">1.20</dt>
1323 Once again even better Tab completion in tabkey2.el.
1326 Fixed bug in hiding of validation errors (they could
1330 Cleaned up menus in nXhtml.
1334 <dt id="v1.21">1.21</dt>
1338 Added a bit support for dired (upload, browse, browse
1342 Fixed some strange menu problems (i hope).
1346 <dt id="v1.22">1.22</dt>
1354 <dt id="v1.23">1.23</dt>
1362 <dt id="v1.24">1.24</dt>
1366 Tried again to make hexcolor-mode more readable.
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
1377 style="font-size:1.5em;">hi-black-hb</span>.
1383 <dt id="v1.25">1.25</dt>
1390 Handle hi-lock-mode in a more general way
1391 using <i>font-lock-mode-hook</i>.
1397 <dt id="v1.26">1.26</dt>
1404 Removed the indent line patch for nxml-mode.
1407 Better test for empty page during completion.
1415 A lot of improvements.
1421 <dt id="v1.27">1.27</dt>
1425 Fixed a bug in html-site when comparing file
1426 names. File names where not made unique before
1430 Fixed documentation and reordered code in mumamo.el
1434 Fixed a bug in mumamo concerning indentation. The
1435 desired indentation function replacement where not
1442 Changed javascript.el indentation to make it work with
1446 Introduced the function
1447 <i>mumamo-make-variable-buffer-permanent</i> as an aid for
1451 Made nXhtml menu available in sub-chunks.
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>.
1467 <hr class="footer"/>
1469 Copyright © 2008 OurComments.org
1471 Latest update 2008-03-09