From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3723 invoked by alias); 16 Jul 2015 20:15:15 -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: 35804 Received: (qmail 22917 invoked from network); 16 Jul 2015 20:15:11 -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_H3,RCVD_IN_MSPIKE_WL 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=ERU2nQKyfzkd2GEHhgRqTPGh6XyDl9aXi+UkFeITKnY=; b=M6G/BMq6Qw0y0KbF2hFxHndsRcj/ntvyW+vwoucMG8PHghaNxAoCAq1lXi8dlzu/s3 zp4GAm4UZOFe9WIt8xGioR6T4i/+U0Q/AUx6Qk2IlofW6y71jiulV2U7671UvfRWfA0w T0uFfE/JEmzmvrB7NWZ+7uDNfIg0gu27+xfFEcKOpqNnrebF0JpO8VFSZndGEr/1klC5 7aIYSQhLDfak7bPAwMpRiNEaD3Pn8lmiAQHlLwVBK8H12r1fFGxTNY2MJr8LlvLso/+Y fioAerNG34UgSgmAwlq7XXiVc1dFsZh+eark3aKTiaxKNtGoyTkad9qS+LFqNAFZwPWL 2ksA== X-Gm-Message-State: ALoCoQnfXrpPLJw6+uW0uSpzfP+Okz6fItm5yirxqIs2xDADXn8bteZ0MzzOxBc+bu4kIIaBoXSL X-Received: by 10.60.62.105 with SMTP id x9mr10158822oer.1.1437077707878; Thu, 16 Jul 2015 13:15:07 -0700 (PDT) From: Bart Schaefer Message-Id: <150716131504.ZM18155@torch.brasslantern.com> Date: Thu, 16 Jul 2015 13:15:04 -0700 In-Reply-To: <7277.1437023995@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: bracketed paste" (Jul 16, 7:19am) References: <7277.1437023995@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: bracketed paste MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 16, 7:19am, Oliver Kiddle wrote: } Subject: Re: bracketed paste } } > Also, I realized sometimes a final newline was tricking me into thinking } > that the command was already enter-ed to the shell (but of course, it } > wasn't). Stripping any final newlines is an improvement. } } Should we perhaps do this in the default widget? That is strip off the } last character if it is a newline. I'd rather that the text is not altered while pasting. If this were not a built-in widget, I'd say it'd be OK to have a zstyle for it, but I also don't want to start having the zstyle mechanism leak into the builtins. There are a couple of features that might be useful if we could come up with a way to do them. One would be an indication of whether bracketed paste is supported at all, so that no one is taken by surprise when the shell starts executing what they pasted. Another is some indication of what text was pasted (maybe highlight-color it differently?).