From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7588 invoked by alias); 10 Sep 2015 15:45:25 -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: 36473 Received: (qmail 8086 invoked from network); 10 Sep 2015 15:45:25 -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 :content-transfer-encoding; bh=y+czTQuX8hjBOeevwrXmRPfZanAXvbimGer90NZk5qM=; b=FQiP95rj1OK+wMa3ZH/1bs/bYqLQuH3CYesDr8yXBSY8b1qy5RHt29w1cVCCjgfmE1 rbOplDN8ltJLvZxHNA5AYb7OT2sZTQYopDDZhcOvudh/D08M/WuOAuYsGT2/q3dy+8Gv gYcsyAF/2ql1pvDsaNOraf+0cHfZGKgrhV1RvFuuHiKVsbU4Z4RsNxwF9op48yUF1v9D qTr4WTRmZTIQuKmeIH3bcqXe8z6on08Qidzud2OrEkn6tIffWfEPkVFx+tGTFXVy4B4q ObeZVZS1YcprKUIIblD/1spzTb2iSh6SbQTVnHduUmGSOXLWiaPyn6q/hWPLCIyrJVCp HF8g== X-Gm-Message-State: ALoCoQnUYnoutSNfbAqO3wGzSJ05zUA4hyep0lUNi4pmcjDNv68LRIbAiphNT8sNxXekLown6WNN X-Received: by 10.202.56.85 with SMTP id f82mr1435401oia.37.1441899923390; Thu, 10 Sep 2015 08:45:23 -0700 (PDT) From: Bart Schaefer Message-Id: <150910084516.ZM22892@torch.brasslantern.com> Date: Thu, 10 Sep 2015 08:45:16 -0700 In-Reply-To: <20150910145714.GO3721@sym.noone.org> Comments: In reply to Axel Beckert "Re: Pasting UTF-8 characters with bracketed-paste-magic seems broken in 5.1" (Sep 10, 4:57pm) References: <20150906155751.GD3721@sym.noone.org> <150910073920.ZM21998@torch.brasslantern.com> <20150910145714.GO3721@sym.noone.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Pasting UTF-8 characters with bracketed-paste-magic seems broken in 5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable On Sep 10, 4:57pm, Axel Beckert wrote: } } > (1) There is a problem handling multibyte characters in the built-in } > read-commmand widget; or } >=20 } > (2) There is a problem with using ${PASTED#$KEYS} to remove multi-byte } > characters from the beginning of the pasted text. }=20 } (2) looks fine on a first glance: }=20 } PASTED=3D=E4o=F6 } KEYS=3D=E4o } echo ${PASTED#$KEYS} } =F6 Yes, but KEYS is a ZLE local so its content may be escaped or something.