emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/markers.texi
Date: Sat, 26 Feb 2005 19:02:17 -0500

Index: emacs/lispref/markers.texi
diff -c emacs/lispref/markers.texi:1.19 emacs/lispref/markers.texi:1.20
*** emacs/lispref/markers.texi:1.19     Mon Mar  1 03:46:33 2004
--- emacs/lispref/markers.texi  Sun Feb 27 00:02:17 2005
***************
*** 394,410 ****
  @cindex mark ring
  
    One special marker in each buffer is designated @dfn{the mark}.  It
! records a position for the user for the sake of commands such as
! @code{kill-region} and @code{indent-rigidly}.  Lisp programs should set
! the mark only to values that have a potential use to the user, and never
! for their own internal purposes.  For example, the @code{replace-regexp}
! command sets the mark to the value of point before doing any
! replacements, because this enables the user to move back there
! conveniently after the replace is finished.
! 
!   Many commands are designed so that when called interactively they
! operate on the text between point and the mark.  If you are writing such
! a command, don't examine the mark directly; instead, use
  @code{interactive} with the @samp{r} specification.  This provides the
  values of point and the mark as arguments to the command in an
  interactive call, but permits other Lisp programs to specify arguments
--- 394,410 ----
  @cindex mark ring
  
    One special marker in each buffer is designated @dfn{the mark}.  It
! specifies a position to bound a range of text for commands such as
! @code{kill-region} and @code{indent-rigidly}.  Lisp programs should
! set the mark only to values that have a potential use to the user, and
! never for their own internal purposes.  For example, the
! @code{replace-regexp} command sets the mark to the value of point
! before doing any replacements, because this enables the user to move
! back there conveniently after the replace is finished.
! 
!   Many commands are designed to operate on the text between point and
! the mark when called interactively.  If you are writing such a
! command, don't examine the mark directly; instead, use
  @code{interactive} with the @samp{r} specification.  This provides the
  values of point and the mark as arguments to the command in an
  interactive call, but permits other Lisp programs to specify arguments




reply via email to

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