comparison lispref/positions.texi @ 27093:4b1a67a46d8c

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 03 Jan 2000 00:19:17 +0000
parents ef5e7bbe6f19
children d2e5f1b7d8e2
comparison
equal deleted inserted replaced
27092:60f5b0f50db9 27093:4b1a67a46d8c
196 If it is possible to move @var{count} words, without being stopped 196 If it is possible to move @var{count} words, without being stopped
197 prematurely by the buffer boundary or a field boundary, the value is 197 prematurely by the buffer boundary or a field boundary, the value is
198 @code{t}. Otherwise, the return value is @code{nil} and point stops at 198 @code{t}. Otherwise, the return value is @code{nil} and point stops at
199 the buffer boundary or field boundary. 199 the buffer boundary or field boundary.
200 200
201 If @code{inhibit-field-text-motion} is non-@code{nil},
202 this function ignores field boundaries.
203
201 In an interactive call, @var{count} is specified by the numeric prefix 204 In an interactive call, @var{count} is specified by the numeric prefix
202 argument. 205 argument.
203 @end deffn 206 @end deffn
204 207
205 @deffn Command backward-word count 208 @deffn Command backward-word count
217 @c Emacs 19 feature 220 @c Emacs 19 feature
218 This variable affects the behavior of @code{forward-word} and everything 221 This variable affects the behavior of @code{forward-word} and everything
219 that uses it. If it is non-@code{nil}, then characters in the 222 that uses it. If it is non-@code{nil}, then characters in the
220 ``escape'' and ``character quote'' syntax classes count as part of 223 ``escape'' and ``character quote'' syntax classes count as part of
221 words. Otherwise, they do not. 224 words. Otherwise, they do not.
225 @end defvar
226
227 @defvar inhibit-field-text-motion
228 @tindex inhibit-field-text-motion
229 If this variable is non-@code{nil}, certain motion functions including
230 @code{forward-word}, @code{forward-sentence}, and
231 @codef{forward-paragraph} ignore field boundaries.
222 @end defvar 232 @end defvar
223 233
224 @node Buffer End Motion 234 @node Buffer End Motion
225 @subsection Motion to an End of the Buffer 235 @subsection Motion to an End of the Buffer
226 236
316 @var{count}@minus{}1 lines and then to the beginning of the line. 326 @var{count}@minus{}1 lines and then to the beginning of the line.
317 327
318 If this function reaches the end of the buffer (or of the accessible 328 If this function reaches the end of the buffer (or of the accessible
319 portion, if narrowing is in effect), it positions point there. No error 329 portion, if narrowing is in effect), it positions point there. No error
320 is signaled. 330 is signaled.
321
322 This function does not move across a field boundary (@pxref{Fields}),
323 unless it moves to another line beyond the one that contains the field
324 boundary. If @var{count} is zero, and point starts at a field boundary,
325 then point does not move.
326 @end deffn 331 @end deffn
327 332
328 @defun line-beginning-position &optional count 333 @defun line-beginning-position &optional count
329 @tindex line-beginning-position 334 @tindex line-beginning-position
330 Return the position that @code{(beginning-of-line @var{count})} 335 Return the position that @code{(beginning-of-line @var{count})}
337 @var{count}@minus{}1 lines and then to the end of the line. 342 @var{count}@minus{}1 lines and then to the end of the line.
338 343
339 If this function reaches the end of the buffer (or of the accessible 344 If this function reaches the end of the buffer (or of the accessible
340 portion, if narrowing is in effect), it positions point there. No error 345 portion, if narrowing is in effect), it positions point there. No error
341 is signaled. 346 is signaled.
342
343 This function does not move across a field boundary, unless it moves to
344 another line beyond the one that contains the field boundary. If
345 @var{count} is zero, and point starts at a field boundary, then point
346 does not move.
347 @end deffn 347 @end deffn
348 348
349 @defun line-end-position &optional count 349 @defun line-end-position &optional count
350 @tindex line-end-position 350 @tindex line-end-position
351 Return the position that @code{(end-of-line @var{count})} 351 Return the position that @code{(end-of-line @var{count})}