From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [jidanni@jidanni.org: shell-script-mode case indenting] Date: Thu, 21 Sep 2006 16:15:21 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1158869988 30006 80.91.229.2 (21 Sep 2006 20:19:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Sep 2006 20:19:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 21 22:19:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GQUza-0003Gk-Ov for ged-emacs-devel@m.gmane.org; Thu, 21 Sep 2006 22:17:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQUza-0001Ov-4a for ged-emacs-devel@m.gmane.org; Thu, 21 Sep 2006 16:17:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQUx9-0006OB-61 for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:15:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQUx8-0006NL-Km for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:15:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQUx8-0006N4-Gj for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:15:22 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQV0i-0002y7-OF for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:19:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GQUx7-0000eH-Ns; Thu, 21 Sep 2006 16:15:21 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60074 Archived-At: Would someone please DTRT and ack? This is not a must-fix bug, since perfect indentation in Shell Script mode is too much to hope for, but we should fix it if it isn't hard. ------- Start of forwarded message ------- To: emacs-pretest-bug@gnu.org MIME-version: 1.0 Content-type: text/plain; charset=utf-8 From: Dan Jacobson Date: Thu, 21 Sep 2006 18:28:18 +0800 Subject: shell-script-mode case indenting X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4 Pressing TAB on each line in this file.sh produces the first line of this case expression indented different than the rest: (sed 's/.$/ &/'|while read route company; do case $company in r)set ???? Renyou;; z)set ???? Taizhong;; q)set ???? Quanhang;; j)set ???? Juye;; t)set ???? Tonglian;; *)echo $company: HUH? 1>&2;exit 55;; esac; echo "[[????:???? ${1}???? - Operator $2 Bus Co.]]" \ >> $route; done)<