[Top][All Lists]

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

Re: perl indentation

From: Ted Zlatanov
Subject: Re: perl indentation
Date: Tue, 02 Dec 2008 08:44:29 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Mon, 1 Dec 2008 20:53:45 -0800 (PST) Jagadeesh <address@hidden> wrote: 

J> On Dec 2, 12:11 am, aartist <address@hidden> wrote:
>> On Dec 1, 11:13 am, Jagadeesh <address@hidden> wrote:
>> > Hi,
>> > Again this is a newbie question.
>> > how do I indent perl code? Is there any key?
>> > Thanks
>> > Jagadeesh
>> M-x cperl-mode

J> Thanks for the reply.
J> Its not indenting it. when I do M-x cperl-mode, there is no effect.

Start Emacs without any init files:

emacs -q

Then do

M-x cperl-mode

Type in a short program, e.g.


if (scalar @ARGV)
 print "indentation test here\n";

Does line 5 not indent when you hit TAB?  It does for me.


reply via email to

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