Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh-script-mode for emacs?
- X-seq: zsh-users 3301
- From: Kevin Sullivan <kevins@xxxxxxxxxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxxxxxxxxx
- Subject: Re: Zsh-script-mode for emacs?
- Date: Wed, 19 Jul 2000 16:06:55 -0400 (EDT)
- Cc: juhtolv@xxxxxxxxx, zsh-users@xxxxxxxxxxxxxx
- In-reply-to: <000719122736.ZM1276@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.10.10007191907090.6757-100000@xxxxxxxxxxxxxxx> <000719122736.ZM1276@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Kevin Sullivan <kevins@xxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author