From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: "Jesper Nygårds" <jesper.nygards@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: [OT] Emacs and zsh syntax
Date: Tue, 17 Apr 2012 10:25:47 +0100 [thread overview]
Message-ID: <20120417092547.GA6355@chaz.gmail.com> (raw)
In-Reply-To: <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
prev parent reply other threads:[~2012-04-17 9:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 10:52 Jesper Nygårds
2012-04-16 10:56 ` Moritz Bunkus
2012-04-16 13:08 ` Vincent Lefevre
2012-04-16 15:21 ` Bart Schaefer
2012-04-17 9:01 ` Benjamin R. Haskell
2012-04-17 9:25 ` Stephane Chazelas [this message]
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=20120417092547.GA6355@chaz.gmail.com \
--to=stephane.chazelas@gmail.com \
--cc=jesper.nygards@gmail.com \
--cc=zsh-users@zsh.org \
/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).