bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl-mode in Emacs buggy?


From: Martin Jost
Subject: Re: perl-mode in Emacs buggy?
Date: Fri, 01 Dec 2000 14:59:00 +0100

Don Woods wrote:
> 
> fsavigny@onlinehome.de (Florian v. Savigny) writes:
> > do you know Emacs' perl-mode? I am puzzled about its indentation
> > and parentheses matching (seemingly the same problem):
> ..
> >           if ($zeile =~ /^Subject:(.*?$)/) {
> 
> As you say in your second post, emacs is treating $) as a special
> variable, instead of treating the $ as part of the regex. 

What are you using:
perl-mode.el (which comes with emacs) or cperl-mode.el (which you can
get from
ftp://ftp.math.ohio-state.edu/pub/users/ilya)

If you're using perl-mode.el, give cperl-mode a try. IHMO it's _much_
better.
I just pasted the line from above in my emacs and got "correct
looking" highlighting, indendation and parathesis-matching with
cperl-mode.

HTH

Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]