: Learning GNU Emacs, 3rd Edition



All the modes described in this chapter share a feature with the programming language modes such as Java mode and Lisp mode, which we discuss in Chapter 9. All these modes understand comments and use a single command, M-; (for indent-for-comment) to insert the appropriate comment syntax. Table 8-1 lists the comment syntax for the tools in this chapter.

Table8-1.Comments in markup modes

If you type M-; in: Emacs inserts:
HTML mode <!---->
HTML helper mode <!---->
SGML mode <!---->
nxml mode <!---->
psgml mode <!---->
LaTeX mode %% (on blank lines)
% (on lines with content)

: 0.099. /Cache: 0 / 2