NXML-NEWS 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. 20041004
  2. --------
  3. Support for outlining has been added. See the manual for more details.
  4. C-u C-c C-n goes to the first error.
  5. 20040910
  6. --------
  7. C-c RET splits the current element as in PSGML.
  8. 20040908
  9. --------
  10. Indentation has been rewritten. Indentation of attribute names and
  11. values should work better. The default value of
  12. `nxml-attribute-indent' has been changed to 4.
  13. Syntax highlighting with a dark background should now work.
  14. 20040726
  15. --------
  16. The attribute pathSuffix on the uri element in schema locating files
  17. has been replaced by a more general pattern attribute. The
  18. transformURI element now has required fromPattern and toPattern
  19. attributes.
  20. The schema related bindings have been changed to use C-c C-s as a prefix
  21. as follows:
  22. C-c C-s => C-c C-s C-f (f for file)
  23. C-c C-a => C-c C-s C-a
  24. C-c C-t => C-c C-s C-t
  25. C-c C-l => C-c C-s C-l
  26. C-c C-w => C-c C-s C-w
  27. There's now an XML menu on the menu-bar.
  28. 20031031
  29. --------
  30. C-c C-d "dynamically" chooses a tag to put around the word before
  31. point, rather like M-/.
  32. The mechanism for locating the schema has changed completely. The new
  33. mechanism is described in the manual. Any existing customizations of
  34. `rng-auto-element-alist' or `rng-auto-file-name-alist' will no longer
  35. be effective.
  36. C-c C-a is now bound to rng-auto-set-schema.
  37. 20031018
  38. --------
  39. Unicode names can be used to insert characters with the new command
  40. C-c C-u. Normally, this inserts a character reference. With a prefix
  41. arg (i.e. C-u C-c C-u), it inserts the character directly. You can
  42. customize `nxml-enabled-unicode-blocks' to control what Unicode blocks
  43. are used for completing names.
  44. Extra information is displayed for character references. The Unicode
  45. name is displayed in a tooltip. A glyph for the referenced character
  46. is displayed in a distinguished face following the character
  47. reference; this can be disabled by customizing
  48. `nxml-char-ref-display-glyph-flag'. The command
  49. `nxml-toggle-char-ref-extra-display' dynamically toggles the display
  50. of extra information for character references for a particular buffer.
  51. This can be used if the display of extra information is causing
  52. performance problems. nXML mode tries to figure out which glyphs can
  53. be displayed. Unfortunately Emacs doesn't provide the primitives
  54. necessary to do this properly, so nXML mode has to guess and will
  55. sometimes guess wrong. The hook `nxml-glyph-set-hook' can be used to
  56. change nXML mode's guess.
  57. New command C-c C-w says what schema is being used.
  58. C-c C-s now turns on validation if it is not already on.
  59. 20030928
  60. --------
  61. M-q has been implemented so that it works reasonably with XML. Other
  62. paragraph-related commands (M-{, M-}, M-h) have also been implemented.
  63. New command M-x rng-auto-set-schema to set the schema based on the
  64. buffer's current contents and file-name. This is called automatically
  65. when rng-validate-mode is first enabled.
  66. There's now a C-M-d to go with C-M-u. C-M-d moves forward down into
  67. the content of an element. C-M-n and C-M-p move to the next or
  68. previous element.
  69. By default, the sexp commands (C-M-f, C-M-b, C-M-k, C-M-SPC) operate
  70. on tags rather than elements. To restore the old behavior,
  71. customize nxml-sexp-element-flag.
  72. The file TUTORIAL has been replaced by nxml-mode.info; this is in info
  73. format and can be read using Emacs. The source is maintained in a
  74. simple, ad-hoc XML format.
  75. 20030915
  76. --------
  77. XML encodings should now work properly. When saving a buffer,
  78. nxml-mode arranges to use the encoding declared in the XML
  79. declaration. If there is no encoding declared, then nxml-mode will
  80. use utf-8 or utf-16 according to the user options
  81. `nxml-prefer-utf-16-to-utf-8-flag' and
  82. `nxml-prefer-utf-16-little-to-big-endian-flag'. If the chosen encoding
  83. cannot encode all the characters in the buffer, nxml-mode will
  84. complain and give the user an opportunity to use an encoding that can.
  85. A new command C-c C-x inserts an XML declaration.
  86. The option `nxml-auto-insert-xml-declaration-flag' automatically
  87. inserts an XML declaration in new files.
  88. The `nxml-default-buffer-file-coding-system' option allows a different
  89. default buffer-file-coding-system for nXML mode buffers. This affects
  90. what XML declaration is inserted.
  91. Encoding names in XML declarations are now validated by
  92. rng-validate-mode.
  93. RDF/XML schema was updated to version in 05 September 2003 WD.
  94. 20030912
  95. --------
  96. The tutorial has a new section on inserting end-tags.
  97. By default </ no longer automatically inserts the rest of the end-tag.
  98. You can do
  99. M-x customize-variable RET nxml-slash-auto-complete-flag RET
  100. and then follow the instructions displayed in the buffer to get the
  101. old behavior.
  102. Completion after </ will complete the rest of the end-tag. Completion
  103. after < will include the end-tag in the possibilities if allowed by
  104. the schema.
  105. You can use C-c C-i instead of > to close the start-tag of an
  106. inline-level element. After inserting the >, it will insert the
  107. end-tag and leave point before the end-tag. The `i' is supposed to be
  108. mnemonic for `inline'. C-c C-b is similar, but for block elements: the
  109. start-tag, point and the end-tag will all be on separate lines.
  110. The binding for inserting an end-tag has changed from C-c / to C-c C-f
  111. to comply with Emacs guidelines about what keys major modes should
  112. bind. The `f' is supposed to be mnemonic for `finish'.
  113. Completion always puts point after all the characters it inserts. It
  114. doesn't insert a `>' after completing a start-tag name.
  115. Completion no longer completes CDATA section and comment delimiters.
  116. The nxml-start-auto-coding command enables auto-detection of a file's
  117. encoding as specified in the XML Recommendation for files that use
  118. nxml-mode; rng-auto.el calls this.
  119. 20030906
  120. --------
  121. Validation messages applicable to point are displayed automatically.
  122. Completion can deal with prefixes that haven't yet been declared.
  123. rng-preferred-prefix-alist variable added.
  124. Namespace URIs can be completed.
  125. xmlns and xmlns:* attributes can be completed.
  126. CDATA section and comment delimiters can be completed.
  127. Each kind of completion has its own history.
  128. Completion function moved to nxml-mode; uses a hook to allow
  129. schema-sensitive completion. Completion function bound to C-return.
  130. Also bound to M-TAB as before, unless
  131. nxml-bind-meta-tab-to-complete-flag is nil. When there is a window
  132. system, nxml-bind-meta-tab-to-complete-flag is nil by default, This
  133. avoid problems with M-TAB, which is not passed through by several
  134. window systems/managers.
  135. TUTORIAL file added.
  136. NEWS file added.
  137. Bug fixes.
  138. 20030901
  139. --------
  140. Initial release.