zsh-users
 help / color / mirror / code / Atom feed
From: "Jesper Nygårds" <jesper.nygards@gmail.com>
To: zsh-users@zsh.org
Subject: [OT] Emacs and zsh syntax
Date: Mon, 16 Apr 2012 12:52:49 +0200	[thread overview]
Message-ID: <CABZhJg-xFcnEqUoknF=WE_BV=n_JRL+fBC4DzeQAOerfiyB6Vg@mail.gmail.com> (raw)

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?


             reply	other threads:[~2012-04-16 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 10:52 Jesper Nygårds [this message]
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

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='CABZhJg-xFcnEqUoknF=WE_BV=n_JRL+fBC4DzeQAOerfiyB6Vg@mail.gmail.com' \
    --to=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).