From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20262 invoked by alias); 17 Jun 2015 10:51:10 -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: 35503 Received: (qmail 21967 invoked from network); 17 Jun 2015 10:51:08 -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.0 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=yahoo.co.uk; s=s2048; t=1434537925; bh=Bb9Cpd2a/3pI4a2Jd0ysPEhigwfnb2heI9rbWIctvP8=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=aRs2asa7hZr4ffUpAzXhebuv0iMho6cZ4cQJHdetjLYx1h951siEPKQYKrzewZPDSIjzsND6syuz9fQtnOJAoqWMXoyrVP5IAORO54LELBvZupe5565ckJ+X2zoK5/uvaiRq9mFviKUprivyzS6nKBZAqIJq3SxcWOHlfkP/DREhFHpfCCKjjfri2a8Njl5TNmw1lKMXI/k7aGN5lXYy130pW+zzSYgEcygv8enWlqZ+UkekfR6XG+Dm8Rp1hu3FjNWKb5HRgWVsXhSTr3gn2wUJK2DJ/NzTFrPTbbTgISiv3kNfY1JUSY6s7SbkSHLwyFwVvz+KSNyF+l335mwiBQ== X-Yahoo-Newman-Id: 157657.16608.bm@smtp106.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: AOSg8REVM1m6xz.jpKxl0kY35VB6zSqH22zG7pGkLAsUmus U0BHPEIzRN3_qLQKl8i.ELCvTalK0_vB3WaRKWoZpyZkyKvZl5U.pZ2v0_wH gzF5mTz9BtVQh2hJrjIDiTJxjDIBKBdhNbZ.HnlEd4Q9r4bwYPlKTkrMExkK cL7e967A2Cs4RNIRCh74HuriqBaKEcdptr8lqTY5q_I5NBwDDxY7J7Jp4mi5 AMatXNwt3euVhCV1WPd3cGclUTFo3jY6tfN.5cAMcU9UWINA557DmZDdoK5. aGmOOywXt1Wsw2G.9pC5IXcOUoJoWvwOsxGRPTHpdtmHhVW_n6fYeaHfudXa XlakdCqB6Ml3sxL7z58zqJrFkm_sCf1N2eTZ9X4ypOIpyC.UbyctVJshHXdA 0SJ2dNH_o0zuxkw6Mr19MK6OvHg8fv3kAxUqxA2fJoGDje7A2jX._Y.dBDfN B_zucNrpDc5hjdHoFx3gwlWLb2zrgCEOaaoEeHquQHmry5N6qmsE.xOU4WUw 2SNXuQS26R2G6dMkoA4ScitGRyfcEvvc6 X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <150616132604.ZM27188@torch.brasslantern.com> From: Oliver Kiddle References: <55677AF5.50709@thequod.de> <27004.1433345491@thecus.kiddle.eu> <3098.1433511607@thecus.kiddle.eu> <7701.1433896116@thecus.kiddle.eu> <150609213830.ZM29868@torch.brasslantern.com> <20634.1434406318@thecus.kiddle.eu> <150615172044.ZM25490@torch.brasslantern.com> <25205.1434474770@thecus.kiddle.eu> <150616132604.ZM27188@torch.brasslantern.com> To: zsh-workers@zsh.org Subject: Re: bracketed paste mode in xterm and urxvt MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28389.1434537924.1@thecus.kiddle.eu> Date: Wed, 17 Jun 2015 12:45:24 +0200 Message-ID: <28390.1434537924@thecus.kiddle.eu> Bart wrote: > Speaking of the bindings in the previous patch -- Src/Zle/zle_keymap.c > -- should those be hardwired? Perhaps an optional third element of the > zle_bracketed_paste array could be the string for the key binding. Given a situation of someone wanting to assign to just that third element to have a different key binding, we would have to initialise zle_bracketed_paste outside of the zle module in order for it to occur earlier than both the assignment in .zshrc and the key binding. Or you'd have to dynamically update the bindings when the variable is set. That doesn't really add anything given that changing key bindings is easily done directly. I'm not really sure that it would achieve anything other than allow us to feel less bad about the hardwired escape sequences. Oliver