Книга: Learning GNU Emacs, 3rd Edition

8.1 Comments

8.1 Comments

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.

Table 8-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.079. Запросов К БД/Cache: 0 / 2
поделиться
Вверх Вниз