From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23789 invoked from network); 4 Apr 2008 09:14:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Apr 2008 09:14:05 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 93010 invoked from network); 4 Apr 2008 09:14:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Apr 2008 09:14:01 -0000 Received: (qmail 29719 invoked by alias); 4 Apr 2008 09:13:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24790 Received: (qmail 29703 invoked from network); 4 Apr 2008 09:13:57 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 4 Apr 2008 09:13:57 -0000 Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.243]) by bifrost.dotsrc.org (Postfix) with ESMTP id DD0AE82DC37A for ; Fri, 4 Apr 2008 11:13:53 +0200 (CEST) Received: by hs-out-0708.google.com with SMTP id 23so3008062hsn.13 for ; Fri, 04 Apr 2008 02:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Xlbf1Yw9r5KWx4v71hBoDvVTLjIdfZmVoVzgPt3axJI=; b=n5s3GNQy8IuzhS8onVbNvOIKGmxqxUfARApF+MerZ2+OMWKAnKKWFUZpAldvKp+oEjc+C+fv5ssynmPCmyliw5NnUBXb6b+2GU4G0MBIdUdH8aQ4waD6+0xX8O3TefUyGVeF1k6S3kMPTtxRMWwNWEbUAL8lpFw5DHVE2QsvrWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jaJuXTlQc+LB6irEsFyfjhGggFGjuO/pMFRwFUmyHBL7O0nEKG5d5DUeQK9uE4hfLB9ZTJSgy4U0VCg8VF9yZLe6w9elfrSngA59I2ZbH1cIKrLB/H+UeAwD4HgDb9AzKk24TpTE7hghPtHmtB3r/NDPymN7bqsvP7vJa6pPzxI= Received: by 10.140.139.3 with SMTP id m3mr310587rvd.244.1207300431885; Fri, 04 Apr 2008 02:13:51 -0700 (PDT) Received: by 10.141.202.18 with HTTP; Fri, 4 Apr 2008 02:13:51 -0700 (PDT) Message-ID: <237967ef0804040213p78672a0i795c80bff249b9a9@mail.gmail.com> Date: Fri, 4 Apr 2008 11:13:51 +0200 From: "Mikael Magnusson" To: "Zsh hackers list" Subject: Re: PATCH: command line highlighting In-Reply-To: <8360.1207165155@pws-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8360.1207165155@pws-pc> X-Virus-Scanned: ClamAV 0.91.2/6575/Fri Apr 4 03:31:52 2008 on bifrost X-Virus-Status: Clean On 02/04/2008, Peter Stephenson wrote: > Now 4.3.6 is out of the way, here's something I've been working on. It > highlights the normal command line (not a completion list) in three > ways: +item(tt(special))( +Individual characters that have no direct printable +representation but are shown in a special manner by the line editor. +These characters are described below.) +enditem() It appears a newline is needed between the . and the ), or the output becomes: These characters are described below..' same for these parts `tt(^)' followed by the base character.) on the operating system.) The region hilighting acts a bit odd for me, if I type 'hello' press ctrl-space and go left, everything appears fine until the cursor reaches the "e", at this point the "h" is also hilighted. Tried in urxvt and xterm, with zsh -f, with the same result. Going back and forth seems to leave some characters hilighted too. Other than that, this seems really nice. :) -- Mikael Magnusson