]> code.delx.au - gnu-emacs/blobdiff - man/text.texi
Remove obsolete comment about lack of image support on MS-Windows
[gnu-emacs] / man / text.texi
index 629de41c39437854776eee6608ce25db1cee35f4..d80cb087a8fe42d8153361f9cc9980baa131c35f 100644 (file)
@@ -50,6 +50,10 @@ Then the formatting appears on the screen in Emacs while you edit.
 @xref{Formatted Text}.
 @end iftex
 
+@cindex skeletons
+@cindex templates
+@cindex autotyping
+@cindex automatic typing
   The ``automatic typing'' features may be useful when writing text.
 @xref{Top,, Autotyping, autotype, Features for Automatic Typing}.
 
@@ -63,7 +67,7 @@ Then the formatting appears on the screen in Emacs while you edit.
 * 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.
+* 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
@@ -1138,9 +1142,12 @@ leading up from there to top level in the outline).
 setting @code{selective-display-ellipses} to @code{nil}.  Then there is
 no visible indication of the presence of invisible lines.
 
+@findex reveal-mode
   When incremental search finds text that is hidden by Outline mode,
 it makes that part of the buffer visible.  If you exit the search
-at that position, the text remains visible.
+at that position, the text remains visible.  You can also
+automatically make text visible as you navigate in it by using
+@kbd{M-x reveal-mode}.
 
 @node Outline Views
 @subsection Viewing One Outline in Multiple Views
@@ -1653,7 +1660,7 @@ required.  This is set up for Czech---customize the group
 Ref@TeX{}.  @xref{Top, , RefTeX, reftex}.
 
 @node HTML Mode
-@section SGML and HTML Modes
+@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,7 +1726,9 @@ the tag at point.
 @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}).
+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)}
@@ -1733,6 +1742,12 @@ characters themselves (@code{sgml-name-8bit-mode}).
 @findex sgml-validate
 Run a shell command (which you must specify) to validate the current
 buffer as SGML (@code{sgml-validate}).
+
+@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.
 @end table
 
 @vindex sgml-xml-mode
@@ -1741,7 +1756,7 @@ must have an explicit closing tag.  When @code{sgml-xml-mode} is
 non-@code{nil}, 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
+accordingly, so that they do the right thing for the file in either
 case.
 
 @node Nroff Mode