From xemacs-m  Thu Jun 19 21:23:54 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id VAA11386
	for <xemacs-beta@xemacs.org>; Thu, 19 Jun 1997 21:23:53 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id SAA16538; Thu, 19 Jun 1997 18:19:10 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id RAA02961; Thu, 19 Jun 1997 17:57:05 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id RAA05427; Thu, 19 Jun 1997 17:57:05 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id RAA05477; Thu, 19 Jun 1997 17:57:03 -0700
Date: Thu, 19 Jun 1997 17:57:03 -0700
Message-Id: <199706200057.RAA05477@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Adrian Aichner <aichner@ecf.teradyne.com>
Cc: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>,
        ilya@math.mps.ohio-state.edu, arius@informatik.uni-erlangen.de
Subject: cperl-mode syntax table problem/fix?
In-Reply-To: <rxsen9y4ib3.fsf@midnight.ecf.teradyne.com>
References: <rxsen9y4ib3.fsf@midnight.ecf.teradyne.com>
X-Mailer: VM 6.32 under 20.3 "Oslo" XEmacs Lucid (beta7)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "AA" == Adrian Aichner <aichner@ecf.teradyne.com> writes:

AA> _ has no text properties at all.

AA> By changing the syntax table entry for `_' from symbol-constituent to
AA> word-constituent I can fix this problem.

I was the one who changed it from word-constituent to
symbol-constituent.  If we're going to fix it, let's fix it right.
The Emacs standard is for `_' to be a symbol-constituent in those
languages where it can be used in a symbol.

AA> sub is displayed with font-lock-keyword-face
AA> and time_and_print with font-lock-function-name-face, as it should!

AA> I have not encountered any problems I may have caused by this change.

M-d will not work consistently across modes.

AA> What do you experts think of this change?

No.  

Ilya: I may have forgot to communicate with you when I made this
change to the XEmacs sources.  I think it's a mistake to use word
syntax for `_' 

Or, if word syntax is a better choice for `_', it should be used
everywhere.  perl is no different from ksh in this regard.

Ilya, do you agree to make this minor change?

Martin

