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

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

sh-script-mode


From: Cai Qian
Subject: sh-script-mode
Date: Mon, 29 May 2006 16:41:47 +0100

Hi,

I would like to change the behaviour of default sh-script-mode through
.emacs about the following,

1) Here document,
When input <<, it should not automatically add EOF here document for
me, as I may want to use <<< instead. Therefore, I want to disable
this feature.

2) Case statement,
At the moment the default indention style is,

case $1 in
      -h)
      usage
      ;;

I want to change to

case $1 in
-h)
    usage
    ;;

3) Highlight for quota string
I want to disable syntax highlight for quota string, as it is a mess
when embed double or single quota inside quota, such as,

echo "$(echo "hello 'world'")"

Thanks,
Qian




reply via email to

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