Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [OT] Emacs and zsh syntax
- X-seq: zsh-users 17017
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Jesper Nygårds <jesper.nygards@xxxxxxxxx>
- Subject: Re: [OT] Emacs and zsh syntax
- Date: Tue, 17 Apr 2012 10:25:47 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=YYP8qPgNrqlSD8WFHuP9NU79/kl8hQP4nfFQr/cI4mk=; b=S5CfUxCvpieJtDHt+UsLjF6V4zqwBp42Z8vStLyajDn94evpX5U8v8DTPHa1WGHF0X zu3TsvSD3+8dxxDdqFZ7ts9rm+ReMZXzLcMQi0YURnt/SSor8IpB5yJb/0jTD51P2CUg yon36ndVY+GjfgdYHwol/u146/kWagDFz18nuX60i5hNxhrfcGCeFQfffd0A6PBjIEHr bkmi4izV8ybyCXEYzvCLxkT8QBiSUPFcd8Is+/gAsmChKN8f5h3GE9peLYKLsi9AlSFH KV6+vjpZPMCOTI0eLtYKAFxJ99ULHhtSlz1yJMDkaJo5RnGhgStYj821PtVBDjBiSE97 nB4A==
- In-reply-to: <CABZhJg-xFcnEqUoknF=WE_BV=n_JRL+fBC4DzeQAOerfiyB6Vg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Jesper Nygårds <jesper.nygards@xxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABZhJg-xFcnEqUoknF=WE_BV=n_JRL+fBC4DzeQAOerfiyB6Vg@mail.gmail.com>
2012-04-16 12:52:49 +0200, Jesper Nygårds:
> 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.
That's a bug even for other shells.
echo foo#bar
outputs foo#bar in every shell (but zsh with extendedglob which
is one of the reasons extendedglob is not on by default).
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author