Aidan Kehoe wrote:
Any objections?
$ grep -c ';WS;' UnicodeData.txt
17
$ grep -c ';L;' UnicodeData.txt
8920
$
‘WS’ there is white space, L is left-to-right word constituents, and that
comparison doesn’t even include the Han characters or right-to-left oriented
characters.
src/ChangeLog addition:
2005-12-17 Aidan Kehoe <kehoea(a)parhasard.net>
* chartab.c (Fmake_char_table):
Make character class default to word, not whitespace.
XEmacs Trunk source patch:
Diff command: cvs -q diff -u
Files affected: src/chartab.c
Index: src/chartab.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/chartab.c,v
retrieving revision 1.38
diff -u -u -r1.38 chartab.c
--- src/chartab.c 2005/10/25 11:16:21 1.38
+++ src/chartab.c 2005/12/17 21:10:55
@@ -600,7 +600,7 @@
/* Qgeneric not Qsyntax because a syntax table has a mirror table
and we don't want infinite recursion */
ct->mirror_table = Fmake_char_table (Qgeneric);
- set_char_table_default (ct->mirror_table, make_int (Spunct));
+ set_char_table_default (ct->mirror_table, make_int (Sword));
XCHAR_TABLE (ct->mirror_table)->mirror_table_p = 1;
XCHAR_TABLE (ct->mirror_table)->mirror_table = obj;
}
looks ok to me.