aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/emacs.texi122
1 files changed, 88 insertions, 34 deletions
diff --git a/man/emacs.texi b/man/emacs.texi
index 208099753ae..a382f16aa09 100644
--- a/man/emacs.texi
+++ b/man/emacs.texi
@@ -191,6 +191,7 @@ Advanced Features
191* Text:: Commands and modes for editing English. 191* Text:: Commands and modes for editing English.
192* Programs:: Commands and modes for editing programs. 192* Programs:: Commands and modes for editing programs.
193* Building:: Compiling, running and debugging programs. 193* Building:: Compiling, running and debugging programs.
194* Maintaining:: Features for maintaining large programs.
194* Abbrevs:: How to define text abbreviations to reduce 195* Abbrevs:: How to define text abbreviations to reduce
195 the number of characters you must type. 196 the number of characters you must type.
196* Picture:: Editing pictures made up of characters 197* Picture:: Editing pictures made up of characters
@@ -480,52 +481,74 @@ Filling Text
480Editing Programs 481Editing Programs
481 482
482* Program Modes:: Major modes for editing programs. 483* Program Modes:: Major modes for editing programs.
483* Lists:: Expressions with balanced parentheses. 484* Defuns:: Commands to operate on major top-level parts
484* List Commands:: The commands for working with list and sexps. 485 of a program.
485* Defuns:: Each program is made up of separate functions.
486 There are editing commands to operate on them.
487* Program Indent:: Adjusting indentation to show the nesting. 486* Program Indent:: Adjusting indentation to show the nesting.
488* Matching:: Insertion of a close-delimiter flashes matching open.
489* Comments:: Inserting, killing, and aligning comments. 487* Comments:: Inserting, killing, and aligning comments.
490* Balanced Editing:: Inserting two matching parentheses at once, etc. 488* Parentheses:: Commands that operate on parentheses.
491* Symbol Completion:: Completion on symbol names of your program or language.
492* Documentation:: Getting documentation of functions you plan to call. 489* Documentation:: Getting documentation of functions you plan to call.
493* Change Log:: Maintaining a change history for your program. 490* Hideshow:: Displaying blocks selectively.
494* Tags:: Go directly to any function in your program in one 491* Symbol Completion:: Completion on symbol names of your program or language.
495 command. Tags remembers which file it is in. 492* Glasses:: Making identifiersLikeThis more readable.
496* Emerge:: A convenient way of merging two versions of a program. 493* Misc for Programs:: Other Emacs features useful for editing programs.
497* C Modes:: Special commands of C, C++, Objective-C and Java modes. 494* C Modes:: Special commands of C, C++, Objective-C,
498* Fortran:: Fortran mode and its special features. 495 Java, and Pike modes.
499* Asm Mode:: Asm mode and its special features. 496* Fortran:: Fortran mode and its special features.
497* Asm Mode:: Asm mode and its special features.
498
499Top-Level Definitions, or Defuns
500
501* Left Margin Paren:: An open-paren or similar opening delimiter
502 starts a defun if it is at the left margin.
503* Moving by Defuns:: Commands to move over or mark a major definition.
504* Imenu:: Making buffer indexes as menus.
505* Which Function:: Which Function mode shows which function you are in.
500 506
501Indentation for Programs 507Indentation for Programs
502 508
503* Basic Indent:: Indenting a single line. 509* Basic Indent:: Indenting a single line.
504* Multi-line Indent:: Commands to reindent many lines at once. 510* Multi-line Indent:: Commands to reindent many lines at once.
505* Lisp Indent:: Specifying how each Lisp function should be indented. 511* Lisp Indent:: Specifying how each Lisp function should be indented.
506* C Indent:: Choosing an indentation style for C code. 512* C Indent:: Extra features for indenting C and related modes.
513* Custom C Indent:: Controlling indentation style for C and related modes.
507 514
508Tags Tables 515Commands for Editing with Parentheses
509 516
510* Tag Syntax:: Tag syntax for various types of code and text files. 517* Expressions:: Expressions with balanced parentheses.
511* Create Tags Table:: Creating a tags table with @code{etags}. 518* Moving by Parens:: Commands for moving up, down and across
512* Select Tags Table:: How to visit a tags table. 519 in the structure of parentheses.
513* Find Tag:: Commands to find the definition of a specific tag. 520* Matching:: Insertion of a close-delimiter flashes matching open.
514* Tags Search:: Using a tags table for searching and replacing.
515* List Tags:: Listing and finding tags defined in a file.
516 521
517Merging Files with Emerge 522Manipulating Comments
518 523
519* Overview of Emerge:: How to start Emerge. Basic concepts. 524* Comment Commands:: Inserting, killing, and indenting comments.
520* Submodes of Emerge:: Fast mode vs. Edit mode. 525* Multi-Line Comments:: Commands for adding and editing multi-line comments.
521 Skip Prefers mode and Auto Advance mode. 526* Options for Comments::Customizing the comment features.
522* State of Difference:: You do the merge by specifying state A or B 527
523 for each difference. 528Documentation Lookup
524* Merge Commands:: Commands for selecting a difference, 529
525 changing states of differences, etc. 530* Info Lookup:: Looking up library functions and commands
526* Exiting Emerge:: What to do when you've finished the merge. 531 in Info files.
527* Combining in Emerge:: How to keep both alternatives for a difference. 532* Man Page:: Looking up man pages of library functions and commands.
528* Fine Points of Emerge:: Misc. 533* Lisp Doc:: Looking up Emacs Lisp functions, etc.
534
535C and Related Modes
536
537* Motion in C:: Commands to move by C statements, etc.
538* Electric C:: Colon and other chars can automatically reindent.
539* Hungry Delete:: A more powerful DEL command.
540* Other C Commands:: Filling comments, viewing expansion of macros,
541 and other neat features.
542* Comments in C:: Options for customizing comment style.
543
544Fortran Mode
545
546* Motion: Fortran Motion. Moving point by statements or subprograms.
547* Indent: Fortran Indent. Indentation commands for Fortran.
548* Comments: Fortran Comments. Inserting and aligning comments.
549* Autofill: Fortran Autofill. Auto fill minor mode for Fortran.
550* Columns: Fortran Columns. Measuring columns for valid Fortran.
551* Abbrev: Fortran Abbrev. Built-in abbrevs for Fortran keywords.
529 552
530Compiling and Testing Programs 553Compiling and Testing Programs
531 554
@@ -550,6 +573,36 @@ Running Debuggers Under Emacs
550* Commands of GUD:: Key bindings for common commands. 573* Commands of GUD:: Key bindings for common commands.
551* GUD Customization:: Defining your own commands for GUD. 574* GUD Customization:: Defining your own commands for GUD.
552 575
576Maintaining Programs
577
578* Change Log:: Maintaining a change history for your program.
579* Authors:: Maintaining an @file{AUTHORS} file.
580* Tags:: Go direct to any function in your program in one
581 command. Tags remembers which file it is in.
582* Emerge:: A convenient way of merging two versions of a program.
583
584Tags Tables
585
586* Tag Syntax:: Tag syntax for various types of code and text files.
587* Create Tags Table:: Creating a tags table with @code{etags}.
588* Select Tags Table:: How to visit a tags table.
589* Find Tag:: Commands to find the definition of a specific tag.
590* Tags Search:: Using a tags table for searching and replacing.
591* List Tags:: Listing and finding tags defined in a file.
592
593Merging Files with Emerge
594
595* Overview of Emerge:: How to start Emerge. Basic concepts.
596* Submodes of Emerge:: Fast mode vs. Edit mode.
597 Skip Prefers mode and Auto Advance mode.
598* State of Difference:: You do the merge by specifying state A or B
599 for each difference.
600* Merge Commands:: Commands for selecting a difference,
601 changing states of differences, etc.
602* Exiting Emerge:: What to do when you've finished the merge.
603* Combining in Emerge:: How to keep both alternatives for a difference.
604* Fine Points of Emerge:: Misc.
605
553Abbrevs 606Abbrevs
554 607
555* Abbrev Concepts:: Fundamentals of defined abbrevs. 608* Abbrev Concepts:: Fundamentals of defined abbrevs.
@@ -1424,6 +1477,7 @@ edit files while running shell commands.
1424@include text.texi 1477@include text.texi
1425@include programs.texi 1478@include programs.texi
1426@include building.texi 1479@include building.texi
1480@include maintaining.texi
1427@include abbrevs.texi 1481@include abbrevs.texi
1428@include picture.texi 1482@include picture.texi
1429@include sending.texi 1483@include sending.texi