From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24298 invoked from network); 18 Dec 2008 09:55:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Dec 2008 09:55:45 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 92725 invoked from network); 18 Dec 2008 09:55:40 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Dec 2008 09:55:40 -0000 Received: (qmail 6322 invoked by alias); 18 Dec 2008 09:55:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26158 Received: (qmail 6311 invoked from network); 18 Dec 2008 09:55:33 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Dec 2008 09:55:33 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id B2E1D801E288 for ; Thu, 18 Dec 2008 10:55:30 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly14g.srv.mailcontrol.com (MailControl) with ESMTP id mBI9s3EO018439 for ; Thu, 18 Dec 2008 09:55:14 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Dec 2008 09:55:10 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id mBI9t4bO004359 for ; Thu, 18 Dec 2008 09:55:04 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id mBI9t4Ib004356 for ; Thu, 18 Dec 2008 09:55:04 GMT Message-Id: <200812180955.mBI9t4Ib004356@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: "Zsh Workers" Subject: Re: Plans for zle_highlighting? In-reply-to: <081217180953.ZM20147@torch.brasslantern.com> References: <2d460de70812171453v52c1723cse9d6a0b8a3395043@mail.gmail.com> <081217180953.ZM20147@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Wed, 17 Dec 2008 18:09:53 -0800." Date: Thu, 18 Dec 2008 09:55:04 +0000 From: Peter Stephenson X-OriginalArrivalTime: 18 Dec 2008 09:55:10.0097 (UTC) FILETIME=[B6BF2010:01C960F6] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.71.0.124 X-Virus-Scanned: ClamAV 0.92.1/8779/Thu Dec 18 05:04:16 2008 on bifrost X-Virus-Status: Clean Bart Schaefer wrote: > On Dec 17, 11:53pm, Richard Hartmann wrote: > } > } what are the plans for zle_highlighting? Will it be extended into > } supporting fully-fledged syntax highlighting[1]? Having the same colours > } in Vim and ZSH would be awesome :) > > PWS can correct me if I'm wrong, but as far as I know there are no plans > at this point for highlighting. Nothing firm, no. There are various steps along the way, including making highlighting dynamic, i.e. updating automatically when you insert or delete characters. Strict syntax highlighting (i.e. it really gets parsed by the shell) probably is never going to happen, but some approximate form (it gets split into words and examined by a shell script) isn't beyond the bounds of possibility. This isn't a very high priority. Anything requiring enhancements to the completion system is likely to have to wait even longer. This is all entirely for the practical reasons Bart mentioned. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070