[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/text.texi
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/man/text.texi |
Date: |
Mon, 15 Jul 2002 17:04:59 -0400 |
Index: emacs/man/text.texi
diff -c emacs/man/text.texi:1.32 emacs/man/text.texi:1.33
*** emacs/man/text.texi:1.32 Sun Jul 7 21:06:54 2002
--- emacs/man/text.texi Mon Jul 15 17:04:59 2002
***************
*** 63,69 ****
* Text Mode:: The major modes for editing text files.
* Outline Mode:: Editing outlines.
* TeX Mode:: Editing input to the formatter TeX.
! * HTML Mode:: Editing HTML files.
* Nroff Mode:: Editing input to the formatter nroff.
* Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
@end menu
--- 63,69 ----
* Text Mode:: The major modes for editing text files.
* Outline Mode:: Editing outlines.
* TeX Mode:: Editing input to the formatter TeX.
! * HTML Mode:: Editing HTML, SGML, and XML files.
* Nroff Mode:: Editing input to the formatter nroff.
* Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
@end menu
***************
*** 1653,1659 ****
address@hidden @xref{Top, , RefTeX, reftex}.
@node HTML Mode
! @section SGML and HTML Modes
The major modes for SGML and HTML include indentation support and
commands to operate on tags. This section describes the special
--- 1653,1659 ----
address@hidden @xref{Top, , RefTeX, reftex}.
@node HTML Mode
! @section SGML, XML, and HTML Modes
The major modes for SGML and HTML include indentation support and
commands to operate on tags. This section describes the special
***************
*** 1719,1725 ****
@item C-c /
@kindex C-c / @r{(SGML mode)}
@findex sgml-close-tag
! Insert a close tag for the innermost unterminated tag (@code{sgml-close-tag}).
@item C-c 8
@kindex C-c 8 @r{(SGML mode)}
--- 1719,1727 ----
@item C-c /
@kindex C-c / @r{(SGML mode)}
@findex sgml-close-tag
! Insert a close tag for the innermost unterminated tag
! (@code{sgml-close-tag}). If called from within a tag or a comment,
! close this element instead of inserting a close tag.
@item C-c 8
@kindex C-c 8 @r{(SGML mode)}
***************
*** 1735,1747 ****
buffer as SGML (@code{sgml-validate}).
@end table
@vindex sgml-xml-mode
SGML mode and HTML mode support XML also. In XML, every opening tag
must have an explicit closing tag. When @code{sgml-xml-mode} is
address@hidden, SGML mode (and HTML mode) always insert explicit
closing tags. When you visit a file, these modes determine from the
file contents whether it is XML or not, and set @code{sgml-xml-mode}
! accordingly, so that they does the right thing for the file in either
case.
@node Nroff Mode
--- 1737,1755 ----
buffer as SGML (@code{sgml-validate}).
@end table
+ @item C-x TAB
+ @kindex C-c TAB @r{(SGML mode)}
+ @findex sgml-tags-invisible
+ Toggle the visibility of existing tags in the buffer. This can be
+ used as a cheap preview.
+
@vindex sgml-xml-mode
SGML mode and HTML mode support XML also. In XML, every opening tag
must have an explicit closing tag. When @code{sgml-xml-mode} is
address@hidden, SGML mode (and HTML mode) always insert explicit
closing tags. When you visit a file, these modes determine from the
file contents whether it is XML or not, and set @code{sgml-xml-mode}
! accordingly, so that they do the right thing for the file in either
case.
@node Nroff Mode