From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6437 invoked by alias); 20 Jun 2015 17:21:51 -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: 35547 Received: (qmail 18250 invoked from network); 20 Jun 2015 17:21:49 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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=cslrQ/2qLxyd/iRhaEpT+cFXf4u+EJy0JjJSlhRVhUY=; b=d4pzhoC5YZwZWxVGYwiyrfFzE6Xv+AKsRuJmCeOAY6O1iQHrFJ8mQPKupSpjb7DDa5 q0dzvGYOAknFn3aGNgXu6+wjYOufOgehtrSxZ/6NtHI8AuUD0Gro/uDCupsxLNfJeXpr mhQaFaFpY5aSew3tpucOvagpVrTjDb/b+tgP/Hm8wDvQkQn3ioQi6gMsexeLLzNaVmyT At6cURKmHjponYfjKtAphQZue0ih/5i/Ajq/IDMz7FUu2VxeaK34OYnZ86jcey18lskD rJn/iT0gyzs5X7wPn6c+dwr1xolQI3tukZ5Ya7kJuDe3s02TSXKemoJv3e2E/hXXEGzY hq6A== X-Gm-Message-State: ALoCoQmOQjyCZXIW01fWrsv1fgqtAa4b85XveGqVyTr3z5lnjL2iRHo5dGsbwD2aX0iY8vvr4Pss X-Received: by 10.60.59.68 with SMTP id x4mr8231254oeq.58.1434820908132; Sat, 20 Jun 2015 10:21:48 -0700 (PDT) From: Bart Schaefer Message-Id: <150620102144.ZM5618@torch.brasslantern.com> Date: Sat, 20 Jun 2015 10:21:44 -0700 In-Reply-To: Comments: In reply to Mikael Magnusson "This widget implementation feels a bit clunky (edit-quoted-word)" (Jun 20, 11:16am) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: This widget implementation feels a bit clunky (edit-quoted-word) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 20, 11:16am, Mikael Magnusson wrote: } } I feel like it's unnecessarily hard to get the resulting text from a } narrow-to-region session. Hmm. If you used "narrow-to-region -S state ..." then I think the resulting text would be $BUFFER between the exit from recursive-edit and the call to "narrow-to-region -R state" ? Except that I'm having a little trouble with -S / -R. The value of $MARK never seems to be correctly restored. Is it supposed to be? } It would be nice if quote-region let you specify the type of quoting. } Urk? The difficulty there is that it's a widget so there's no direct way to pass the type of quote. I suppose you could use $NUMERIC.