[Fwd: Re: Perl & emacs]

Richard Hector rhector at actrix.gen.nz
Mon Oct 7 17:37:31 CDT 2002


Oops, sorry, this was meant for the list ...

-----Forwarded Message-----

> From: Richard Hector <rhector at actrix.gen.nz>
> To: Piers Harding <piers at ompa.net>
> Subject: Re: Perl & emacs
> Date: 07 Oct 2002 23:41:21 +1300
> 
> On Mon, 2002-10-07 at 21:11, Piers Harding wrote:
> > 
> > On Mon, Oct 07, 2002 at 08:07:25PM +1300, Richard Hector wrote:
> > > 
> > > /(foo$)/
> > > 
> > > That, I think, is a simple, valid regular expression. But emacs thinks
> > > the parentheses are mismatched - presumably it thinks that $) is a
> > > variable (which I believe it isn't in this context).
> > > 
> > Hmm - which version of emacs is it?  I have just tried this out on Emacs
> > 21.2.1 - Linux RH 8.0, and it seems fine.
> 
> 21.2.1 on Debian 3.0, ?? on NetBSD (at VUW), 20.7.2 on Debian 3.0.
> 
> I just open a buffer with a .pl extension so that emacs knows what it
> is, paste the aboce in, and double-click on the opening paren. That
> should highlight the parenthesised expression, but it beeps and flashes
> this message:
> 
> Scan error: "Unbalanced parentheses", 2, 9
> 
> Richard
> 





More information about the Wellington-pm mailing list