/[emacs]/emacs/lispref/syntax.texi
ViewVC logotype

Diff of /emacs/lispref/syntax.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by lute, Thu Apr 28 11:33:59 2005 UTC revision 1.41 by monnier, Fri Jun 10 22:20:25 2005 UTC
# Line 256  English text has no comment characters. Line 256  English text has no comment characters.
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}
# Line 385  nestable. Line 385  nestable.
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
# Line 566  have certain syntax classes. Line 566  have certain syntax classes.
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.
# Line 730  This function is most often used to comp Line 730  This function is most often used to comp
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.

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26