From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11295 invoked by alias); 19 Jul 2015 04:00:37 -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: 35825 Received: (qmail 15555 invoked from network); 19 Jul 2015 04:00:34 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2 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=1437278115; bh=YbNortPvG2tVZQA6YtAzYF0EWalI+k31ouDG4IAPKnk=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=nmj+airPWl3s5LsEs0sTNQw7zXwmuyVjQdtBTMiNTamHiUnrxAjZmC6B6uGUx0xqv7poirqCWyJ5OpJzDFcR6C1ATmzGcmI8WRKOpScyBCxS21ce5ZtOEwYfw4Bibe2hpt7jl7IdoFXdlfmywtd/k0DSl6Rc1EnGO3Zv9Eo2TLWXDyXqKFONshsO/gJY3cTrsCYy3uBA1C4vZ0p4p9vau7nCn5vIZR68i26rkg6Tccthc3Nm5f0v0BD9RzmXSBXBXXuqVJc0MZMQsU5sGQnfUDl6P2eJJLLb9kZbgS7ucnagJRRjRM1JCmuCp2iJkocdOrydPVNLjUcFNp66VtuPYw== X-Yahoo-Newman-Id: 361102.77354.bm@smtp118.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rJ0ULhMVM1msDEXeHJjuGGAzYMpfQL7Zr_evddXo.fXkhdi wQO57evycAhRk75X9MaHABg1U8REPQ0hdBe6pl0MUfjiTec1h7AjPbibTbhT .4sUJDAs3wH9E1reQ6OW3JSrpQ4_v0Pkux5SXtJrF8nW6hiKnG.CqHbW3SVX 1fOEukOJGEw5NsEADgiW8pS35LlZhQpRgN4Sq3bLDNBPH.elHdTD2DCQjCAH NduJMio1h0ApQROWYdBLlR4Y37pWnK5qyddEZTexOhUTb0CPp97KZMthBeCj VRyM4clx3b_ndie90UtYZfNXrG7AkSw29xNd0bST5zBEA7AMVFPyetFCnNpP mCv8mASrWMkqBkoqR_vo9LPlTnMRrJKdZRJuOASA2koCqHk6PS5SJQTNI5N0 aq1Ys3L4mye7yOH1BMKBnSqU.X5hkmkl.cGJEGrXF5INAx1_BTuaNV8ja5o6 WpBxJguKloqwYtW0WocvenOjsGG0G5dxecDGkjxTThUIyDqGWCEBweYkNlpD zaizuQsiPdELMZHPNKcOekbpb8a1u8A-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <150718164224.ZM4759@torch.brasslantern.com> From: Oliver Kiddle References: <150620102144.ZM5618@torch.brasslantern.com> <150718164224.ZM4759@torch.brasslantern.com> To: zsh workers Subject: Re: PATCH: narrow-to-region (was Re: This widget implementation feels a bit clunky) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19746.1437278114.1@thecus.kiddle.eu> Date: Sun, 19 Jul 2015 05:55:14 +0200 Message-ID: <19747.1437278114@thecus.kiddle.eu> > emulate -L zsh > setopt extendedglob These lines (not introduced by Bart's patch) have the effect of resetting lots of options when inside the recursive-edit. That affects the behaviour of some things such as completion. How much of emulate zsh is actually needed by narrow-to-region itself? Can we get by with just setopt localoptions and a few extras? Or use an anonymous function around everything but recursive-edit? It'd also be good for the function to use the new undo limit features. Oliver