APPROVE COMMIT
NOTE: This patch has been committed.
Ar an t-ochtú lá de mí Lúnasa, scríobh Jerry James:
Sometime in the last week, something changed in 21.5 CVS that breaks
the
package build. I tried to build today and got a crash when byte
compiling auctex/tex.el. This expression from line 3136
(modify-syntax-entry ?« "." TeX-mode-syntax-table)
is no longer considered an sexp. Try doing forward-sexp across it, and
you get an unbalanced parentheses error. This appears to be the
problem: (char-syntax ?«) => \"
Okay, this moves the syntax to punctuation, which is what David et al. do,
and which is much more sane for German, for mixed-language text and for font
lock than is string syntax.
src/ChangeLog addition:
2006-08-23 Aidan Kehoe <kehoea(a)parhasard.net>
* syntax.c (complex_vars_of_syntax):
Guillemets are now punctuation, not parentheses. AucTeX does this,
and it's infinitely less annoying if you're dealing with German
text or mixed German and French.
XEmacs Trunk source patch:
Diff command: cvs -q diff -Nu
Files affected: src/syntax.c
===================================================================
RCS
Index: src/syntax.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/syntax.c,v
retrieving revision 1.30
diff -u -u -r1.30 syntax.c
--- src/syntax.c 2006/08/05 08:30:36 1.30
+++ src/syntax.c 2006/08/23 19:40:59
@@ -2519,7 +2519,7 @@
/* The guillemets. These are not parentheses, in contrast to what the old
code did. */
- define_standard_syntax((const UExtbyte *)"\253\273", Sstring);
+ define_standard_syntax((const UExtbyte *)"\253\273", Spunct);
/* The inverted exclamation mark, and the multiplication and division
signs. */
--
Santa Maradona, priez pour moi!