annotate etc/NXML-NEWS @ 97279:76ed169d532c

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