From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6160 invoked by alias); 14 Aug 2015 07:20:57 -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: 36163 Received: (qmail 3121 invoked from network); 14 Aug 2015 07:20:57 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=79sHu5tqBML1cRfopVvbIDST8SJIhzoZSeuCMYddAHE=; b=Zqovklg0Y84MrP4t+qEgmMUWWD+pLH1M3M10w9Pyf95I5NJw8iO76h8zpmUHBL3agf rO0P6emJmKcO+4fIVEuaFrSiK09qNkfLaMlfVuzqZrFY1cO6hO0qjmciVVf78nF11LeU 81YYzqcX+VpjIufr1p1gEt7PfAeTn5XuHtZtVkrujgL7jHZKQPKbKFgNjWlrHnY9nmJw nqF5MfWxIBPY79mYK4VGgIzbQy38WCx0rFU6YahxINiJZWLbgbvLEAGMBMk4ENMh3oIT 8aEIO8OhjnkiQ6B+kiOpqxkMcsED8OfpMk1SVyRdrNAtxR4qkQ1aMJw/iWfGLDrTSMIZ 8H4A== X-Gm-Message-State: ALoCoQlDYxKJ1DOkfQz1MJo8ZQoNtk6c1G1Pyh04QCez4uJ1vqhcsWOZ45R8uTh0qf434YNwEghl X-Received: by 10.202.69.87 with SMTP id s84mr3375052oia.70.1439529892481; Thu, 13 Aug 2015 22:24:52 -0700 (PDT) From: Bart Schaefer Message-Id: <150813222449.ZM29088@torch.brasslantern.com> Date: Thu, 13 Aug 2015 22:24:49 -0700 In-Reply-To: <24200.1439518188@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: PATCH: highlight pasted text" (Aug 14, 4:09am) References: <7277.1437023995@thecus.kiddle.eu> <150716131504.ZM18155@torch.brasslantern.com> <150718110859.ZM4405@torch.brasslantern.com> <19088.1437274234@thecus.kiddle.eu> <20150813231446.GB1998@tarsus.local2> <150813165035.ZM28935@torch.brasslantern.com> <24200.1439518188@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: PATCH: highlight pasted text MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 14, 4:09am, Oliver Kiddle wrote: } } In reality, every modern terminal emulator is just implementing things } to be xterm compatible and I don't see much point getting our knickers } in a twist about this. I can live with that. } > It might actually be nice to have two widgets, one called at each end } > of the paste. } } How would you select different end-of-paste widgets for corresponding } start widgets. Examine $LASTWIDGET, I presume. I wasn't necessarily thinking about needing more than one of each. We've already run into problems with highlighting when having "zle .bracketed-paste" embedded in a user- defined widget; maybe that would be easier to deal with if there were a separate end-of-paste widget. Or maybe not.