From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: perl indentation Date: Tue, 02 Dec 2008 08:44:29 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <863ah6bprm.fsf@lifelogs.com> References: <5a139526-7f15-48b0-8460-7ceacdf70106@v5g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228232488 8586 80.91.229.12 (2 Dec 2008 15:41:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 15:41:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 16:42:31 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7XOR-0007zE-CQ for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 16:42:31 +0100 Original-Received: from localhost ([127.0.0.1]:49528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7XNH-0003fn-0P for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 10:41:19 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: news.albasani.net NcFWwpTHuzURrBIwhU06azI17xwAw33RdHzj+ye8zXcqHljBjDPdwPQDFbWOMm+ezVTfpgAaocIBhM5VN+WS/fVCozfWlW04svRkghvjCZ2d4yXXdZ0ncd3Ek5H+zXPu Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Tue, 2 Dec 2008 14:45:12 +0000 (UTC) X-User-ID: eJlNAS1CuJ6AcvcpmLQTLG6UOCGJ8uQqCToNF08JV98= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:nmHMGLfDiFALLtMi/jaAaVg4Sis= sha1:C7v1w5HM8XTVU3hOyBwPuZYfb/U= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-NNTP-Posting-Host: 8m80yKY1Rp7wWTVMYM37cPfty2rq1DkS6mOtAQBBYkw= Original-Xref: news.stanford.edu gnu.emacs.help:164992 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60317 Archived-At: On Mon, 1 Dec 2008 20:53:45 -0800 (PST) Jagadeesh wrote: J> On Dec 2, 12:11 am, aartist wrote: >> On Dec 1, 11:13 am, Jagadeesh 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 test.pl Then do M-x cperl-mode Type in a short program, e.g. #!/usr/bin/perl if (scalar @ARGV) { print "indentation test here\n"; } Does line 5 not indent when you hit TAB? It does for me. Ted