aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/textmodes/text-mode.el17
2 files changed, 21 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9852068ed68..a7b6b1be92f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12015-02-13 Eli Zaretskii <eliz@gnu.org> 12015-02-13 Eli Zaretskii <eliz@gnu.org>
2 2
3 * textmodes/text-mode.el (text-mode-syntax-table): Make some
4 punctuation character behave as word-constituent, for more
5 compatibility with Unicode.
6
3 * simple.el (transient-mark-mode): Doc fix. (Bug#19841) 7 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
4 8
52015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com> 92015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index 5f2f671993c..84b578b5059 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -45,6 +45,23 @@ Use (derived-mode-p 'text-mode) instead.")
45 (modify-syntax-entry ?\\ ". " st) 45 (modify-syntax-entry ?\\ ". " st)
46 ;; We add `p' so that M-c on 'hello' leads to 'Hello' rather than 'hello'. 46 ;; We add `p' so that M-c on 'hello' leads to 'Hello' rather than 'hello'.
47 (modify-syntax-entry ?' "w p" st) 47 (modify-syntax-entry ?' "w p" st)
48 ;; UAX #29 says HEBREW PUNCTUATION GERESH behaves like a letter
49 ;; for the purposes of finding word boundaries.
50 (modify-syntax-entry #x5f3 "w ") ; GERESH
51 ;; UAX #29 says HEBREW PUNCTUATION GERSHAYIM should not be a word
52 ;; boundary when surrounded by letters. Our infrastructure for
53 ;; finding a word boundary doesn't support 3-character
54 ;; definitions, so for now simply make this a word-constituent
55 ;; character. This leaves a problem of having GERSHAYIM at the
56 ;; beginning or end of a word, where it should be a boundary;
57 ;; FIXME.
58 (modify-syntax-entry #x5f4 "w ") ; GERSHAYIM
59 ;; These all should not be a word boundary when between letters,
60 ;; according to UAX #29, so they again are prone to the same
61 ;; problem as GERSHAYIM; FIXME.
62 (modify-syntax-entry #xb7 "w ") ; MIDDLE DOT
63 (modify-syntax-entry #x2027 "w ") ; HYPHENATION POINT
64 (modify-syntax-entry #xff1a "w ") ; FULLWIDTH COLON
48 st) 65 st)
49 "Syntax table used while in `text-mode'.") 66 "Syntax table used while in `text-mode'.")
50 67