From xemacs-m  Wed Feb  5 18:53:09 1997
Received: from CNRI.Reston.VA.US (CNRI.Reston.VA.US [132.151.1.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id SAA09743
	for <xemacs-beta@xemacs.org>; Wed, 5 Feb 1997 18:53:08 -0600 (CST)
Received: from newcnri.cnri.reston.va.us by CNRI.Reston.VA.US id aa28650;
          5 Feb 97 19:51 EST
Received: from anthem.CNRI.Reston.Va.US by newcnri.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id TAA26475; Wed, 5 Feb 1997 19:51:49 -0500
Received: by anthem.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id TAA27782; Wed, 5 Feb 1997 19:51:47 -0500
Date: Wed, 5 Feb 1997 19:51:47 -0500
Message-Id: <199702060051.TAA27782@anthem.CNRI.Reston.Va.US>
From: "Barry A. Warsaw" <bwarsaw@CNRI.Reston.VA.US>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: xemacs-beta@xemacs.org
Subject: Re: xemacs-20.0-b90's cperl-mode.el can't indent attached example
References: <rxs4tg6rcmy.fsf@midnight.ecf.teradyne.com>
	<rxsn2tjnh45.fsf@midnight.ecf.teradyne.com>
	<kigwwsnx9wf.fsf@jagor.srce.hr>
	<yvtzpxivqb5.fsf@corona.pixar.com>
	<kiglo92yf6u.fsf@jagor.srce.hr>
Reply-To: "Barry A. Warsaw" <bwarsaw@CNRI.Reston.VA.US>
X-Attribution: BAW
X-Oblique-Strategy: Faced with a choice - do both (given by Dieter Rot)
X-WWW-Homepage: http://www.python.org/~bwarsaw


>>>>> "Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:

    Hrv> Hunter Kelly <retnuh@corona.pixar.com> writes:

    >> I agree that it should provide 'cperl-mode, but shouldn't it
    >> also provide 'perl-mode as well?  I think that would be
    >> especially true if we make it the default (which I think is a
    >> good idea).

    Hrv> No, I don't think so.  cperl-mode.el must provide cperl-mode,
    Hrv> and that's it.  If we make it default, there will be
    Hrv> something like: (fset 'perl-mode 'cperl-mode)

    Hrv> but the cperl-mode will still get loaded.  For example,
    Hrv> (featurep 'cc-mode) gives t for me, whereas (featurep
    Hrv> 'c-mode) gives nil, although I call C mode with M-x c-mode.

I agree with Hrvoje, this is the way it should be.  cc-mode is the
"feature" in the requires/provides/featurep sense.  If you wanted to
test for the existance of c-mode, you'd use (fboundp 'c-mode).

-Barry

