Mercurial > emacs
comparison lispref/positions.texi @ 90796:4ef881a120fe
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 675-697)
- Update from CVS
- Merge from gnus--rel--5.10
- Release ERC 5.2.
* gnus--rel--5.10 (patch 211-215)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-189
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 11 Apr 2007 00:17:47 +0000 |
parents | 95d0cdf160ea 343906bd90fc |
children |
comparison
equal
deleted
inserted
replaced
90795:b9182b6a90c9 | 90796:4ef881a120fe |
---|---|
121 @end example | 121 @end example |
122 @end defun | 122 @end defun |
123 | 123 |
124 @node Motion | 124 @node Motion |
125 @section Motion | 125 @section Motion |
126 @cindex motion by chars, words, lines, lists | |
126 | 127 |
127 Motion functions change the value of point, either relative to the | 128 Motion functions change the value of point, either relative to the |
128 current value of point, relative to the beginning or end of the buffer, | 129 current value of point, relative to the beginning or end of the buffer, |
129 or relative to the edges of the selected window. @xref{Point}. | 130 or relative to the edges of the selected window. @xref{Point}. |
130 | 131 |
233 @code{forward-paragraph} ignore field boundaries. | 234 @code{forward-paragraph} ignore field boundaries. |
234 @end defvar | 235 @end defvar |
235 | 236 |
236 @node Buffer End Motion | 237 @node Buffer End Motion |
237 @subsection Motion to an End of the Buffer | 238 @subsection Motion to an End of the Buffer |
239 @cindex move to beginning or end of buffer | |
238 | 240 |
239 To move point to the beginning of the buffer, write: | 241 To move point to the beginning of the buffer, write: |
240 | 242 |
241 @example | 243 @example |
242 @group | 244 @group |
640 @comment node-name, next, previous, up | 642 @comment node-name, next, previous, up |
641 @subsection Moving over Balanced Expressions | 643 @subsection Moving over Balanced Expressions |
642 @cindex sexp motion | 644 @cindex sexp motion |
643 @cindex Lisp expression motion | 645 @cindex Lisp expression motion |
644 @cindex list motion | 646 @cindex list motion |
647 @cindex balanced parenthesis motion | |
645 | 648 |
646 Here are several functions concerned with balanced-parenthesis | 649 Here are several functions concerned with balanced-parenthesis |
647 expressions (also called @dfn{sexps} in connection with moving across | 650 expressions (also called @dfn{sexps} in connection with moving across |
648 them in Emacs). The syntax table controls how these functions interpret | 651 them in Emacs). The syntax table controls how these functions interpret |
649 various characters; see @ref{Syntax Tables}. @xref{Parsing | 652 various characters; see @ref{Syntax Tables}. @xref{Parsing |
825 Configurations}). | 828 Configurations}). |
826 | 829 |
827 @defspec save-excursion body@dots{} | 830 @defspec save-excursion body@dots{} |
828 @cindex mark excursion | 831 @cindex mark excursion |
829 @cindex point excursion | 832 @cindex point excursion |
830 @cindex current buffer excursion | |
831 The @code{save-excursion} special form saves the identity of the current | 833 The @code{save-excursion} special form saves the identity of the current |
832 buffer and the values of point and the mark in it, evaluates | 834 buffer and the values of point and the mark in it, evaluates |
833 @var{body}, and finally restores the buffer and its saved values of | 835 @var{body}, and finally restores the buffer and its saved values of |
834 point and the mark. All three saved values are restored even in case of | 836 point and the mark. All three saved values are restored even in case of |
835 an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}). | 837 an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}). |