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

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

Re: Perl indentation problem?


From: Pedro Alves
Subject: Re: Perl indentation problem?
Date: Mon, 26 Nov 2001 14:33:55 +0000
User-agent: Mutt/1.2.5i

I forgot to mention that the problem is in the unappropriate
indentation of the code

On Mon, Nov 26, 2001 at 12:28:47PM +0000, Pedro Alves wrote:
> 
> 
> Hi. Take a look at the way emacs handles this piece of perl code:
> 
> ____________________________
> while (@vars) {
>   ($var, $val) = split("=", shift @vars);
> 
> next if $val =~ /^\s*$/; <- ?!?!?!?
> 
> $val =~ tr/+/ /;
> $val =~ s/%([0-9A-F][0-9A-F])/&hex2dec($1)/ge;
> }
> ____________________________
> 
> IMHO, this is not supposed to happen...
> 
> Any clues?
> 
> 
> 
> -- 
> Pedro Miguel G. Alves
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
Pedro Miguel G. Alves

THINK - Tecnologias de Informa??o
Av. Defensores de Chaves n? 15 4?D, 1000-109 Lisboa Portugal
Tel: +351 21 3590285   Fax: +351 21 3582729
HomePage: www.think.co.pt



reply via email to

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