From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14811 invoked by alias); 17 Apr 2012 09:25:58 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17017 Received: (qmail 1444 invoked from network); 17 Apr 2012 09:25:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.214.43 as permitted sender) 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== Date: Tue, 17 Apr 2012 10:25:47 +0100 From: Stephane Chazelas To: Jesper =?iso-8859-1?Q?Nyg=E5rds?= Cc: zsh-users@zsh.org Subject: Re: [OT] Emacs and zsh syntax Message-ID: <20120417092547.GA6355@chaz.gmail.com> Mail-Followup-To: Jesper =?iso-8859-1?Q?Nyg=E5rds?= , zsh-users@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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