emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/positions.texi


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/positions.texi
Date: Sun, 17 Apr 2005 11:46:33 -0400

Index: emacs/lispref/positions.texi
diff -c emacs/lispref/positions.texi:1.51 emacs/lispref/positions.texi:1.52
*** emacs/lispref/positions.texi:1.51   Sat Mar 26 02:07:08 2005
--- emacs/lispref/positions.texi        Sun Apr 17 15:46:33 2005
***************
*** 15,28 ****
  often speak of the character ``at'' a position, meaning the character
  after that position.
  
!   Positions are usually represented as integers starting from 1, but can
! also be represented as @dfn{markers}---special objects that relocate
! automatically when text is inserted or deleted so they stay with the
! surrounding characters.  Functions that expect an argument to be a
! position (an integer), but accept a marker as a substitute, normally
! ignore the marker buffer.  Of course, markers used this way usually
! point to a position in the buffer that the function operates on, but
! that is entirely the programmer's responsibility.  @xref{Markers}.
  
    See also the ``field'' feature (@pxref{Fields}), which provides
  functions that are used by many cursor-motion commands.
--- 15,30 ----
  often speak of the character ``at'' a position, meaning the character
  after that position.
  
!   Positions are usually represented as integers starting from 1, but
! can also be represented as @dfn{markers}---special objects that
! relocate automatically when text is inserted or deleted so they stay
! with the surrounding characters.  Functions that expect an argument to
! be a position (an integer), but accept a marker as a substitute,
! normally ignore which buffer the marker points into; they convert the
! marker to an integer, and use that integer, exactly as if you had
! passed the integer as the argument.  Markers used this way usually
! point to a position in the buffer that the function will operate on,
! but if not, they are converted to integers anyway.  @xref{Markers}.
  
    See also the ``field'' feature (@pxref{Fields}), which provides
  functions that are used by many cursor-motion commands.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]