From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Joe Casadonte" Newsgroups: gmane.emacs.help Subject: Re: Why does cperl-mode slaughter my formatting? Date: 01 Feb 2003 23:51:15 -0500 Organization: Llama Fresh Farms, Neare Paraguay Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <_ZO_9.190104$ej1.56061@news02.bloor.is.net.cable.rogers.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044161672 4898 80.91.224.249 (2 Feb 2003 04:54:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2003 04:54:32 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18fC9H-0001Gs-00 for ; Sun, 02 Feb 2003 05:54:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18fCAr-0000d6-00 for gnu-help-gnu-emacs@m.gmane.org; Sat, 01 Feb 2003 23:56:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!newspeer.cts.com!66.250.146.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 Original-Lines: 67 Original-NNTP-Posting-Host: e3e554c3.news.newshosting.com Original-X-Trace: DXC=k?DNlo2B\nkFUOhCH7WjVo07XCBha[V List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6213 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6213 On Sat, 01 Feb 2003, Harry Putnam wrote: > Do we have the same version? > C-h v cperl-version > cperl-version's value is "4.32" > > Version of IZ-supported CPerl package this file is based on. I have that version and indenting for me looks OK: open(FILE, "<./rcfile"); while () { if (/^/) { $save_dir = 'TRUE'; } if (/^<\/DIR>/) { $save_dir = ""; } if ($save_dir) { push @directories,$_; } if (/^/) { $save_hre = "TRUE"; } if (/^<\/HEADER_RE>/) { $save_hre = ""; } if ($save_hre) { push @header_re,$_; } if (/^/) { $save_bre = "TRUE"; } if (/^<\/BODY_RE>/) { $save_bre = ""; } if ($save_bre) { push @body_re,$_; } } The only cperl indentation customization that I have that is not at the standard setting is: Cperl Continued Statement Offset: 4 I do have every "electric" & "hairy" option turned off, when possible. In fact, outside of the font-lock stuff, I would love to turn ALL of cperl off -- it can be quite annoying at times..... -- Regards, joe Joe Casadonte jcasadonte@northbound-train.com ------------------------------------------------------------------------------ Llama Fresh Farms => http://www.northbound-train.com Gay Media Resource List => http://www.northbound-train.com/gaymedia.html Perl for Win32 => http://www.northbound-train.com/perlwin32.html Emacs Stuff => http://www.northbound-train.com/emacs.html Music CD Trading => http://www.northbound-train.com/cdr.html ------------------------------------------------------------------------------ Live Free, that's the message! ------------------------------------------------------------------------------