diff options
| author | Stephen Eglen | 2005-01-05 13:16:22 +0000 |
|---|---|---|
| committer | Stephen Eglen | 2005-01-05 13:16:22 +0000 |
| commit | ea118de12160ad6265bf6590bc274f61aee1a162 (patch) | |
| tree | 983f2b6b254b8f5a6d261b3f1c5b017d534fd7d5 /man/programs.texi | |
| parent | 4829145ae3968cd905f9b20cab0a53b93cb777d4 (diff) | |
| download | emacs-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.texi | 50 |
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}). | |||
| 17 | Apply the usual indentation conventions of the language | 17 | Apply the usual indentation conventions of the language |
| 18 | (@pxref{Program Indent}). | 18 | (@pxref{Program Indent}). |
| 19 | @item | 19 | @item |
| 20 | Insert, kill or align comments (@pxref{Comments}). | ||
| 21 | @item | ||
| 22 | Balance parentheses (@pxref{Parentheses}). | 20 | Balance parentheses (@pxref{Parentheses}). |
| 23 | @item | 21 | @item |
| 22 | Insert, kill or align comments (@pxref{Comments}). | ||
| 23 | @item | ||
| 24 | Highlight program syntax (@pxref{Font Lock}). | 24 | Highlight 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 |
| 83 | variant of Lisp) and the Scheme-based DSSSL expression language, Ada, | 83 | variant of Lisp) and the Scheme-based DSSSL expression language, Ada, |
| 84 | AWK, C, C++, Delphi (Object Pascal), Fortran (free format and fixed | 84 | ASM, AWK, C, C++, Delphi (Object Pascal), Fortran (free format and fixed |
| 85 | format), Icon, IDL (CORBA), IDLWAVE, Java, Metafont (@TeX{}'s | 85 | format), Icon, IDL (CORBA), IDLWAVE, Java, Metafont (@TeX{}'s |
| 86 | companion for font creation), Modula2, Objective-C, Octave, Pascal, | 86 | companion for font creation), Modula2, Objective-C, Octave, Pascal, |
| 87 | Perl, Pike, PostScript, Prolog, Simula, Tcl, and VHDL. There is | 87 | Perl, 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 |
| 318 | which-function-mode}. This command is global; it applies to all | 318 | which-function-mode}. This command is global; it applies to all |
| 319 | buffers, both existing ones and those yet to be created. However, | 319 | buffers, both existing ones and those yet to be created. However, it |
| 320 | it only takes effect in certain major modes, those listed in the value of | 320 | takes 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 |
| 322 | Function mode applies to all major modes that know how to support | 322 | mode applies to all major modes that know how to support it---in other |
| 323 | it---in other words, all the major modes that support Imenu. | 323 | words, 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. | |||
| 428 | positioning point before the beginning of it and typing @kbd{C-M-q} | 428 | positioning 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 |
| 430 | bound to other suitable commands in other modes). The indentation of | 430 | bound to other suitable commands in other modes). The indentation of |
| 431 | the line where the grouping starts is not changed; therefore, this | 431 | the line where the grouping starts is not changed; therefore it |
| 432 | changes only the relative indentation within the grouping, not its | 432 | changes only the relative indentation within the grouping, not its |
| 433 | overall indentation. To correct that as well, type @key{TAB} first. | 433 | overall 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 |
| 639 | Move forward over a balanced expression (@code{forward-sexp}). | 639 | Move forward over a balanced expression (@code{forward-sexp}). |
| 640 | @item C-M-b | 640 | @item C-M-b |
| 641 | Move backward over a balanced expression(@code{backward-sexp}). | 641 | Move backward over a balanced expression (@code{backward-sexp}). |
| 642 | @item C-M-k | 642 | @item C-M-k |
| 643 | Kill balanced expression forward (@code{kill-sexp}). | 643 | Kill 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 |
| 747 | Move forward over a parenthetical group (@code{forward-list}). | 747 | Move forward over a parenthetical group (@code{forward-list}). |
| 748 | @item C-M-p | 748 | @item C-M-p |
| 749 | Move backward over a parenthetical group(@code{backward-list}). | 749 | Move backward over a parenthetical group (@code{backward-list}). |
| 750 | @item C-M-u | 750 | @item C-M-u |
| 751 | Move up in parenthesis structure (@code{backward-up-list}). | 751 | Move 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} | |||
| 1142 | program.}. Unlike @kbd{M-x man}, it does not run any external | 1142 | program.}. Unlike @kbd{M-x man}, it does not run any external |
| 1143 | programs to format and display the man pages; instead it does the job | 1143 | programs to format and display the man pages; instead it does the job |
| 1144 | in Emacs Lisp, so it works on systems such as MS-Windows, where the | 1144 | in 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 |
| 1146 | available. | 1146 | available. |
| 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 |
| 1260 | Show the current block (@code{hs-show-block}). | 1260 | Show the current block (@code{hs-show-block}). |
| 1261 | @item C-c @@ C-c | 1261 | @item C-c @@ C-c |
| 1262 | Either hide or show the current block (@code{hs-toggle-hiding}) | 1262 | Either hide or show the current block (@code{hs-toggle-hiding}). |
| 1263 | @item S-Mouse-2 | 1263 | @item S-Mouse-2 |
| 1264 | Either hide or show the block you click on (@code{hs-mouse-toggle-hiding}) | 1264 | Either 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 |
| 1266 | Hide all top-level blocks (@code{hs-hide-all}). | 1266 | Hide 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 |
| 1284 | Specifies what kind of hidden blocks to open in Isearch mode. | 1284 | Specifies what kind of hidden blocks to open in Isearch mode. |
| 1285 | The value should be one of these four symbols. | 1285 | The 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. |
| 1959 | The variable @code{fortran-line-number-indent} controls this; it | 1959 | The variable @code{fortran-line-number-indent} controls this; it |
| 1960 | specifies the maximum indentation a line number can have. Line numbers | 1960 | specifies the maximum indentation a line number can have. Line numbers |
| 1961 | are indented to right-justify them to end in column 4 unless that would | 1961 | are right-justified to end in column 4 unless that would require more |
| 1962 | require more than this maximum indentation. The default value of the | 1962 | than this maximum indentation. The default value of the variable is 1. |
| 1963 | variable 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 |
| 1967 | these rules. As each digit is inserted, the indentation is recomputed. | 1966 | these rules. As each digit is inserted, the indentation is recomputed. |
| 1968 | To turn off this feature, set the variable | 1967 | To 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}. |
| 1970 | numbers 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 |
| 2114 | Don't move text in full-line comments automatically at all. | 2113 | Don'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 |
| 2227 | the variable @code{indent-tabs-mode}. If @code{indent-tabs-mode} is | 2226 | variable @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. |
| 2230 | Otherwise, the variable @code{fortran-column-ruler-tab} is displayed. | 2229 | Otherwise, the value of the variable @code{fortran-column-ruler-tab} is |
| 2231 | By changing these variables, you can change the column ruler display. | 2230 | displayed. By changing these variables, you can change the column ruler |
| 2231 | display. | ||
| 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 |