Mercurial > emacs
comparison man/programs.texi @ 36263:11db0318031d
Remove redundant index entries.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 21 Feb 2001 15:29:46 +0000 |
parents | 47124bb72465 |
children | 71af0a08c2cc |
comparison
equal
deleted
inserted
replaced
36262:c2f7a7dc3322 | 36263:11db0318031d |
---|---|
34 paragraphs to begin and end at blank lines (@pxref{Paragraphs}). | 34 paragraphs to begin and end at blank lines (@pxref{Paragraphs}). |
35 Judicious use of blank lines to make the program clearer will also | 35 Judicious use of blank lines to make the program clearer will also |
36 provide useful chunks of text for the paragraph commands to work | 36 provide useful chunks of text for the paragraph commands to work |
37 on. | 37 on. |
38 | 38 |
39 @cindex selective display | |
40 @cindex outline | |
41 @cindex folding | |
42 @findex outline-minor-mode | |
43 @cindex outlines | |
44 The selective display feature is useful for looking at the overall | 39 The selective display feature is useful for looking at the overall |
45 structure of a function (@pxref{Selective Display}). This feature | 40 structure of a function (@pxref{Selective Display}). This feature |
46 hides the lines that are indented more than a specified amount. | 41 hides the lines that are indented more than a specified amount. |
47 Programming modes often support Outline minor mode (@pxref{Outline | 42 Programming modes often support Outline minor mode (@pxref{Outline |
48 Mode}). The Foldout package provides folding-editor features | 43 Mode}). The Foldout package provides folding-editor features |
347 @findex end-of-defun | 342 @findex end-of-defun |
348 @findex mark-defun | 343 @findex mark-defun |
349 The commands to move to the beginning and end of the current defun are | 344 The commands to move to the beginning and end of the current defun are |
350 @kbd{C-M-a} (@code{beginning-of-defun}) and @kbd{C-M-e} (@code{end-of-defun}). | 345 @kbd{C-M-a} (@code{beginning-of-defun}) and @kbd{C-M-e} (@code{end-of-defun}). |
351 | 346 |
347 @kindex C-M-h @r{(C mode)} | |
352 @findex c-mark-function | 348 @findex c-mark-function |
353 If you wish to operate on the current defun, use @kbd{C-M-h} | 349 If you wish to operate on the current defun, use @kbd{C-M-h} |
354 (@code{mark-defun}) which puts point at the beginning and mark at the end | 350 (@code{mark-defun}) which puts point at the beginning and mark at the end |
355 of the current or next defun. For example, this is the easiest way to get | 351 of the current or next defun. For example, this is the easiest way to get |
356 ready to move the defun to a different place in the text. In C mode, | 352 ready to move the defun to a different place in the text. In C mode, |
1464 | 1460 |
1465 If the partial name in the buffer has more than one possible completion | 1461 If the partial name in the buffer has more than one possible completion |
1466 and they have no additional characters in common, a list of all possible | 1462 and they have no additional characters in common, a list of all possible |
1467 completions is displayed in another window. | 1463 completions is displayed in another window. |
1468 | 1464 |
1469 @cindex completion using tags | 1465 @cindex tags-based completion |
1470 @cindex tags completion | |
1471 @cindex Info index completion | 1466 @cindex Info index completion |
1472 @findex complete-symbol | 1467 @findex complete-symbol |
1473 In most programming language major modes, @kbd{M-@key{TAB}} runs the | 1468 In most programming language major modes, @kbd{M-@key{TAB}} runs the |
1474 command @code{complete-symbol}, which provides two kinds of completion. | 1469 command @code{complete-symbol}, which provides two kinds of completion. |
1475 Normally it does completion based on a tags table (@pxref{Tags}); with a | 1470 Normally it does completion based on a tags table (@pxref{Tags}); with a |
1480 library function, use @kbd{C-u M-@key{TAB}}. Of course, Info-based | 1475 library function, use @kbd{C-u M-@key{TAB}}. Of course, Info-based |
1481 completion works only if there is an Info file for the standard library | 1476 completion works only if there is an Info file for the standard library |
1482 functions of your language, and only if it is installed at your site. | 1477 functions of your language, and only if it is installed at your site. |
1483 | 1478 |
1484 @cindex Lisp symbol completion | 1479 @cindex Lisp symbol completion |
1485 @cindex completion in Lisp | 1480 @cindex completion (Lisp symbols) |
1486 @findex lisp-complete-symbol | 1481 @findex lisp-complete-symbol |
1487 In Emacs-Lisp mode, the name space for completion normally consists of | 1482 In Emacs-Lisp mode, the name space for completion normally consists of |
1488 nontrivial symbols present in Emacs---those that have function | 1483 nontrivial symbols present in Emacs---those that have function |
1489 definitions, values or properties. However, if there is an | 1484 definitions, values or properties. However, if there is an |
1490 open-parenthesis immediately before the beginning of the partial symbol, | 1485 open-parenthesis immediately before the beginning of the partial symbol, |
3230 @node Other C Commands | 3225 @node Other C Commands |
3231 @subsection Other Commands for C Mode | 3226 @subsection Other Commands for C Mode |
3232 | 3227 |
3233 @table @kbd | 3228 @table @kbd |
3234 @item C-M-h | 3229 @item C-M-h |
3235 @findex c-mark-function | |
3236 @kindex C-M-h @r{(C mode)} | |
3237 Put mark at the end of a function definition, and put point at the | 3230 Put mark at the end of a function definition, and put point at the |
3238 beginning (@code{c-mark-function}). | 3231 beginning (@code{c-mark-function}). |
3239 | 3232 |
3240 @item M-q | 3233 @item M-q |
3241 @kindex M-q @r{(C mode)} | 3234 @kindex M-q @r{(C mode)} |
3381 | 3374 |
3382 Special commands for comments are provided because Fortran comments | 3375 Special commands for comments are provided because Fortran comments |
3383 are unlike those of other languages. Built-in abbrevs optionally save | 3376 are unlike those of other languages. Built-in abbrevs optionally save |
3384 typing when you insert Fortran keywords. | 3377 typing when you insert Fortran keywords. |
3385 | 3378 |
3386 @findex fortran-mode | |
3387 Use @kbd{M-x fortran-mode} to switch to this major mode. This command | 3379 Use @kbd{M-x fortran-mode} to switch to this major mode. This command |
3388 runs the hook @code{fortran-mode-hook} (@pxref{Hooks}). | 3380 runs the hook @code{fortran-mode-hook} (@pxref{Hooks}). |
3389 | 3381 |
3390 @cindex Fortran77 | 3382 @cindex Fortran77 and Fortran90 |
3391 @cindex Fortran90 | |
3392 @findex f90-mode | 3383 @findex f90-mode |
3393 @findex fortran-mode | 3384 @findex fortran-mode |
3394 Fortan mode is meant for editing Fortran77 ``fixed format'' source | 3385 Fortan mode is meant for editing Fortran77 ``fixed format'' source |
3395 code. For editing the modern Fortran90 ``free format'' source code, | 3386 code. For editing the modern Fortran90 ``free format'' source code, |
3396 use F90 mode (@code{f90-mode}). Emacs normally uses Fortran mode for | 3387 use F90 mode (@code{f90-mode}). Emacs normally uses Fortran mode for |