From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Cai Qian" Newsgroups: gmane.emacs.help Subject: sh-script-mode Date: Mon, 29 May 2006 16:41:47 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148917873 26038 80.91.229.2 (29 May 2006 15:51:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 May 2006 15:51:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 29 17:51:07 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fkk1L-0002IR-0S for geh-help-gnu-emacs@m.gmane.org; Mon, 29 May 2006 17:51:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fkk1K-0005Pv-IY for geh-help-gnu-emacs@m.gmane.org; Mon, 29 May 2006 11:51:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FkjsO-0002BE-BO for help-gnu-emacs@gnu.org; Mon, 29 May 2006 11:41:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FkjsL-00026e-9a for help-gnu-emacs@gnu.org; Mon, 29 May 2006 11:41:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FkjsL-00026M-1P for help-gnu-emacs@gnu.org; Mon, 29 May 2006 11:41:49 -0400 Original-Received: from [64.233.184.225] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fkjxv-0007sP-Tk for help-gnu-emacs@gnu.org; Mon, 29 May 2006 11:47:36 -0400 Original-Received: by wr-out-0506.google.com with SMTP id 37so882434wra for ; Mon, 29 May 2006 08:41:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iLdl6eo47NFX5DRGx5gOsfpw/U37GOGPjxMVyHtjX5ypGiqzsIjtDxnfgh2METFQHct/NLLD83x330PfKQWoGPhha6RnSTUdze3iG7Ddwy8/4e198/UfopJzNAoILLBT3IaTicBKRBHrEG4Zw9X9EwC6YgC/n9BWs46WUcy10GI= Original-Received: by 10.54.101.13 with SMTP id y13mr2255785wrb; Mon, 29 May 2006 08:41:47 -0700 (PDT) Original-Received: by 10.54.115.14 with HTTP; Mon, 29 May 2006 08:41:47 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline X-Mailman-Approved-At: Mon, 29 May 2006 11:50:54 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35274 Archived-At: 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