From xemacs-m  Mon Jun 23 11:10:22 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA20694
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 11:10:22 -0500 (CDT)
Received: from engine.ecf.teradyne.com (engine.ecf.teradyne.com [131.101.192.6]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id MAA03207; Mon, 23 Jun 1997 12:13:20 -0400 (EDT)
Received: from midnight.eng.ecf.teradyne.com (midnight.ecf.teradyne.com [131.101.192.49]) by engine.ecf.teradyne.com (8.7.1/8.7.1) with SMTP id SAA08047; Mon, 23 Jun 1997 18:08:43 +0200 (MET DST)
Received: by midnight.eng.ecf.teradyne.com (SMI-8.6/SMI-SVR4)
	id SAA09630; Mon, 23 Jun 1997 18:08:43 +0200
To: Ilya Zakharevich <ilya@math.ohio-state.edu>
Cc: mrb@Eng.Sun.COM (Martin Buchholz),
        xemacs-beta@xemacs.org (XEmacs Beta Mailing List),
        arius@informatik.uni-erlangen.de
Subject: Re: cperl-mode syntax table problem/fix?
References: <199706222256.SAA05235@monk.mps.ohio-state.edu>
X-Face: 4[iHdXiTu\V3u[~\I)<f9HC);%~nG8`oUqv#uzvs6=\V{AjN6Sn
 c/qi;YLwRmEbt8Y*=j5n(urqY@chPh@J'D"QlqD!C8>*}#kYF[-tYl3VZga/HSOP|K,{L
 Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9
 =w|R6U3_;SH&B<Mfy6Q%#
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Adrian Aichner <aichner@ecf.teradyne.com>
Date: 23 Jun 1997 18:08:42 +0200
In-Reply-To: Ilya Zakharevich's message of "Sun, 22 Jun 1997 18:56:20 -0400 (EDT)"
Message-ID: <rxswwnlmhdh.fsf@midnight.ecf.teradyne.com>
Lines: 39
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta8) - "Copenhagen"

>>>>> "Ilya" == Ilya Zakharevich <ilya@math.ohio-state.edu> writes:

    Ilya> Adrian Aichner writes:
    >> Obviously the syntax table change broke font-locking for cperl-mode.
    >> 
    >> I have tried to patch cperl-mode.el by excluding leading and trailing
    >> context of _ from matches of font-lock-type-face and
    >> font-lock-other-type-face.

    Ilya> Thank you for your work.  My intention is to make CPerl work if user
    Ilya> wants to set _ to be a symbol-constituent (this will also cover broken
    Ilya> system defaults that XEmacs maintainers feel obliged to set ;-).
    Ilya> However, you address it from a wrong side, the solution should be to
    Ilya> ask font-lock to use "correct" symbol table for the language.

    Ilya> Please make this change conditional on the value of _ in the
    Ilya> syntax-table, so that most systems (on which _ will be
    Ilya> word-constituent) will not take performance penalty for this.

Ilya,

thanks for you inputs. I will try to make a patch which will work for
`_' having word-constituent as well as symbol-constituent syntax.

Would cperl-mode.el.1.32.5 be a good version to base my work on?

Regards,

Adrian

    Ilya> Note also that you used a very old copy of CPerl, please send your
    Ilya> patches wrt the latest version (on
    Ilya> 	ftp://ftp.math.ohio-state.edu/pub/users/ilya/
    Ilya> ).

    Ilya> Thanks,
    Ilya> Ilya


