aboutsummaryrefslogtreecommitdiffstats
path: root/man/programs.texi
diff options
context:
space:
mode:
authorStephen Eglen2005-01-05 13:16:22 +0000
committerStephen Eglen2005-01-05 13:16:22 +0000
commitea118de12160ad6265bf6590bc274f61aee1a162 (patch)
tree983f2b6b254b8f5a6d261b3f1c5b017d534fd7d5 /man/programs.texi
parent4829145ae3968cd905f9b20cab0a53b93cb777d4 (diff)
downloademacs-ea118de12160ad6265bf6590bc274f61aee1a162.tar.gz
emacs-ea118de12160ad6265bf6590bc274f61aee1a162.zip
Minor typos corrected, and some small re-wording.
Diffstat (limited to 'man/programs.texi')
-rw-r--r--man/programs.texi50
1 files changed, 25 insertions, 25 deletions
diff --git a/man/programs.texi b/man/programs.texi
index abe0083b39e..c4efcf67f6c 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -17,10 +17,10 @@ Find or move over top-level definitions (@pxref{Defuns}).
17Apply the usual indentation conventions of the language 17Apply the usual indentation conventions of the language
18(@pxref{Program Indent}). 18(@pxref{Program Indent}).
19@item 19@item
20Insert, kill or align comments (@pxref{Comments}).
21@item
22Balance parentheses (@pxref{Parentheses}). 20Balance parentheses (@pxref{Parentheses}).
23@item 21@item
22Insert, kill or align comments (@pxref{Comments}).
23@item
24Highlight program syntax (@pxref{Font Lock}). 24Highlight program syntax (@pxref{Font Lock}).
25@end itemize 25@end itemize
26 26
@@ -81,7 +81,7 @@ and you can select it by typing @kbd{M-x @var{l}-mode @key{RET}}.
81@cindex PostScript mode 81@cindex PostScript mode
82 The existing programming language major modes include Lisp, Scheme (a 82 The existing programming language major modes include Lisp, Scheme (a
83variant of Lisp) and the Scheme-based DSSSL expression language, Ada, 83variant of Lisp) and the Scheme-based DSSSL expression language, Ada,
84AWK, C, C++, Delphi (Object Pascal), Fortran (free format and fixed 84ASM, AWK, C, C++, Delphi (Object Pascal), Fortran (free format and fixed
85format), Icon, IDL (CORBA), IDLWAVE, Java, Metafont (@TeX{}'s 85format), Icon, IDL (CORBA), IDLWAVE, Java, Metafont (@TeX{}'s
86companion for font creation), Modula2, Objective-C, Octave, Pascal, 86companion for font creation), Modula2, Objective-C, Octave, Pascal,
87Perl, Pike, PostScript, Prolog, Simula, Tcl, and VHDL. There is 87Perl, Pike, PostScript, Prolog, Simula, Tcl, and VHDL. There is
@@ -316,11 +316,11 @@ buffer.
316@vindex which-func-modes 316@vindex which-func-modes
317 To enable (or disable) Which Function mode, use the command @kbd{M-x 317 To enable (or disable) Which Function mode, use the command @kbd{M-x
318which-function-mode}. This command is global; it applies to all 318which-function-mode}. This command is global; it applies to all
319buffers, both existing ones and those yet to be created. However, 319buffers, both existing ones and those yet to be created. However, it
320it only takes effect in certain major modes, those listed in the value of 320takes effect in only certain major modes, those listed in the value of
321@code{which-func-modes}. If the value is @code{t}, then Which 321@code{which-func-modes}. If the value is @code{t}, then Which Function
322Function mode applies to all major modes that know how to support 322mode applies to all major modes that know how to support it---in other
323it---in other words, all the major modes that support Imenu. 323words, all the major modes that support Imenu.
324 324
325@node Program Indent 325@node Program Indent
326@section Indentation for Programs 326@section Indentation for Programs
@@ -428,7 +428,7 @@ lines that start inside comments and strings.
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-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, this 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
433overall indentation. To correct that as well, type @key{TAB} first. 433overall indentation. To correct that as well, type @key{TAB} first.
434 434
@@ -638,7 +638,7 @@ expression in Lisp.}.
638@item C-M-f 638@item C-M-f
639Move forward over a balanced expression (@code{forward-sexp}). 639Move forward over a balanced expression (@code{forward-sexp}).
640@item C-M-b 640@item C-M-b
641Move backward over a balanced expression(@code{backward-sexp}). 641Move backward over a balanced expression (@code{backward-sexp}).
642@item C-M-k 642@item C-M-k
643Kill balanced expression forward (@code{kill-sexp}). 643Kill balanced expression forward (@code{kill-sexp}).
644@item C-M-t 644@item C-M-t
@@ -746,7 +746,7 @@ groupings are lists.
746@item C-M-n 746@item C-M-n
747Move forward over a parenthetical group (@code{forward-list}). 747Move forward over a parenthetical group (@code{forward-list}).
748@item C-M-p 748@item C-M-p
749Move backward over a parenthetical group(@code{backward-list}). 749Move backward over a parenthetical group (@code{backward-list}).
750@item C-M-u 750@item C-M-u
751Move up in parenthesis structure (@code{backward-up-list}). 751Move up in parenthesis structure (@code{backward-up-list}).
752@item C-M-d 752@item C-M-d
@@ -1142,7 +1142,7 @@ for ``w/o (without) man,'' since it doesn't use the @code{man}
1142program.}. Unlike @kbd{M-x man}, it does not run any external 1142program.}. Unlike @kbd{M-x man}, it does not run any external
1143programs to format and display the man pages; instead it does the job 1143programs to format and display the man pages; instead it does the job
1144in Emacs Lisp, so it works on systems such as MS-Windows, where the 1144in Emacs Lisp, so it works on systems such as MS-Windows, where the
1145@code{man} program (and the other programs it uses) are not generally 1145@code{man} program (and other programs it uses) are not generally
1146available. 1146available.
1147 1147
1148 @kbd{M-x woman} prompts for a name of a manual page, and provides 1148 @kbd{M-x woman} prompts for a name of a manual page, and provides
@@ -1259,9 +1259,9 @@ Hide the current block (@code{hs-hide-block}).
1259@item C-c @@ C-s 1259@item C-c @@ C-s
1260Show the current block (@code{hs-show-block}). 1260Show the current block (@code{hs-show-block}).
1261@item C-c @@ C-c 1261@item C-c @@ C-c
1262Either hide or show the current block (@code{hs-toggle-hiding}) 1262Either hide or show the current block (@code{hs-toggle-hiding}).
1263@item S-Mouse-2 1263@item S-Mouse-2
1264Either hide or show the block you click on (@code{hs-mouse-toggle-hiding}) 1264Either hide or show the block you click on (@code{hs-mouse-toggle-hiding}).
1265@item C-c @@ C-M-h 1265@item C-c @@ C-M-h
1266Hide all top-level blocks (@code{hs-hide-all}). 1266Hide all top-level blocks (@code{hs-hide-all}).
1267@item C-c @@ C-M-s 1267@item C-c @@ C-M-s
@@ -1282,7 +1282,7 @@ Non-@code{nil} says that @kbd{hs-hide-all} should hide comments too.
1282 1282
1283@item hs-isearch-open 1283@item hs-isearch-open
1284Specifies what kind of hidden blocks to open in Isearch mode. 1284Specifies what kind of hidden blocks to open in Isearch mode.
1285The value should be one of these four symbols. 1285The value should be one of these four symbols:
1286 1286
1287@table @code 1287@table @code
1288@item code 1288@item code
@@ -1958,16 +1958,15 @@ through 4. (Columns always count from 0 in GNU Emacs.)
1958 Line numbers of four digits or less are normally indented one space. 1958 Line numbers of four digits or less are normally indented one space.
1959The variable @code{fortran-line-number-indent} controls this; it 1959The variable @code{fortran-line-number-indent} controls this; it
1960specifies the maximum indentation a line number can have. Line numbers 1960specifies the maximum indentation a line number can have. Line numbers
1961are indented to right-justify them to end in column 4 unless that would 1961are right-justified to end in column 4 unless that would require more
1962require more than this maximum indentation. The default value of the 1962than this maximum indentation. The default value of the variable is 1.
1963variable is 1.
1964 1963
1965@vindex fortran-electric-line-number 1964@vindex fortran-electric-line-number
1966 Simply inserting a line number is enough to indent it according to 1965 Simply inserting a line number is enough to indent it according to
1967these rules. As each digit is inserted, the indentation is recomputed. 1966these rules. As each digit is inserted, the indentation is recomputed.
1968To turn off this feature, set the variable 1967To turn off this feature, set the variable
1969@code{fortran-electric-line-number} to @code{nil}. Then inserting line 1968@code{fortran-electric-line-number} to @code{nil}.
1970numbers is like inserting anything else. 1969
1971 1970
1972@node ForIndent Conv 1971@node ForIndent Conv
1973@subsubsection Syntactic Conventions 1972@subsubsection Syntactic Conventions
@@ -2111,7 +2110,7 @@ Align the text as if it were a line of code, but with an additional
2111@code{fortran-comment-line-extra-indent} columns of indentation. 2110@code{fortran-comment-line-extra-indent} columns of indentation.
2112 2111
2113@item nil 2112@item nil
2114Don't move text in full-line comments automatically at all. 2113Don't move text in full-line comments automatically.
2115@end table 2114@end table
2116 2115
2117@vindex fortran-comment-indent-char 2116@vindex fortran-comment-indent-char
@@ -2223,12 +2222,13 @@ Fortran.
2223 2222
2224@vindex fortran-column-ruler-fixed 2223@vindex fortran-column-ruler-fixed
2225@vindex fortran-column-ruler-tabs 2224@vindex fortran-column-ruler-tabs
2226 The text used to display the column ruler depends on the value of 2225 The text used to display the column ruler depends on the value of the
2227the variable @code{indent-tabs-mode}. If @code{indent-tabs-mode} is 2226variable @code{indent-tabs-mode}. If @code{indent-tabs-mode} is
2228@code{nil}, then the value of the variable 2227@code{nil}, then the value of the variable
2229@code{fortran-column-ruler-fixed} is used as the column ruler. 2228@code{fortran-column-ruler-fixed} is used as the column ruler.
2230Otherwise, the variable @code{fortran-column-ruler-tab} is displayed. 2229Otherwise, the value of the variable @code{fortran-column-ruler-tab} is
2231By changing these variables, you can change the column ruler display. 2230displayed. By changing these variables, you can change the column ruler
2231display.
2232 2232
2233@kindex C-c C-w @r{(Fortran mode)} 2233@kindex C-c C-w @r{(Fortran mode)}
2234@findex fortran-window-create-momentarily 2234@findex fortran-window-create-momentarily