comparison lispref/positions.texi @ 40039:d576274a42f4

(Text Lines): Describe behavior of `beginning-of-line'/`end-of-line' in the presence of field properties.
author Miles Bader <miles@gnu.org>
date Fri, 19 Oct 2001 06:01:19 +0000
parents 664c63b19441
children 51d732cff5a4
comparison
equal deleted inserted replaced
40038:e0324e1ca158 40039:d576274a42f4
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the GNU Emacs Lisp Reference Manual. 2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001
4 @c Free Software Foundation, Inc. 4 @c Free Software Foundation, Inc.
5 @c See the file elisp.texi for copying conditions. 5 @c See the file elisp.texi for copying conditions.
6 @setfilename ../info/positions 6 @setfilename ../info/positions
7 @node Positions, Markers, Frames, Top 7 @node Positions, Markers, Frames, Top
8 @chapter Positions 8 @chapter Positions
325 @deffn Command beginning-of-line &optional count 325 @deffn Command beginning-of-line &optional count
326 This function moves point to the beginning of the current line. With an 326 This function moves point to the beginning of the current line. With an
327 argument @var{count} not @code{nil} or 1, it moves forward 327 argument @var{count} not @code{nil} or 1, it moves forward
328 @var{count}@minus{}1 lines and then to the beginning of the line. 328 @var{count}@minus{}1 lines and then to the beginning of the line.
329 329
330 This command does not move point across a field boundary
331 (@pxref{Fields}) unless doing so would move beyond there to a
332 different line; if @var{count} is @code{nil} or 1, and point starts at
333 a field boundary, point does not move. To ignore field boundaries,
334 use the @code{forward-line} function instead. For instance,
335 @code{(forward-line 0)} does the same thing as
336 @code{(beginning-of-line)}, except that it ignores field boundaries.
337
330 If this function reaches the end of the buffer (or of the accessible 338 If this function reaches the end of the buffer (or of the accessible
331 portion, if narrowing is in effect), it positions point there. No error 339 portion, if narrowing is in effect), it positions point there. No error
332 is signaled. 340 is signaled.
333 @end deffn 341 @end deffn
334 342
340 348
341 @deffn Command end-of-line &optional count 349 @deffn Command end-of-line &optional count
342 This function moves point to the end of the current line. With an 350 This function moves point to the end of the current line. With an
343 argument @var{count} not @code{nil} or 1, it moves forward 351 argument @var{count} not @code{nil} or 1, it moves forward
344 @var{count}@minus{}1 lines and then to the end of the line. 352 @var{count}@minus{}1 lines and then to the end of the line.
353
354 This command does not move point across a field boundary
355 (@pxref{Fields}) unless doing so would move beyond there to a
356 different line; if @var{count} is @code{nil} or 1, and point starts at
357 a field boundary, point does not move.
345 358
346 If this function reaches the end of the buffer (or of the accessible 359 If this function reaches the end of the buffer (or of the accessible
347 portion, if narrowing is in effect), it positions point there. No error 360 portion, if narrowing is in effect), it positions point there. No error
348 is signaled. 361 is signaled.
349 @end deffn 362 @end deffn