aboutsummaryrefslogtreecommitdiffstats
path: root/man/programs.texi
diff options
context:
space:
mode:
authorStephen Eglen2005-01-10 18:30:55 +0000
committerStephen Eglen2005-01-10 18:30:55 +0000
commit054af0fd87413d2f9c826df25b571e7334385dad (patch)
tree51c9d1669be09100bb1c6cd391da57abf181098c /man/programs.texi
parentb748957a3a3fe178769826d3f12ca653fa3f3069 (diff)
downloademacs-054af0fd87413d2f9c826df25b571e7334385dad.tar.gz
emacs-054af0fd87413d2f9c826df25b571e7334385dad.zip
Re-read for factual correctness; some lisp functions had changed, and
a few minor additions were made to the text.
Diffstat (limited to 'man/programs.texi')
-rw-r--r--man/programs.texi25
1 files changed, 14 insertions, 11 deletions
diff --git a/man/programs.texi b/man/programs.texi
index c4efcf67f6c..9852bf88153 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -365,7 +365,7 @@ This key, if the keyboard has it, is another way to enter @kbd{C-j}.
365 The basic indentation command is @key{TAB}, which gives the current line 365 The basic indentation command is @key{TAB}, which gives the current line
366the correct indentation as determined from the previous lines. The 366the correct indentation as determined from the previous lines. The
367function that @key{TAB} runs depends on the major mode; it is 367function that @key{TAB} runs depends on the major mode; it is
368@code{indent-for-tab-command} 368@code{lisp-indent-line}
369in Lisp mode, @code{c-indent-command} in C mode, etc. These functions 369in Lisp mode, @code{c-indent-command} in C mode, etc. These functions
370understand the syntax and conventions of different languages, but they all do 370understand the syntax and conventions of different languages, but they all do
371conceptually the same job: @key{TAB} in any programming-language major mode 371conceptually the same job: @key{TAB} in any programming-language major mode
@@ -411,7 +411,7 @@ you have several commands available.
411 411
412@table @kbd 412@table @kbd
413@item C-M-q 413@item C-M-q
414Reindent all the lines within one parenthetical grouping(@code{indent-sexp}). 414Reindent all the lines within one parenthetical grouping(@code{indent-sexp}) .
415@item C-M-\ 415@item C-M-\
416Reindent all lines in the region (@code{indent-region}). 416Reindent all lines in the region (@code{indent-region}).
417@item C-u @key{TAB} 417@item C-u @key{TAB}
@@ -426,7 +426,7 @@ lines that start inside comments and strings.
426@findex indent-sexp 426@findex indent-sexp
427 You can reindent the contents of a single parenthetical grouping by 427 You can reindent the contents of a single parenthetical grouping by
428positioning point before the beginning of it and typing @kbd{C-M-q} 428positioning point before the beginning of it and typing @kbd{C-M-q}
429(@code{indent-sexp} in Lisp mode, @code{c-indent-exp} in C mode; also 429(@code{indent-pp-sexp} in Lisp mode, @code{c-indent-exp} in C mode; also
430bound to other suitable commands in other modes). The indentation of 430bound to other suitable commands in other modes). The indentation of
431the line where the grouping starts is not changed; therefore it 431the line where the grouping starts is not changed; therefore it
432changes only the relative indentation within the grouping, not its 432changes only the relative indentation within the grouping, not its
@@ -455,6 +455,7 @@ to them.
455region sideways, like @code{indent-rigidly} does (@pxref{Indentation 455region sideways, like @code{indent-rigidly} does (@pxref{Indentation
456Commands}). It doesn't alter the indentation of lines that start 456Commands}). It doesn't alter the indentation of lines that start
457inside a string, unless the region also starts inside that string. 457inside a string, unless the region also starts inside that string.
458The prefix arg specifies the number of columns to indent.
458 459
459@node Lisp Indent 460@node Lisp Indent
460@subsection Customizing Lisp Indentation 461@subsection Customizing Lisp Indentation
@@ -797,8 +798,9 @@ as in @samp{[x)}---a warning message is displayed in the echo area.
797@vindex blink-matching-paren 798@vindex blink-matching-paren
798@vindex blink-matching-paren-distance 799@vindex blink-matching-paren-distance
799@vindex blink-matching-delay 800@vindex blink-matching-delay
800 Three variables control parenthesis match display. 801 Three variables control parenthesis match display:
801@code{blink-matching-paren} turns the feature on or off: @code{nil} 802
803 @code{blink-matching-paren} turns the feature on or off: @code{nil}
802disables it, but the default is @code{t} to enable match display. 804disables it, but the default is @code{t} to enable match display.
803 805
804 @code{blink-matching-delay} says how many seconds to leave the 806 @code{blink-matching-delay} says how many seconds to leave the
@@ -1220,8 +1222,9 @@ v} uses the symbol name around or adjacent to point as its default.
1220mode constantly displays in the echo area the argument list for the 1222mode constantly displays in the echo area the argument list for the
1221function being called at point. (In other words, it finds the 1223function being called at point. (In other words, it finds the
1222function call that point is contained in, and displays the argument 1224function call that point is contained in, and displays the argument
1223list of that function.) Eldoc mode applies in Emacs Lisp and Lisp 1225list of that function.) If point is over a documented variable, it
1224Interaction modes only. Use the command @kbd{M-x eldoc-mode} to 1226shows the variable's docstring. Eldoc mode applies in Emacs Lisp and
1227Lisp Interaction modes only. Use the command @kbd{M-x eldoc-mode} to
1225enable or disable this feature. 1228enable or disable this feature.
1226 1229
1227@node Hideshow 1230@node Hideshow
@@ -1735,8 +1738,8 @@ click on @samp{[A]pply these settings} (or go to that buffer and type
1735@findex c-show-syntactic-information 1738@findex c-show-syntactic-information
1736@kindex C-c C-s @r{(C mode)} 1739@kindex C-c C-s @r{(C mode)}
1737Display the syntactic information about the current source line 1740Display the syntactic information about the current source line
1738(@code{c-show-syntactic-information}). This is the information that 1741(@code{c-show-syntactic-information}). This information directs how
1739directs how the line is indented. 1742the line is indented.
1740 1743
1741@item M-x cwarn-mode 1744@item M-x cwarn-mode
1742@itemx M-x global-cwarn-mode 1745@itemx M-x global-cwarn-mode
@@ -2063,7 +2066,7 @@ unless you have said in advance to do so. To do this, set the variable
2063 2066
2064@table @kbd 2067@table @kbd
2065@item M-; 2068@item M-;
2066Align comment or insert new comment (@code{fortran-comment-indent}). 2069Align comment or insert new comment (@code{fortran-indent-comment}).
2067 2070
2068@item C-x ; 2071@item C-x ;
2069Applies to nonstandard @samp{!} comments only. 2072Applies to nonstandard @samp{!} comments only.
@@ -2074,7 +2077,7 @@ into real code (@code{fortran-comment-region}).
2074@end table 2077@end table
2075 2078
2076 @kbd{M-;} in Fortran mode is redefined as the command 2079 @kbd{M-;} in Fortran mode is redefined as the command
2077@code{fortran-comment-indent}. Like the usual @kbd{M-;} command, this 2080@code{fortran-indent-comment}. Like the usual @kbd{M-;} command, this
2078recognizes any kind of existing comment and aligns its text appropriately; 2081recognizes any kind of existing comment and aligns its text appropriately;
2079if there is no existing comment, a comment is inserted and aligned. But 2082if there is no existing comment, a comment is inserted and aligned. But
2080inserting and aligning comments are not the same in Fortran mode as in 2083inserting and aligning comments are not the same in Fortran mode as in