From xemacs-m  Wed Feb  5 14:42:13 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA04948
	for <xemacs-beta@xemacs.org>; Wed, 5 Feb 1997 14:42:11 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id VAA02385; Wed, 5 Feb 1997 21:42:09 +0100 (MET)
Sender: hniksic@public.srce.hr
To: 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>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 05 Feb 1997 21:42:08 +0100
In-Reply-To: Adrian Aichner's message of 05 Feb 1997 21:16:26 +0100
Message-ID: <kigwwsnx9wf.fsf@jagor.srce.hr>
Lines: 43
X-Mailer: Gnus v5.4.11/XEmacs 19.14

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

> This is just to let everybody know that cperl-mode works fine in
> (emacs-version)

Yes, it seems so (save for the imenu, whatever imenu is).  I have two
questions, though:

1) Why doesn't cperl-mode do a (provide 'cperl-mode)??  When I do a
(require 'cperl-mode), XEmacs loads it, and barfs about "required
feature not provided".  Inspection of the code shows that it doesn't
contain a single provide statement!  This patch makes it do the right
thing, and I think it should be applied for 20.1/19.15 (maybe even
20.0):

--- cperl-mode.el.orig	Wed Feb  5 21:36:52 1997
+++ cperl-mode.el	Wed Feb  5 21:37:10 1997
@@ -4526,3 +4526,5 @@
 	    (cperl-get-help)
 	    (setq cperl-help-shown t))))
       (cperl-lazy-install)))
+
+(provide 'cperl-mode)
--- ChangeLog.orig	Wed Feb  5 21:36:59 1997
+++ ChangeLog	Wed Feb  5 21:37:23 1997
@@ -1,3 +1,7 @@
+Wed Feb  5 21:37:13 1997  Hrvoje Niksic  <hniksic@bjesomar.srce.hr>
+
+	* modes/cperl-mode.el: Provide 'cperl-mode.
+
 Fri Jan 31 21:38:47 1997  Steven L Baur  <steve@altair.xemacs.org>
 
 	* psgml/psgml-html.el (html-auto-sgml-entity-conversion): Allow

2) Why isn't cperl-mode the default perl mode?  Is there a reason for
it not to be?  As far as I understand, the default perl mode with
XEmacs is garbage, and if cperl-mode works fine...?

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Then...  his face does a complete change of expression.  It goes from
a "Vengeance is mine" expression, to a "What the fuck" blank look.

