Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[OT] Emacs and zsh syntax
- X-seq: zsh-users 17012
- From: Jesper Nygårds <jesper.nygards@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: [OT] Emacs and zsh syntax
- Date: Mon, 16 Apr 2012 12:52:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nm5HJZAySWp2iMKMO//1ljQh2IGj9pNoD4/YTFTdssU=; b=fC0jXKwcgJcUOwQuBObKlyeTPZoOt6UZVRhUNfIptlZSVxXoPh5E9TLSTUnQDj/o7z LbFbyF26+Hdn7DWGhg2EQzB9Xhoq5fjohLzw/iZCEBomXnEqwQTMyz+i15WuPMoUK33E cxIDHdd8nU/k+II+AMSdS6g2YHmrVXx/onZ84HaoMndLCk+ITGM+d94VuOrNDkxD6t3s XAauO04YBJIsdg91P2310ceGAHhZ9NyAQyAX+BKb31LKPGwiaG1U58Wra+jrayyVWTp4 fMXZ7NwrvUXRhRuq/BxssX+L6ysaRgqCbA/JwCVxQ6tsHJWxy06LyJwXNiHHNUqAfAye Wr6w==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I find that (GNU) emacs' shell-script-mode doesn't fully understand
zsh syntax. Among other things, emacs considers everything following a
hash sign (#) a comment, which of course breaks when using globbing
flags etc. I guess I can live with the occasional wrong coloring, but
it's more annoying when it breaks indentation.
How are other people dealing with this? Are there any modifications
one can do to the emacs configuration, or any other workaround?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author