Mercurial > hg > xemacs-beta
comparison man/lispref/positions.texi @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children | 6240c7796c7a |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
80 | 80 |
81 @defun point-max &optional buffer | 81 @defun point-max &optional buffer |
82 This function returns the maximum accessible value of point in | 82 This function returns the maximum accessible value of point in |
83 @var{buffer}. This is @code{(1+ (buffer-size buffer))}, unless | 83 @var{buffer}. This is @code{(1+ (buffer-size buffer))}, unless |
84 narrowing is in effect, in which case it is the position of the end of | 84 narrowing is in effect, in which case it is the position of the end of |
85 the region that you narrowed to. (@pxref{Narrowing}). @var{buffer} | 85 the region that you narrowed to. (@xref{Narrowing}). @var{buffer} |
86 defaults to the current buffer if omitted. | 86 defaults to the current buffer if omitted. |
87 @end defun | 87 @end defun |
88 | 88 |
89 @defun buffer-end flag &optional buffer | 89 @defun buffer-end flag &optional buffer |
90 This function returns @code{(point-min buffer)} if @var{flag} is less | 90 This function returns @code{(point-min buffer)} if @var{flag} is less |
600 Here are several functions concerned with balanced-parenthesis | 600 Here are several functions concerned with balanced-parenthesis |
601 expressions (also called @dfn{sexps} in connection with moving across | 601 expressions (also called @dfn{sexps} in connection with moving across |
602 them in XEmacs). The syntax table controls how these functions interpret | 602 them in XEmacs). The syntax table controls how these functions interpret |
603 various characters; see @ref{Syntax Tables}. @xref{Parsing | 603 various characters; see @ref{Syntax Tables}. @xref{Parsing |
604 Expressions}, for lower-level primitives for scanning sexps or parts of | 604 Expressions}, for lower-level primitives for scanning sexps or parts of |
605 sexps. For user-level commands, see @ref{Lists and Sexps,,, xemacs, XEmacs | 605 sexps. For user-level commands, see @ref{Lists and Sexps,,, emacs, XEmacs |
606 Reference Manual}. | 606 Reference Manual}. |
607 | 607 |
608 @deffn Command forward-list &optional arg | 608 @deffn Command forward-list &optional arg |
609 This function moves forward across @var{arg} balanced groups of | 609 This function moves forward across @var{arg} balanced groups of |
610 parentheses. (Other syntactic entities such as words or paired string | 610 parentheses. (Other syntactic entities such as words or paired string |
899 @code{save-restriction} construct. Read the entire description here | 899 @code{save-restriction} construct. Read the entire description here |
900 before you try it. | 900 before you try it. |
901 | 901 |
902 If @var{body} changes the current buffer, @code{save-restriction} still | 902 If @var{body} changes the current buffer, @code{save-restriction} still |
903 restores the restrictions on the original buffer (the buffer whose | 903 restores the restrictions on the original buffer (the buffer whose |
904 restrictions it saved from), but it does not restore the identity of the | 904 restructions it saved from), but it does not restore the identity of the |
905 current buffer. | 905 current buffer. |
906 | 906 |
907 @code{save-restriction} does @emph{not} restore point and the mark; use | 907 @code{save-restriction} does @emph{not} restore point and the mark; use |
908 @code{save-excursion} for that. If you use both @code{save-restriction} | 908 @code{save-excursion} for that. If you use both @code{save-restriction} |
909 and @code{save-excursion} together, @code{save-excursion} should come | 909 and @code{save-excursion} together, @code{save-excursion} should come |