Mercurial > emacs
annotate etc/schema/xhtml-bform.rnc @ 93937:dfe13eac745b
* minibuffer.el (minibuffer): Move group from cus-edit.el.
(completion-auto-help): Move from C code.
(minibuffer--maybe-completion-help): Remove.
(minibuffer--bitset): New function.
(minibuffer--do-completion): Rename from minibuffer-do-completion.
Renumber a bit. Really complete on string *before* point.
Add argument used for word-completion.
Join trailing / in completion with following text, as done in
minibuffer-complete-word.
Handle new value `lazy' for completion-auto-help.
(minibuffer-try-word-completion): New function extracted from
minibuffer-complete-word.
(minibuffer-complete-word): Use minibuffer--do-completion.
(minibuffer--insert-strings): Rename from
minibuffer-complete-insert-strings.
(exit-minibuffer): Fix typo.
* cus-edit.el (minibuffer): Move group to minibuffer.el.
* cus-start.el: Remove completion-auto-help.
* minibuf.c (Vcompletion_auto_help): Move to minibuffer.el.
(syms_of_minibuf): Remove its initialization.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 09 Apr 2008 19:33:56 +0000 |
parents | 9e48c9dc543f |
children |
rev | line source |
---|---|
87294
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
1 # Simplified Forms Module |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
2 |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
3 form = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
4 element form { |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
5 form.attlist, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
6 # Don't use Block.model, because this gets redefined by the |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
7 # legacy module. |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
8 Block.class+ |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
9 } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
10 form.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
11 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
12 attribute action { URI.datatype }, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
13 attribute method { "get" | "post" }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
14 attribute enctype { ContentType.datatype }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
15 label = element label { label.attlist, Inline.model } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
16 label.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
17 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
18 attribute for { IDREF.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
19 attribute accesskey { Character.datatype }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
20 input = element input { input.attlist } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
21 input.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
22 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
23 attribute type { InputType.class }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
24 attribute name { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
25 attribute value { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
26 attribute checked { "checked" }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
27 attribute size { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
28 attribute maxlength { Number.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
29 attribute src { URI.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
30 attribute accesskey { Character.datatype }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
31 InputType.class = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
32 "text" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
33 | "password" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
34 | "checkbox" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
35 | "radio" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
36 | "submit" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
37 | "reset" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
38 | "hidden" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
39 select = element select { select.attlist, option+ } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
40 select.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
41 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
42 attribute name { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
43 attribute size { Number.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
44 attribute multiple { "multiple" }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
45 option = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
46 element option { |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
47 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
48 attribute selected { "selected" }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
49 attribute value { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
50 text |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
51 } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
52 textarea = element textarea { textarea.attlist } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
53 textarea.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
54 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
55 attribute name { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
56 attribute rows { Number.datatype }, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
57 attribute cols { Number.datatype }, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
58 attribute accesskey { Character.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
59 text |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
60 Form.class = form |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
61 Formctrl.class = input | label | select | textarea |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
62 Block.class |= Form.class |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
63 Inline.class |= Formctrl.class |