From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19380 invoked by alias); 17 Aug 2015 05:02:39 -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: 36196 Received: (qmail 21329 invoked from network); 17 Aug 2015 05:02:38 -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=gcsaWShL9RplhSowb3QgNaAcqpX+3VF8XL2JDq4FS6Y=; b=Ml33DtuncPBtFTUfF2AVnVmKBeqCInbfHQJKCuE2Gbp74eQmMjdszY9kNKMd2z++jC PzfnFYi9uxah7/G5uoe+4H9YG6ciVl8FTZivN/49rkcv5FeK6ytI5VMNj70veReHKXQs MwMK074gkyD1I+xyP3trPx0owskv/D+TMvSGoUsddM5TAqjSQ99PI1QV0kg+45IyArvU ib5Aq0zNPOfjxpSKQdgoQvmgxQFUalY4Spq+C+eNuKNou3un4bOmUBZitAKDNVl9KSNb V0afBBUc7ORKczDFuOSHoT+ZYdusc4ySPmsWoeUyoT6IkgkoiZol+at+iY6J/lGjjNnA gFbA== X-Gm-Message-State: ALoCoQlrHnbDfZ2ZaGjQcwNvRcZ/2fCdguyOiRPs2qHjJApwRspICIU5QVNbX+hS6mD9aqeyP2ZD X-Received: by 10.202.170.213 with SMTP id t204mr38217571oie.40.1439787755326; Sun, 16 Aug 2015 22:02:35 -0700 (PDT) From: Bart Schaefer Message-Id: <150816220231.ZM13263@torch.brasslantern.com> Date: Sun, 16 Aug 2015 22:02:31 -0700 In-Reply-To: <150816193239.ZM13143@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Sunday afternoon project: bracketed-paste-magic" (Aug 16, 7:32pm) References: <150816193239.ZM13143@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Sunday afternoon project: bracketed-paste-magic MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Whoops, changed a "local" to "integer" and didn't test with quote-paste removed from paste-finish. I'll push with this change included. diff --git a/Functions/Zle/bracketed-paste-magic b/Functions/Zle/bracketed-paste-magic index b0944f7..da106d1 100644 --- a/Functions/Zle/bracketed-paste-magic +++ b/Functions/Zle/bracketed-paste-magic @@ -133,7 +133,7 @@ bracketed-paste-magic() { # Save context, create a clean slate for the paste integer bpm_mark=$MARK bpm_cursor=$CURSOR bpm_region=$REGION_ACTIVE - integer bpm_numeric=$NUMERIC + integer bpm_numeric=${NUMERIC:-1} local bpm_buffer=$BUFFER fc -p -a /dev/null 0 0 BUFFER=