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

Diff of /emacs/lispref/positions.texi

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

revision 1.31 by rms, Fri Oct 19 19:09:32 2001 UTC revision 1.31.4.1 by miles, Fri Apr 4 06:20:42 2003 UTC
# Line 1  Line 1 
1  @c -*-texinfo-*-  @c -*-texinfo-*-
2  @c This is part of the GNU Emacs Lisp Reference Manual.  @c This is part of the GNU Emacs Lisp Reference Manual.
3  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001
4  @c  Free Software Foundation, Inc.  @c  Free Software Foundation, Inc.
5  @c See the file elisp.texi for copying conditions.  @c See the file elisp.texi for copying conditions.
6  @setfilename ../info/positions  @setfilename ../info/positions
7  @node Positions, Markers, Frames, Top  @node Positions, Markers, Frames, Top
# Line 21  automatically when text is inserted or d Line 21  automatically when text is inserted or d
21  surrounding characters.  @xref{Markers}.  surrounding characters.  @xref{Markers}.
22    
23    See also the ``field'' feature (@pxref{Fields}), which provides    See also the ``field'' feature (@pxref{Fields}), which provides
24  functions that are used by many cursur-motion commands.  functions that are used by many cursor-motion commands.
25    
26  @menu  @menu
27  * Point::         The special position where editing takes place.  * Point::         The special position where editing takes place.
# Line 594  regardless of what buffer is displayed i Line 594  regardless of what buffer is displayed i
594  The return value is a list of five elements:  The return value is a list of five elements:
595    
596  @example  @example
597  (@var{pos} @var{vpos} @var{hpos} @var{prevhpos} @var{contin})  (@var{pos} @var{hpos} @var{vpos} @var{prevhpos} @var{contin})
598  @end example  @end example
599    
600  @noindent  @noindent
# Line 631  beginning of the first screen line.  @xr Line 631  beginning of the first screen line.  @xr
631    
632  @node List Motion  @node List Motion
633  @comment  node-name,  next,  previous,  up  @comment  node-name,  next,  previous,  up
634  @subsection Moving over Balanced Expressions  @subsection Moving over Balanced Expressions
635  @cindex sexp motion  @cindex sexp motion
636  @cindex Lisp expression motion  @cindex Lisp expression motion
637  @cindex list motion  @cindex list motion
# Line 745  of using its normal method. Line 745  of using its normal method.
745  characters.  For example, they are often used to skip whitespace.  For  characters.  For example, they are often used to skip whitespace.  For
746  related functions, see @ref{Motion and Syntax}.  related functions, see @ref{Motion and Syntax}.
747    
748    These functions convert the set string to multibyte if the buffer is
749    multibyte, and they convert it to unibyte if the buffer is unibyte, as
750    the search functions do (@pxref{Searching and Matching}).
751    
752  @defun skip-chars-forward character-set &optional limit  @defun skip-chars-forward character-set &optional limit
753  This function moves point in the current buffer forward, skipping over a  This function moves point in the current buffer forward, skipping over a
754  given set of characters.  It examines the character following point,  given set of characters.  It examines the character following point,
# Line 786  comes back" twice. Line 790  comes back" twice.
790  ---------- Buffer: foo ----------  ---------- Buffer: foo ----------
791  @end group  @end group
792  @end example  @end example
793    
794    Note that char classes are not currently supported in
795    @var{character-set}; they will be treated as literals.  Thus you
796    cannot use @code{"[:alpha:]"} instead of @code{"a-zA-Z"} to include
797    non-ASCII letters.  A way to skip forward over all letters is:
798    
799    @example
800    (re-search-forward "\\=[[:alpha:]]*" nil t)
801    @end example
802  @end defun  @end defun
803    
804  @defun skip-chars-backward character-set &optional limit  @defun skip-chars-backward character-set &optional limit

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.31.4.1

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