unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Bug : Perl indentation
@ 2005-06-07 14:45 na frederic
  0 siblings, 0 replies; 2+ messages in thread
From: na frederic @ 2005-06-07 14:45 UTC (permalink / raw)


There is a trouble when I try to indent code after a #
is found inside a print command.

I have this indentation with # present inside a print
command.

print "\n # Parcours de $main::arg #########";
    while(<FICHIERLOG>)
{
    $main::line = $_;
}

And I have this one when #is not present inside a
print command.

print "\n Parcours de $main::arg";
while(<FICHIERLOG>)
{
    $main::line = $_;
}

I think the while is badly indented.


	

	
		
_____________________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug : Perl indentation
       [not found] <mailman.3683.1118155897.25862.help-gnu-emacs@gnu.org>
@ 2005-06-07 22:59 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2005-06-07 22:59 UTC (permalink / raw)


> There is a trouble when I try to indent code after a #
> is found inside a print command.

> I have this indentation with # present inside a print
> command.

> print "\n # Parcours de $main::arg #########";
>     while(<FICHIERLOG>)
> {
>     $main::line = $_;
> }

> And I have this one when #is not present inside a
> print command.

> print "\n Parcours de $main::arg";
> while(<FICHIERLOG>)
> {
>     $main::line = $_;
> }

> I think the while is badly indented.

This should have gone to gnu.emacs.bug, but for what it's worth it seems to
be fixed in Emacs-CVS, so I can't remember when/how it got fixed,


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-07 22:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3683.1118155897.25862.help-gnu-emacs@gnu.org>
2005-06-07 22:59 ` Bug : Perl indentation Stefan Monnier
2005-06-07 14:45 na frederic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).