emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 8342e74: Document char-script-table's effect on w


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-25 8342e74: Document char-script-table's effect on word motion
Date: Sat, 13 Aug 2016 14:11:51 +0000 (UTC)

branch: emacs-25
commit 8342e7481a1553af81ad97518a1b15901c9bd329
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Document char-script-table's effect on word motion
    
    * doc/lispref/positions.texi (Word Motion): Talk about
    char-script-table (Bug #10494).
---
 doc/lispref/positions.texi |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi
index 1d748b8..b6133dc 100644
--- a/doc/lispref/positions.texi
+++ b/doc/lispref/positions.texi
@@ -192,8 +192,9 @@ in the opposite direction.
 @subsection Motion by Words
 
   The functions for parsing words described below use the syntax table
-to decide whether a given character is part of a word.  @xref{Syntax
-Tables}.
+and @code{char-script-table} to decide whether a given character is
+part of a word.  @xref{Syntax Tables}, and see @ref{Character
+Properties}.
 
 @deffn Command forward-word &optional count
 This function moves point forward @var{count} words (or backward if
@@ -207,11 +208,13 @@ and then continue moving until the word ends.  By 
default, characters
 that begin and end words, known as @dfn{word boundaries}, are defined
 by the current buffer's syntax table (@pxref{Syntax Class Table}), but
 modes can override that by setting up a suitable
address@hidden, described below.  In any
-case, this function cannot move point past the boundary of the
-accessible portion of the buffer, or across a field boundary
-(@pxref{Fields}).  The most common case of a field boundary is the end
-of the prompt in the minibuffer.
address@hidden, described below.  Characters
+that belong to different scripts (as defined by
address@hidden), also define a word boundary
+(@pxref{Character Properties}).  In any case, this function cannot
+move point past the boundary of the accessible portion of the buffer,
+or across a field boundary (@pxref{Fields}).  The most common case of
+a field boundary is the end of the prompt in the minibuffer.
 
 If it is possible to move @var{count} words, without being stopped
 prematurely by the buffer boundary or a field boundary, the value is



reply via email to

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