From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4544 invoked from network); 19 Jul 2000 20:07:30 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Jul 2000 20:07:30 -0000 Received: (qmail 6851 invoked by alias); 19 Jul 2000 20:07:15 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3301 Received: (qmail 6844 invoked from network); 19 Jul 2000 20:07:15 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14710.2655.656848.172255@gargle.gargle.HOWL> Date: Wed, 19 Jul 2000 16:06:55 -0400 (EDT) From: Kevin Sullivan To: schaefer@candle.brasslantern.com Cc: juhtolv@st.jyu.fi, zsh-users@sunsite.auc.dk Subject: Re: Zsh-script-mode for emacs? In-Reply-To: <000719122736.ZM1276@candle.brasslantern.com> References: <000719122736.ZM1276@candle.brasslantern.com> X-Mailer: VM 6.71 under 21.1 (patch 4) "Arches" XEmacs Lucid Reply-To: Kevin Sullivan Bart Schaefer writes: > On Jul 19, 7:13pm, Juhapekka Tolvanen wrote: > > Subject: Zsh-script-mode for emacs? > > > > Does someone know any good elisp-file that would implement major mode for > > editing of zsh-scripts with emacs? Even vi-clone called Vim has own mode for > > Zsh, but emacs does not have it, yet. > > If you investigate shell-script-mode in recent versions of GNU emacs, you'll > find that it does in fact classify zsh as a derivative of ksh88 and attempt > to handle it that way (e.g. it'll recognize #!/bin/zsh and automatically > start shell-script-mode, etc.) It's got most of the list of keywords right, > knows how to insert loop skeletons, etc. > > I have no idea whether XEmacs has this yet. Yes in fact XEmacs does automaticly start shell-script-mode when loading a zsh script with '#!/bin/zsh'. -Kevin Sullivan