From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13135 invoked from network); 22 Mar 2004 05:54:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Mar 2004 05:54:16 -0000 Received: (qmail 16565 invoked by alias); 22 Mar 2004 05:54:03 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7223 Received: (qmail 16543 invoked from network); 22 Mar 2004 05:54:03 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 22 Mar 2004 05:54:03 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 22 Mar 2004 5:54:3 -0000 Received: (qmail 2568 invoked from network); 22 Mar 2004 05:54:03 -0000 Received: from web12406.mail.yahoo.com (216.136.173.133) by a.mx.sunsite.dk with SMTP; 22 Mar 2004 05:54:01 -0000 Message-ID: <20040322055359.7487.qmail@web12406.mail.yahoo.com> Received: from [66.92.171.57] by web12406.mail.yahoo.com via HTTP; Sun, 21 Mar 2004 21:53:58 PST Date: Sun, 21 Mar 2004 21:53:58 -0800 (PST) From: Bob Schmertz Reply-To: robert.schmertz@terpalum.umd.edu Subject: Re: syntax overview for zsh? To: Thorsten Kampe , zsh-users@sunsite.dk In-Reply-To: <4tgdwh9stgna$.dlg@thorstenkampe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 --- Thorsten Kampe wrote: > >> If anyone else has a vim or X(Emacs) syntax highlighter I'd be > >> grateful, too. > > > > I'm not a major-league zsh programmer, so I may well be ignorant, but > > what's wrong with good-old shell-script mode in (X)Emacs? > > Nothing, if I could find the defining syntax file. Nothing like > "sh.el" on my Gentoo box (where I have XEmacs). > If you just want to use it as is, just type M-x shell-script-mode (tab completion works here, too), and it'll put you in Emacs' proper mode. If you want to tweak the syntax, the appropriate elisp file is the non-obvious sh-script.el. If you want to know how to make it automatically detect zsh-ness and it's not already doing so (works for me with no special effort in GNU Emacs if the file starts with #!/bin/zsh), email me offline and I'll tell you what to put in your .emacs. ===== Cheers, Bob Schmertz __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html