Mercurial > emacs
comparison man/programs.texi @ 38122:4aeb215906f3
Proofreading fixes from Peter Milliken <Peter.Milliken@GTECH.COM>.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 20 Jun 2001 09:22:42 +0000 |
parents | c8bf8c704581 |
children | af8117970ca7 |
comparison
equal
deleted
inserted
replaced
38121:82d39521a482 | 38122:4aeb215906f3 |
---|---|
120 trouble to write. | 120 trouble to write. |
121 | 121 |
122 There are several forms of Lisp mode, which differ in the way they | 122 There are several forms of Lisp mode, which differ in the way they |
123 interface to Lisp execution. @xref{Executing Lisp}. | 123 interface to Lisp execution. @xref{Executing Lisp}. |
124 | 124 |
125 Major modes for programming languages usually provide conveniency | |
126 features such as syntax-sensitive indentation, syntax highlighting | |
127 (@pxref{Font Lock}), movement by blocks and functions, etc. | |
128 | |
125 Each of the programming language major modes defines the @key{TAB} key | 129 Each of the programming language major modes defines the @key{TAB} key |
126 to run an indentation function that knows the indentation conventions of | 130 to run an indentation function that knows the indentation conventions of |
127 that language and updates the current line's indentation accordingly. | 131 that language and updates the current line's indentation accordingly. |
128 For example, in C mode @key{TAB} is bound to @code{c-indent-command}. | 132 For example, in C mode @key{TAB} is bound to @code{c-indent-command}. |
129 @kbd{C-j} is normally defined to do @key{RET} followed by @key{TAB}; | 133 @kbd{C-j} is normally defined to do @key{RET} followed by @key{TAB}; |
141 | 145 |
142 Programming language modes define paragraphs to be separated only by | 146 Programming language modes define paragraphs to be separated only by |
143 blank lines, so that the paragraph commands remain useful. Auto Fill mode, | 147 blank lines, so that the paragraph commands remain useful. Auto Fill mode, |
144 if enabled in a programming language major mode, indents the new lines | 148 if enabled in a programming language major mode, indents the new lines |
145 which it creates. | 149 which it creates. |
150 | |
151 @xref{Choosing Modes}, for the description of how major modes are | |
152 activated. | |
146 | 153 |
147 @cindex mode hook | 154 @cindex mode hook |
148 @vindex c-mode-hook | 155 @vindex c-mode-hook |
149 @vindex lisp-mode-hook | 156 @vindex lisp-mode-hook |
150 @vindex emacs-lisp-mode-hook | 157 @vindex emacs-lisp-mode-hook |