256 |
@deffn {Syntax class} @w{inherit} |
@deffn {Syntax class} @w{inherit} |
257 |
This syntax class does not specify a particular syntax. It says to look |
This syntax class does not specify a particular syntax. It says to look |
258 |
in the standard syntax table to find the syntax of this character. The |
in the standard syntax table to find the syntax of this character. The |
259 |
designator for this syntax code is @samp{@@}. |
designator for this syntax class is @samp{@@}. |
260 |
@end deffn |
@end deffn |
261 |
|
|
262 |
@deffn {Syntax class} @w{generic comment delimiter} |
@deffn {Syntax class} @w{generic comment delimiter} |
385 |
@samp{p} identifies an additional ``prefix character'' for Lisp syntax. |
@samp{p} identifies an additional ``prefix character'' for Lisp syntax. |
386 |
These characters are treated as whitespace when they appear between |
These characters are treated as whitespace when they appear between |
387 |
expressions. When they appear within an expression, they are handled |
expressions. When they appear within an expression, they are handled |
388 |
according to their usual syntax codes. |
according to their usual syntax classes. |
389 |
|
|
390 |
The function @code{backward-prefix-chars} moves back over these |
The function @code{backward-prefix-chars} moves back over these |
391 |
characters, as well as over characters whose primary syntax class is |
characters, as well as over characters whose primary syntax class is |
566 |
|
|
567 |
@defun skip-syntax-forward syntaxes &optional limit |
@defun skip-syntax-forward syntaxes &optional limit |
568 |
This function moves point forward across characters having syntax |
This function moves point forward across characters having syntax |
569 |
classes mentioned in @var{syntaxes} (a string of syntax code |
classes mentioned in @var{syntaxes} (a string of syntax class |
570 |
characters). It stops when it encounters the end of the buffer, or |
characters). It stops when it encounters the end of the buffer, or |
571 |
position @var{limit} (if specified), or a character it is not supposed |
position @var{limit} (if specified), or a character it is not supposed |
572 |
to skip. |
to skip. |
730 |
that have nested parentheses. |
that have nested parentheses. |
731 |
@end defun |
@end defun |
732 |
|
|
733 |
|
@defun syntax-ppss &optional pos |
734 |
|
This function returns the state that the parser would have at position |
735 |
|
@var{pos}, if it were started with a default start state at the |
736 |
|
beginning of the buffer. Thus, it is equivalent to |
737 |
|
@code(parse-partial-sexp (point-min) @var{pos}), except that |
738 |
|
@code{syntax-ppss} uses a cache to speed up the computation. Also, |
739 |
|
the 2nd value (previous complete subexpression) and 6th value (minimum |
740 |
|
parenthesis depth) of the returned state are not meaningful. |
741 |
|
@end defun |
742 |
|
|
743 |
@defun scan-lists from count depth |
@defun scan-lists from count depth |
744 |
This function scans forward @var{count} balanced parenthetical groupings |
This function scans forward @var{count} balanced parenthetical groupings |
745 |
from position @var{from}. It returns the position where the scan stops. |
from position @var{from}. It returns the position where the scan stops. |