Re: cperl-mode and emacs-21.4 brocken?

From: Mike Dowling (mike53_at_moocow.tu-bs.de)
Date: 02/19/05


Date: 19 Feb 2005 15:23:53 GMT

On Fri, 18 Feb 2005 20:18:44 +0000 (UTC), Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> [A complimentary Cc of this posting was sent to
> Mike Dowling
><fake@tu-bs.de>], who wrote in article <slrnd1bmnm.q7.mike53@moocow.localhost>:
>> I had no problems with cperl-mode with emacs-21.3.
>> With emacs-21.4, it still works, but only if started manually (M-x
>> cperl-mode). Starting automaticall with
>>
>> (autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl
>> programs" t)
>>
>> in the .emacs file fails. Instead, I get the message:
>>
>> File mode specification error: (error "Autoloading failed to define
>> function perl-mode")
>
> Maybe you are using "my" cperl-mode.el with 21.3, and "their" with
> 21.4? IIRC, with "their" version you need a different way to
> auto-associate, since it won't overwrite perl-mode...

Perhaps! I used the cperl-mode that came with emacs ("theirs") but it
appeared to have been authored by you, but its probabale old. Where can
I get the latest version, could you perhaps post it here?

Here's the blurb in the commentary in the beginning:

;;; cperl-mode.el --- Perl code editing commands for Emacs

;; Copyright (C) 1985, 86, 87, 91, 92, 93, 94, 95, 96, 1997
;; Free Software Foundation, Inc.

;; Author: Ilya Zakharevich and Bob Olson
;; Maintainer: Ilya Zakharevich <ilya@math.ohio-state.edu>
;; Keywords: languages, Perl

So it looks like it's yours, but

(defvar cperl-tips 'please-ignore-this-line
  "Get newest version of this package from
  ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs
and/or
  ftp://ftp.math.ohio-state.edu/pub/users/ilya/perl
Subdirectory `cperl-mode' may contain yet newer development releases
  and/or
patches to related files.

For best results apply to an older Emacs the patches from
  ftp://ftp.math.ohio-state.edu/pub/users/ilya/cperl-mode/patches
\(this upgrades syntax-parsing abilities of RMS Emaxen v19.34 and
v20.2 up to the level of RMS Emacs v20.3 - a must for a good Perl
mode.) You will not get much from XEmacs, its syntax abilities are
too primitive.
 
But these FTP URLs apparently no longer exist, so I deduce the
cperl-mode distributed with emacs is ancient. A google search for more
recent sources drew a blank.

Cheers,
Mike Dowling

-- 
Sorry, after years of fighting spam, I've given in.  I changed
my email address, and don't want to reveal it to spammers.  I
understand any wrath therby incurred, but I'm no longer in any
position to continue the fight.


Relevant Pages

  • Re: emacs cperl-mode: indentation and so on...
    ... > I'm learning perl and I want to use emacs and his cperl mode. ... couple of the other handy functions cperl-mode keeps up its sleeve. ...
    (comp.lang.perl.misc)
  • Re: cperl-mode and emacs-21.4 brocken?
    ... > in the .emacs file fails. ... > Any clues, anybody? ... I installed emacs 21.4.2 on solaris and was surprised to have only ... cperl-mode 4.32 version. ...
    (comp.lang.perl.misc)
  • Re: About the error message in Perl : "Missing right curly braces"
    ... track which line contains that curly brace which is causing that problem, ... Load the code into Emacs. ... Ensure cperl-mode is enabled. ...
    (perl.beginners)
  • Re: cperl-mode and emacs-21.4 brocken?
    ... > Mike Dowling ... Well, it hurts a bit. ... Obviously the version with emacs 21.4 is broken, ... I always need the latest version of all useful Linux ...
    (comp.lang.perl.misc)
  • Re: cperl-mode and emacs-21.4 brocken?
    ... [A complimentary Cc of this posting was sent to ... Mike Dowling ... > appeared to have been authored by you, but its probabale old. ... One which comes with Emacs is a tiny bit dumbed down to be more ...
    (comp.lang.perl.misc)