From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15305 invoked by alias); 1 Jun 2011 15:59:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29426 Received: (qmail 10867 invoked from network); 1 Jun 2011 15:59:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=6eWujNJDTsFGgfRrn3NiRkrtRz2PdVdolsZv8eDE0uw=; b=mDa3kW28EWJePEhMYUS+yhlor/V5CN/AWbEYbSmqxq+Xx0oIHYID/UvQ6CbUmf4kJZ Lhmd4LCnR1byF89yWI86RtvCwusEQ9wSQyoVwYA45DDQbyqTU66FT/Xh7OZSCIO2Gdbg Zw8E6LJcruOdm5JWcJ0ZUWEYeoNXNg06UU/R4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=p46eiOG1L5+0vcnrhN6px3K+2t1Kx9bVwncBFGwkelmtAeaWjCHH6HKtSkbaICzW1F n8YdDQsMQDYlMpjSy1jQfey0bqE1ue5EJJXUtGLZb11TJ34/3mMSJ1/1CzoVR8XzNwFg PMgRbioKdzZXdthZaSE2WBLdkUeZg8wX9RFuc= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 1 Jun 2011 17:59:14 +0200 Message-ID: Subject: Re: region_highlight cancels styles set in zle_highlight From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 On 1 June 2011 17:57, Mikael Magnusson wrote: > foo() { region_highlight=("5 10 bold") } > zle_highlight=(default:bg=blue) > zle -N foo > bindkey '^T' foo > type a few words, then press ^T and ^L, note how after character 10, > the line is no longer blue. > > What I'm actually trying to do is highlight the pre/post display stuff > in narrow-to-region. Hm, if I use bg=red instead of/in addition to bold, it works. -- Mikael Magnusson