Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
afe272389b
Silence nxml-mode.el compilation.
...
* lisp/nxml/nxml-mode.el: Require rng-nxml.
(rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
Remove declarations.
2010-12-02 19:13:24 -08:00
Glenn Morris
65beee5243
Remove leading `*' from nxml defcustom docs.
...
* lisp/nxml/nxml-mode.el, lisp/nxml/nxml-outln.el, lisp/nxml/rng-loc.el:
* lisp/nxml/rng-nxml.el, lisp/nxml/rng-valid.el:
Remove leading `*' from defcustom docs.
2010-12-02 19:10:25 -08:00
Sam Steingold
f7ca27a1ef
* lisp/nxml/nxml-mode.el (nxml-parent-document): Add a variable.
...
(nxml-parent-document-set): A function to set `nxml-parent-document'.
(nxml-mode): Define using `define-derived-mode' instead of `defun'.
(nxml-mode-hook): Remove `defcustom' (auto-defined by
define-derived-mode').
* lisp/nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
users who want to call `nxml-parent-document-set'.
2010-11-30 12:57:48 -05:00
Chong Yidong
8a79905db4
Bind "C-c ]" to block-closing commands in several modes.
...
Bind "C-c ]" to ...
* progmodes/f90.el (f90-mode-map): ... f90-insert-end.
* nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
* textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2010-10-23 20:21:59 -04:00
Stefan Monnier
b263a4c43f
* lisp/nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
...
Fixes: debbugs:6412
2010-06-13 21:43:11 -04:00
Chong Yidong
f8e6369193
* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
...
nxml-finish-element, for consistency with SGML mode.
* progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
octave-close-block.
2010-05-20 11:12:20 -04:00
Chong Yidong
eba5b4dd16
Reorganize Custom groups.
...
* cus-edit.el (processes): Remove from development group.
(oop, hypermedia): Delete group.
(net): New group.
* url/url-vars.el (url):
* net/browse-url.el (browse-url):
* net/xesam.el (xesam):
* net/tramp.el (tramp):
* net/goto-addr.el (goto-address):
* net/ange-ftp.el (ange-ftp): Put in net group.
* view.el (view): Remove from editing group.
* uniquify.el (uniquify): Put in files group.
* net/browse-url.el (browse-url):
* ps-print.el (postscript): Put in external group.
* cus-edit.el (outlines):
* textmodes/text-mode.el (text-mode-hook):
* textmodes/table.el (table):
* textmodes/picture.el (picture):
* outline.el (outlines): Put in wp group.
* nxml/nxml-mode.el (nxml): Remove from wp group.
* net/tramp-imap.el (tramp-imap): Put in tramp group.
* mail/metamail.el (metamail): Remove from hypermedia group.
* cus-edit.el (abbrev):
* whitespace.el (whitespace):
* vcursor.el (vcursor):
* reveal.el (reveal):
* hl-line.el (hl-line): Put in convenience group.
* epg-config.el (epg): Put in data group.
* emulation/pc-select.el (pc-select): Put in emulations group.
* calculator.el (calculator): Put in applications group.
* org/org.el (org): Remove from hypermedia group.
2010-03-12 12:47:22 -05:00
Chong Yidong
ff90f4b003
Minor tweaks to custom groups.
...
* cus-edit.el (hardware): Doc fix.
* man.el (man): Add to external custom group.
* delim-col.el (columns): Move to wp custom group.
* doc-view.el (doc-view): Add to data custom group.
* cedet/data-debug.el (data-debug): Move to extensions group.
* cedet/ede.el (ede):
* cedet/srecode.el (srecode):
* cedet/semantic.el (semantic): Put in tools and extensions group.
* nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
2010-02-16 09:35:45 -05:00
Chong Yidong
116bd1ee3b
Fix return value of nxml-extend-after-change-region.
...
* nxml/nxml-mode.el (nxml-extend-after-change-region): Never return t (Bug#3898).
2010-01-16 17:24:05 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
ba07c9ad6c
* nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
...
of xmltok-start before the end tag was inserted (Bug#2840).
2009-10-24 21:32:19 +00:00
Chong Yidong
e477ca8496
* nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
...
* textmodes/sgml-mode.el: Remove xml-mode alias.
* files.el (auto-mode-alist, conf-mode-maybe)
(magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21
changes.
2009-09-24 23:22:17 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Glenn Morris
2da6792633
Lennart Borgman <lennart.borgman at gmail.com>
...
(nxml-indent-line): Don't re-indent lines that already have the
correct indentation. (Bug#859)
2008-12-02 03:32:41 +00:00
Juanma Barranquero
10545bd83d
Fix typos, and general docstring cleanup.
...
* nxml/nxml-glyph.el (nxml-glyph-set-hook):
* nxml/nxml-uchnm.el (nxml-unicode-blocks)
(nxml-unicode-block-char-name-set):
* nxml/nxml-util.el (nxml-debug, nxml-make-namespace):
* nxml/rng-nxml.el (rng-set-state-after):
* nxml/rng-uri.el (rng-file-name-uri): Fix typo in docstring.
* nxml/rng-cmpct.el (rng-c-lookup-create, rng-c-parse-primary)
(rng-c-parse-annotation-body):
* nxml/rng-dt.el (rng-dt-namespace-context-getter): Reflow docstrings.
* nxml/nxml-mode.el (nxml, nxml-mode, nxml-after-change1)
(nxml-extend-region, nxml-merge-indent-context-type, nxml-complete)
(nxml-forward-balanced-item, nxml-dynamic-markup-word)
(nxml-define-char-name-set, nxml-toggle-char-ref-extra-display):
Fix typos in docstrings.
(nxml-attribute-indent): Reflow docstring.
(nxml-bind-meta-tab-to-complete-flag, nxml-last-fontify-end)
(nxml-default-buffer-file-coding-system): Doc fixes.
* nxml/nxml-ns.el (nxml-ns-state, nxml-ns-initial-state)
(nxml-ns-set-prefix): Fix typos in docstrings.
(nxml-ns-push-state, nxml-ns-pop-state, nxml-ns-set-default):
Reflow docstring.
(nxml-ns-get-prefix, nxml-ns-get-default): Doc fixes.
* nxml/nxml-outln.el (nxml-hide-all-text-content)
(nxml-show-direct-text-content, nxml-show-direct-subheadings)
(nxml-hide-direct-text-content, nxml-hide-subheadings)
(nxml-hide-text-content, nxml-show-subheadings, nxml-hide-other)
(nxml-outline-display-rest, nxml-outline-set-overlay)
(nxml-section-tag-forward, nxml-section-tag-backward)
(nxml-back-to-section-start): Fix typos in docstrings.
* nxml/nxml-parse.el (nxml-validate-function, nxml-parse-file):
Doc fixes.
* nxml/nxml-rap.el (nxml-scan-end, nxml-move-tag-backwards)
(nxml-scan-element-forward, nxml-scan-element-backward): Doc fixes.
(nxml-scan-after-change): Fix typo in docstring.
* nxml/rng-match.el (rng-being-compiled, rng-normalize-choice-list)
(rng-name-class-possible-names): Doc fixes.
(rng-memo-map-add, rng-intern-group, rng-match-possible-namespace-uris)
(rng-match-possible-start-tag-names, rng-match-possible-value-strings):
Fix typos in docstrings.
(rng-intern-group-shortcut, rng-intern-choice-shortcut):
Reflow docstrings.
* nxml/rng-util.el (rng-uniquify-eq, rng-uniquify-equal): Doc fixes.
(rng-substq, rng-complete-before-point): Fix typos in docstrings.
* nxml/rng-xsd.el (rng-xsd-make-date-time-regexp)
(rng-xsd-convert-date-time): Reflow docstrings.
(rng-xsd-compile): Fix typo in docstring.
* nxml/rng-loc.el (rng-current-schema-file-name)
(rng-locate-schema-file-using, rng-locate-schema-file-from-type-id):
Doc fixes.
(rng-set-schema-file): Fix typo in docstring.
* nxml/rng-valid.el (rng-error-count, rng-validate-mode)
(rng-do-some-validation, rng-process-start-tag, rng-process-text):
Fix typos in docstrings.
(rng-message-overlay, rng-conditional-up-to-date-start)
(rng-conditional-up-to-date-end): Doc fixes.
(rng-next-error, rng-previous-error): Reflow docstrings.
* nxml/xmltok.el (xmltok-attribute-raw-normalized-value): Doc fix.
(xmltok-dtd, xmltok-dependent-regions, xmltok-attribute-refs)
(xmltok-valid-char-p, xmltok-standalone, xmltok-forward-prolog)
(xmltok-merge-attributes): Fix typos in docstrings.
(xmltok-make-attribute, xmltok-forward-special)
(xmltok-get-declared-encoding-position): Reflow docstrings.
* nxml/xsd-regexp.el (xsdre-char-class-to-range-list): Doc fix.
(xsdre-range-list-union, xsdre-check-range-list, xsdre-current-regexp):
Fix typos in docstrings.
2008-07-03 12:25:23 +00:00
Glenn Morris
9c8dd25e48
Require 'cl when compiling.
2008-06-21 20:32:42 +00:00
Jason Rumney
a3b0cc1b2d
(nxml-mode): Use run-mode-hooks.
2008-06-16 10:30:31 +00:00
Michael Olson
e8ec402f1b
nXML: Use font lock
2008-06-06 16:14:49 +00:00
Glenn Morris
4936186e9c
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 04:29:13 +00:00
Jason Rumney
44e8d8d318
2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
...
* nxml/nxml-mode.el (nxml-cleanup): New function.
(nxml-mode): Add it to change-major-mode-hook.
2008-04-09 14:28:36 +00:00
Jason Rumney
4d42bcc9b8
(nxml-mode): Don't add a write-contents-hook.
2008-02-18 02:04:38 +00:00
Stefan Monnier
7d7d1bb69d
(nxml-mode): Use mode-line-process to indicate the use of degraded mode.
...
(nxml-degrade): Don't change mode-name.
2008-01-16 16:17:53 +00:00
Jason Rumney
839087fe8a
(nxml-enable-unicode-char-name-sets, rng-nxml-mode-init): Declare.
2008-01-12 12:30:05 +00:00
Jason Rumney
b85b660458
(nxml-char-name-ignore-case): Change default value.
...
(nxml-mode): Call nxml-enable-unicode-char-name-sets directly.
2008-01-11 16:01:26 +00:00
Jason Rumney
6bd1e22385
(nxml-mode): Call rng-nxml-mode-init directly.
...
Update doc string and commentary.
2008-01-11 15:12:17 +00:00
Glenn Morris
dcb8ac09ea
Add 2008 to copyright years.
2008-01-09 04:31:51 +00:00
Jason Rumney
92bbfd0ded
(nxml-faces): Rename from nxml-highlighting-faces.
...
Parent group is font-lock-faces.
(nxml-light-blue-color, nxml-dark-blue-color, nxml-green-color)
(nxml-sky-blue-color, nxml-dark-green-color, nxml-light-green-color):
(nxml-version): Remove.
(nxml-delimited-data, nxml-name, nxml-ref, nxml-delimiter)
(nxml-text, nxml-comment-content, nxml-comment-delimiter)
(nxml-processing-instruction-delimiter)
(nxml-processing-instruction-target)
(nxml-processing-instruction-content, nxml-cdata-section-delimiter)
(nxml-cdata-section-CDATA, nxml-cdata-section-content)
(nxml-char-ref-number, nxml-char-ref-delimiter, nxml-entity-ref-name)
(nxml-entity-ref-delimiter, nxml-tag-delimiter, nxml-tag-slash)
(nxml-element-prefix, nxml-element-colon, nxml-element-local-name)
(nxml-attribute-prefix, nxml-attribute-colon)
(nxml-attribute-local-name, nxml-namespace-attribute-xmlns)
(nxml-namespace-attribute-colon, nxml-namespace-attribute-prefix)
(nxml-attribute-value, nxml-attribute-value-delimiter)
(nxml-namespace-attibute-value)
(nxml-namespace-attribure-value-delimiter)
(nxml-prolog-literal-delimiter, nxml-prolog-literal-content)
(nxml-prolog-keyword, nxml-markup-declaration-delimiter, nxml-hash)
(nxml-glyph): Rename, removing -face suffix.
Inherit from existing font-lock faces.
(nxml-apply-fontify-rule, nxml-char-ref-display-extra):
Use new face names.
2007-12-20 15:19:09 +00:00
Glenn Morris
e290ff0760
Add 2007 to copyright years.
...
Switch license to standard GPLv3+ text.
(nxml-get-char-name, nxml-insert-named-char): Use mapc rather than mapcar.
2007-11-28 04:08:30 +00:00
Miles Bader
ab4c34c626
Add arch tagline
2007-11-23 22:49:40 +00:00
Mark A. Hershberger
8cd39fb3c4
Initial merge of nxml
2007-11-23 06:58:00 +00:00