From: Bob Schmertz <rschmertz@yahoo.com>
To: Thorsten Kampe <thorsten@thorstenkampe.de>, zsh-users@sunsite.dk
Subject: Re: syntax overview for zsh?
Date: Sun, 21 Mar 2004 21:53:58 -0800 (PST) [thread overview]
Message-ID: <20040322055359.7487.qmail@web12406.mail.yahoo.com> (raw)
In-Reply-To: <4tgdwh9stgna$.dlg@thorstenkampe.de>
--- Thorsten Kampe <thorsten@thorstenkampe.de> 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
next prev parent reply other threads:[~2004-03-22 5:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-20 15:51 Thorsten Kampe
2004-03-20 16:04 ` Nikolai Weibull
2004-03-20 18:15 ` Thorsten Kampe
2004-03-21 5:41 ` Bob Schmertz
2004-03-21 16:02 ` Thorsten Kampe
2004-03-22 5:53 ` Bob Schmertz [this message]
2004-03-22 11:58 ` Vincent Stemen
2004-03-23 5:28 ` Bob Schmertz
2004-03-23 8:09 ` Vincent Stemen
2004-03-21 12:24 ` Nikolai Weibull
2004-03-23 18:49 ` Thorsten Kampe
2004-03-23 21:09 ` Nikolai Weibull
2004-03-22 1:14 ` Thorsten Haude
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040322055359.7487.qmail@web12406.mail.yahoo.com \
--to=rschmertz@yahoo.com \
--cc=robert.schmertz@terpalum.umd.edu \
--cc=thorsten@thorstenkampe.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).