[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Here are several functions concerned with balanced-parenthesis expressions (also called sexps in connection with moving across them in Emacs). The syntax table controls how these functions interpret various characters; see @ref{Syntax Tables}. Voir la section Parsing Expressions, for lower-level primitives for scanning sexps or parts of sexps. For user-level commands, see (emacs)Parentheses section `Commands for Editing with Parentheses' dans The GNU Emacs Manual.
This function moves forward across arg (default 1) balanced groups of parentheses. (Other syntactic entities such as words or paired string quotes are ignored.)
This function moves backward across arg (default 1) balanced groups of parentheses. (Other syntactic entities such as words or paired string quotes are ignored.)
This function moves forward out of arg (default 1) levels of parentheses. A negative argument means move backward but still to a less deep spot.
This function moves forward into arg (default 1) levels of parentheses. A negative argument means move backward but still go deeper in parentheses (-arg levels).
This function moves forward across arg (default 1) balanced expressions. Balanced expressions include both those delimited by parentheses and other kinds, such as words and string constants. Voir la section Parsing Expressions. For example,
---------- Buffer: foo ---------- (concat∗ "foo " (car x) y z) ---------- Buffer: foo ---------- (forward-sexp 3) ⇒ nil ---------- Buffer: foo ---------- (concat "foo " (car x) y∗ z) ---------- Buffer: foo ---------- |
This function moves backward across arg (default 1) balanced expressions.
This function moves back to the argth beginning of a defun. If arg is negative, this actually moves forward, but it still moves to the beginning of a defun, not to the end of one. arg defaults to 1.
This function moves forward to the argth end of a defun. If arg is negative, this actually moves backward, but it still moves to the end of a defun, not to the beginning of one. arg defaults to 1.
If non-nil
, this buffer-local variable holds a regular expression
that specifies what text can appear before the open-parenthesis that starts
a defun. That is to say, a defun begins on a line that starts with a match
for this regular expression, followed by a character with open-parenthesis
syntax.
If this variable's value is non-nil
, an open parenthesis in column 0
is considered to be the start of a defun. If it is nil
, an open
parenthesis in column 0 has no special meaning. The default is t
.
If non-nil
, this variable holds a function for finding the beginning
of a defun. The function beginning-of-defun
calls this function
instead of using its normal method.
If non-nil
, this variable holds a function for finding the end of a
defun. The function end-of-defun
calls this function instead of
using its normal method.
[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.