From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16389 invoked by alias); 12 Aug 2015 02:52:46 -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: 36115 Received: (qmail 8871 invoked from network); 12 Aug 2015 02:52:45 -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=8jcaWMJ5kk6JHaFlQfzZqZmAB+Of1lPjYqbIq4gGiPk=; b=R5TRmsnRJtQf7o4DuW5NyNK9t8HEXL0fr3OElMZepqTlFpis+c7fF0O/91ekidOeWe m2exKUzSuDiRq/7F0O8nEcHfwyKUmOLpHWB23AvZXT+g2an6/oLp5286HU6iyyTWgG4E Nt4DfUx9Mq/1GVabO3hUJxmy4z7C4nA6YAjgU6LuIYEuZPcz4Uw5SSp7ofrDROps2f72 p0aLdYwaaD72YzpdEIOYYxfbEGWHhXPMcE8dOPd68PVgNrJgkNj4145IQ6KYe2/FC//Y pXSxDJkpXZa0w52amm3WyerlsgzcXtXs/M33nrnZTJcD912k4Ofg76VsrHWmqbYaX1CD uwhQ== X-Gm-Message-State: ALoCoQl/I8BvgwbCU6wtac6+X+ged0FfwkDyghcy29L6szT61NRSUW6+C35VvNWLjI57tC75AsLQ X-Received: by 10.60.76.4 with SMTP id g4mr27911127oew.81.1439347961758; Tue, 11 Aug 2015 19:52:41 -0700 (PDT) From: Bart Schaefer Message-Id: <150811195238.ZM31664@torch.brasslantern.com> Date: Tue, 11 Aug 2015 19:52:38 -0700 In-Reply-To: Comments: In reply to Mikael Magnusson "Re: [PATCH] bracketed-paste: change quoting style" (Aug 12, 3:08am) References: <20150811220922.GF1859@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: [PATCH] bracketed-paste: change quoting style MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 12, 3:08am, Mikael Magnusson wrote: } } On a related note, someone on irc was confused about why } url-quote-magic stopped working in git, and it's of course because } bracketed pasting causes its self-insert hook to never run. Hrm. I'm tempted simply to suggest that bracketed-paste should get out of the way if there are no newlines in the pasted text, but there may be other bindings that shouldn't run. On a different somewhat related note, bracketedpaste() lacks the tests for invalid multibyte characters that selfinsert() performs. } We may want to provide an alternative function to help with this case. } (eg, wrap bracketed-paste and quote if == http* or so.) This gets ugly if the URLs are somewhere in the middle of the pasted text.