From: Klaus Zeitler <kzeitler+usenet@gsm-mailhost.de.lucent.com>
Subject: Re: Major mode for bash shell scripts?
Date: 11 Apr 2003 15:43:30 +0200 [thread overview]
Message-ID: <q5gwui1no8t.fsf@lucent.com> (raw)
In-Reply-To: 3E95A24C.4010204@yahoo.com
>>>>> "Kevin" == Kevin Rodgers <ihs_4664@yahoo.com> writes:
Kevin>
Kevin> Klaus Zeitler wrote:
>> I had to tweak a few variables to change it to e.g.
>> if [ ... ]
>> then
>> ...
>> fi
Kevin> Could you post your variable settings? Thanks!
(setq sh-indent-for-then 0)
(setq sh-indent-for-do 0)
(setq sh-indent-after-do '+)
(setq sh-indent-for-case-label '*)
(setq sh-indent-for-case-alt '+)
(setq sh-indent-comment t)
results in the following layout:
if [ ... ]
then
...
else
...
fi
while/for ...
do
...
done
case ... in
a)
...
;;
*)
esac
and comments will be aligned with the code.
I have one OT question: My last followups to gnu.emacs.bug didn't show up.
Is it not possible anymore to post directly to gnu.emacs.bug and do I
have to send followups to bug-gnu-emacs@gnu.org instead?
Klaus
--
------------------------------------------
| Klaus Zeitler Lucent Technologies |
------------------------------------------
---
You can't start worrying about what's going to happen. You get spastic
enough worrying about what's happening now. -- Lauren Bacall
prev parent reply other threads:[~2003-04-11 13:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-10 5:54 Major mode for bash shell scripts? Brian Poole
2003-04-10 7:15 ` Klaus Zeitler
2003-04-10 16:56 ` Kevin Rodgers
2003-04-11 13:43 ` Klaus Zeitler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=q5gwui1no8t.fsf@lucent.com \
--to=kzeitler+usenet@gsm-mailhost.de.lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.