Go to the first, previous, next, last section, table of contents.
With these commands you can make parts of the text temporarily invisible to make it easier to see the overall structure of your text.
When folding a region all the lines but the first will be invisible. The first line of the region will still be visible with an ellipsis at the end.
See section `Outline Mode' in The Emacs Editor.
sgml-fold-region
).
sgml-fold-element
).
This command can also fold the SGML declaration or the DOCTYPE
declaration.
sgml-fold-subelement
).
sgml-unfold-line
).
sgml-unfold-element
).
sgml-unfold-all
).
sgml-expand-element
). If the current element is folded this
expands what is visible.
*** Describe hide-tags
PSGML can highlight the markup giving the markup a different face
(see section `Using Multiple Typefaces' in The Emacs Editor).
The highlighting will only be done if the variable sgml-set-face
is non-nil
. The default settings make tags bold and comments
italic, but this can be modified with the variable
sgml-markup-faces
. When highlighting is on PSGML will parse after
every command until the whole buffer has been parsed or user event
occurs.
To remove the highlighting type M-x sgml-clear-faces.
(markup-type . face)
.
Possible values for markup-type is:
comment
doctype
end-tag
ignored
ms-start
ms-end
pi
sgml
start-tag
entity
shortref
Go to the first, previous, next, last section, table of contents.