From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4301 invoked from network); 13 Aug 2006 14:17:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Aug 2006 14:17:59 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 2334 invoked from network); 13 Aug 2006 14:17:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Aug 2006 14:17:49 -0000 Received: (qmail 21767 invoked by alias); 13 Aug 2006 14:17:42 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10594 Received: (qmail 21758 invoked from network); 13 Aug 2006 14:17:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 Aug 2006 14:17:42 -0000 Received: (qmail 1297 invoked from network); 13 Aug 2006 14:17:42 -0000 Received: from parhelion.firedrake.org (193.201.200.77) by a.mx.sunsite.dk with SMTP; 13 Aug 2006 14:17:41 -0000 Received: from phil by parhelion.firedrake.org with local (Exim 4.50 #1 (Debian)) id 1GCGma-0002he-HC for ; Sun, 13 Aug 2006 15:17:40 +0100 Date: Sun, 13 Aug 2006 16:17:40 +0200 From: Phil Pennock To: Zsh Users' List Subject: Re: What would you say is the most-used way of indenting case labels Message-ID: <20060813141740.GA10270@parhelion.globnix.org> Mail-Followup-To: Zsh Users' List References: <20060811142225.GA15429@parhelion.globnix.org> <200608111937.k7BJbfE6003802@pwslaptop.csr.com> <20060812164410.GB5309@blorf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060812164410.GB5309@blorf.net> Sender: Phil Pennock On 2006-08-12 at 09:44 -0700, Wayne Davison wrote: > I like the case labels to be less indented than the code that follows. > I personally put them at the same level as the case, and only include a > statement on the same line if all the labels are really short and the > commands a one-liner, so in the general case I'd separate them: Speaking as an end-user, not the person writing the zsh internals code, I agree with Wayne on general layout. I'll avoid the religious war about indent sizes and tab sizes, but my style otherwise matches Wayne's. -- VISTA: Viruses, Infections, Spyware, Trojans & Adware