From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17974 invoked by alias); 8 Sep 2015 10:27: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: 36449 Received: (qmail 11752 invoked from network); 8 Sep 2015 10:27:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Qz4/3pNdKdYEbOKtcVajydaLMKGYWE+FNGPJjKa3XBs=; b=yUyfpdmn+YQckuKRPC1ELVMWaA1r2qJgZVgp2ATF96X3Dk+NzZjmtflu8Y89V9n5TU e87FUyYWgDGR1uGAlh9N9xLISlgegenSeS3ktRXG/jyH31Zt5CJ45IY6Xtn+sd6K5Y/8 uxODdN5DG5t1KQ/a23KzTBzo8Z6iRpt1VYEYVee1HJY4TaU46bxug9mtV8E8tbz6lsKZ Him8LjAMd1FS++e6sdHZ43nseWSiSlrWG83ah/zUnA5KB8d6m/GBVCTw09kzRHO3WusE RPd6JxjiZLkkGC5TYwWuxo9VuSQrPjHelHchtDJqDOFhB1jzBg2YpZFc3y5IbR43KV+a j+Mg== MIME-Version: 1.0 X-Received: by 10.140.98.238 with SMTP id o101mr33320218qge.70.1441708033608; Tue, 08 Sep 2015 03:27:13 -0700 (PDT) In-Reply-To: <20150908092746.5d25ad58@pwslap01u.europe.root.pri> References: <20150907212211.GB9512@tarsus.local2> <20150908092746.5d25ad58@pwslap01u.europe.root.pri> Date: Tue, 8 Sep 2015 12:27:13 +0200 Message-ID: Subject: Re: region_highlight and zle_highlight[paste] From: Mikael Magnusson To: Peter Stephenson Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Tue, Sep 8, 2015 at 10:27 AM, Peter Stephenson wrote: > On Mon, 7 Sep 2015 21:22:11 +0000 > Daniel Shahaf wrote: >> Since region_highlight overrides zle_highlight[paste], as a widget >> writer I'd like to know what part of $BUFFER is being paste-highlighted, >> in order to avoid setting region_highlight entries for it. >> >> Does this seem reasonable? > > It's not much code, so if this is useful in practice, I'd say yes. I noticed that a specification for fg=red overrides a bg=blue specification to no background. Would it be easy to merge these instead? (for example bold + bg=blue works already). -- Mikael Magnusson