www.delorie.com/gnu/docs/emacs/emacs_281.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

U.4 Commands for Editing with Parentheses

This section describes the commands and features that take advantage of the parenthesis structure in a program, or help you keep it balanced.

When talking about these facilities, the term "parenthesis" also includes braces, brackets, or whatever delimiters are defined to match in pairs. The major mode controls which delimiters are significant, through the syntax table (see section AD.6 The Syntax Table). In Lisp, only parentheses count; in C, these commands apply to braces and brackets too.

You can use M-x check-parens to find any unbalanced parentheses and unbalanced string quotes in the buffer.

U.4.1 Expressions with Balanced Parentheses  Expressions with balanced parentheses.
U.4.2 Moving in the Parenthesis Structure  Commands for moving up, down and across in the structure of parentheses.
U.4.3 Automatic Display Of Matching Parentheses  Insertion of a close-delimiter flashes matching open.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003