From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Russell Newsgroups: gmane.emacs.help Subject: Re: mode for editing installscript Date: Mon, 20 Dec 2004 10:33:11 -0500 Organization: Cisco Systems Inc. Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103557186 26941 80.91.229.6 (20 Dec 2004 15:39:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Dec 2004 15:39:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 20 16:39:40 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CgPdM-0000Mi-00 for ; Mon, 20 Dec 2004 16:39:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgPnn-0006kw-QZ for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Dec 2004 10:50:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xit-03!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:6g89vckonDj/2ptjY4SmIm06p7o= Cache-Post-Path: sj-nntpcache-5!unknown@dhcp-10-86-164-67.cisco.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 33 Original-Xref: shelby.stanford.edu gnu.emacs.help:127436 Original-To: help-gnu-emacs@gnu.org 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: main.gmane.org gmane.emacs.help:22885 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22885 John Russell writes: > I have to edit InstallScript code which is the languange used by InstallShield. > I would like to use emacs but I can't find a good mode for it. I use C-mode > by default which does OK with some syntax highlighting but the indentation > is all wrong because of the installscript language sturcture. > > e.g. > > function () > STRING st1 > NUMBER nr1 > BOOL b1 > begin > > if something then > stuff > endif; > > > endif; > > > Does anyone know of a mode that might be helpful here. Or at least, a > way to disable the autoinending in C-mode so I can use syntax > highlighting but use tabs a la text-mode. Thanks a lot. > Does anyone know of any other language that even has this kind syntax which might work better than c-mode? Thanks. John --