From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Shell-script mode indentation not hip to && and probably || too Date: Thu, 06 Mar 2003 05:34:13 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87isuxebvu.fsf@jidanni.org> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046905789 8070 80.91.224.249 (5 Mar 2003 23:09:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 23:09:49 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 06 00:09:48 2003 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 18qi1E-00025t-00 for ; Thu, 06 Mar 2003 00:09: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 18qhw4-0008Bj-01 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 05 Mar 2003 18:04:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18qhtW-0006jJ-00 for bug-gnu-emacs@gnu.org; Wed, 05 Mar 2003 18:01:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18qhtK-0006eJ-00 for bug-gnu-emacs@gnu.org; Wed, 05 Mar 2003 18:01:39 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qhsW-00065N-00 for bug-gnu-emacs@gnu.org; Wed, 05 Mar 2003 18:00:48 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qhs1-0001VW-00 for ; Thu, 06 Mar 2003 00:00:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qhkM-0000wD-00 for ; Wed, 05 Mar 2003 23:52:22 +0100 Original-Lines: 14 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4570 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4570 Well, there I was typing away in Shell-script[sh] mode, hitting tab all the while to ensure proper indentation, when all the sudden, I noticed that the lines after a && were not more indented, like it was no big deal. { for i in ${@?} do grep -i \\b$i\\b /usr/share/edict/enamdict && at_least_one_found=1 && echo ===== done } > $T.1 -- http://jidanni.org/ Taiwan(04)25854780