Mercurial > emacs
comparison man/programs.texi @ 34122:c42bb7d4437b
Don't tell that show-paren only works on X. Explain how to customize
it. Add an index entry.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 02 Dec 2000 15:48:44 +0000 |
parents | b00126124976 |
children | eb9ce988e870 |
comparison
equal
deleted
inserted
replaced
34121:8ac4f972b03f | 34122:c42bb7d4437b |
---|---|
1184 the match is not found in that far, scanning stops, and nothing is | 1184 the match is not found in that far, scanning stops, and nothing is |
1185 displayed. This is to prevent scanning for the matching delimiter from | 1185 displayed. This is to prevent scanning for the matching delimiter from |
1186 wasting lots of time when there is no match. The default is 12,000. | 1186 wasting lots of time when there is no match. The default is 12,000. |
1187 | 1187 |
1188 @cindex Show Paren mode | 1188 @cindex Show Paren mode |
1189 @cindex highlighting matching parentheses | |
1189 @findex show-paren-mode | 1190 @findex show-paren-mode |
1190 When using X Windows, you can request a more powerful alternative kind | 1191 You can also request a more powerful alternative kind of automatic |
1191 of automatic parenthesis matching by enabling Show Paren mode. This | 1192 parenthesis matching by enabling Show Paren mode. This mode turns off |
1192 mode turns off the usual kind of matching parenthesis display and | 1193 the usual kind of matching parenthesis display and instead uses |
1193 instead uses highlighting to show what matches. Whenever point is after | 1194 highlighting to show what matches. Whenever point is after a close |
1194 a close parenthesis, the close parenthesis and its matching open | 1195 parenthesis, the close parenthesis and its matching open parenthesis are |
1195 parenthesis are both highlighted; otherwise, if point is before an open | 1196 both highlighted; otherwise, if point is before an open parenthesis, the |
1196 parenthesis, the matching close parenthesis is highlighted. (There is | 1197 matching close parenthesis is highlighted. (There is no need to |
1197 no need to highlight the open parenthesis after point because the cursor | 1198 highlight the open parenthesis after point because the cursor appears on |
1198 appears on top of that character.) Use the command @kbd{M-x | 1199 top of that character.) Use the command @kbd{M-x show-paren-mode} to |
1199 show-paren-mode} to enable or disable this mode. | 1200 enable or disable this mode. |
1201 | |
1202 By default, @code{show-paren-mode} uses colors to highlight the | |
1203 parentheses. However, if your display doesn't support colors, you can | |
1204 customize the faces @code{show-paren-match-face} and | |
1205 @code{show-paren-mismatch-face} to use other attributes, such as bold or | |
1206 underline. @xref{Face Customization}. | |
1200 | 1207 |
1201 @node Comments | 1208 @node Comments |
1202 @section Manipulating Comments | 1209 @section Manipulating Comments |
1203 @cindex comments | 1210 @cindex comments |
1204 | 1211 |