bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell-script mode indentation not hip to && and probably || too


From: Dan Jacobson
Subject: Shell-script mode indentation not hip to && and probably || too
Date: Thu, 06 Mar 2003 05:34:13 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]