From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: skeleton.el machinery eats newlines. Date: Fri, 10 Jan 2003 00:24:48 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301100624.AAA27078@eel.dms.auburn.edu> References: <200301080429.WAA23098@eel.dms.auburn.edu> <200301100436.WAA27007@eel.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042179946 15624 80.91.224.249 (10 Jan 2003 06:25:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 06:25:46 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Wsbv-00043r-00 for ; Fri, 10 Jan 2003 07:25:43 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Wsho-0003RI-00 for ; Fri, 10 Jan 2003 07:31:48 +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 18Wsbn-00064C-05 for emacs-devel@quimby.gnus.org; Fri, 10 Jan 2003 01:25:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Wsb8-0004r3-00 for emacs-devel@gnu.org; Fri, 10 Jan 2003 01:24:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Wsab-000357-00 for emacs-devel@gnu.org; Fri, 10 Jan 2003 01:24:23 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WsaY-0002qb-00 for emacs-devel@gnu.org; Fri, 10 Jan 2003 01:24:19 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id AAA24678; Fri, 10 Jan 2003 00:24:15 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id AAA27078; Fri, 10 Jan 2003 00:24:48 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: teirllm@dms.auburn.edu In-reply-to: <200301100436.WAA27007@eel.dms.auburn.edu> (message from Luc Teirlinck on Thu, 9 Jan 2003 22:36:00 -0600 (CST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10619 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10619 I am not sure any more that the third indentation "bug" I referred to in my previous posting is not merely a product of my imagination. Putting a buffer in sh-mode for bash and answering aa to all minibuffer questions yields: Current CVS: case aa in aa) ;; aa) ;;aa) ;;aa) ;;aa) ;;*) esac With my current patch: case aa in aa) ;; aa) ;; aa) ;; aa) ;; *) esac In Emacs20.7: case aa in aa) ;; aa) ;; aa) ;; aa) ;; *) esac It seems to me that the "shift to the right" of the ;; between Emacs20.7 and Emacs21 was a deliberate change and not an inadvertent bug. I am not an expert in shell indentation. I am not used to worry a lot about indentation because I use Emacs and I tend to just use whichever indentation style Emacs uses. Some of the shell scripts in the bash2.05b sources seem closer to the Emacs21 style than the Emacs20.7 indentation. I hope that I am not inadvertently starting an ideological "Indentation War" here. Sincerely, Luc.