From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4211 invoked from network); 19 Jul 2000 19:29:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Jul 2000 19:29:13 -0000 Received: (qmail 1302 invoked by alias); 19 Jul 2000 19:29:00 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3300 Received: (qmail 1295 invoked from network); 19 Jul 2000 19:28:59 -0000 From: "Bart Schaefer" Message-Id: <000719122736.ZM1276@candle.brasslantern.com> Date: Wed, 19 Jul 2000 12:27:36 -0700 In-Reply-To: Comments: In reply to Juhapekka Tolvanen "Zsh-script-mode for emacs?" (Jul 19, 7:13pm) References: X-Mailer: Z-Mail Lite (5.0.0 30July97) To: Juhapekka Tolvanen , zsh-users@sunsite.auc.dk Subject: Re: Zsh-script-mode for emacs? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.