From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15805 invoked by alias); 28 Jul 2015 09:15:40 -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: 35942 Received: (qmail 23903 invoked from network); 28 Jul 2015 09:15:35 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1438074589; bh=8GtSR/uBcNQjU0waDsDXejLIW5yzeSRcjAQ4Fgi371I=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=h35qqslIp2V7qfl6UWO87YSSjaBiqqQ3Xfmc9AWA0u9PXE5iRhqQx3czIiMeZwMPo89RuWbM2rIFnBXHazZk4L4xnfjxL3LHQAiylGELQXowtyctimdK2jPz2IhI7d9XC2Okb7TibFPbmMbm6PVMbCEu/PKWXSW9ULqvmlavpj45X6HShbOyvlwfMdkj1dbKG9x5GkpBfpuNnrQMYxqvq2N8PC9K8D4SCkSDM4VniyctIuG8Z8+jYx7bwk9WrlevsO4Bx++ANM4Xq7leWAe64uEJsuQyL3vHq1fMyCzAodrVCUdS3ZhWSth4js1fbZD5+gTOsGocbdo/SCoqHT+Nmw== X-Yahoo-Newman-Id: 201944.62397.bm@smtp129.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rHOpESUVM1nsw_q.qFizf01nS.y7P5nLlMfJXCv1F1tQAUU LVRz9DxEF0I3m86C.KbjuqVAHvb920c139fQd6HuyirizROVeUtrOTdMlr2B 4SHCpG6QlQ85cRTfyeYqOghtvMUjK56T3Ic7H.GnEDBr7fVpyVUwLBLFeOnz 93yTpdcGcU1Dhi7Bh7xZbD7RX5SNR7GDk6dJ9XiaUh0V4rZIlmPyO3BPATf8 4Qfr8maigTRGf98FT4kYiaEe2v8Ikn4YIrNxH.boHAzeJzqdIX9msx6g8VjV 9ejdSg1BQlAZjyke14xWnlq.FlkJTY8Y2dfwEJNDAGCSC0UHESMZpEEbl4qJ m.f.LZ922SNrpog7rI739PiXc3C6zcOp3TY_NS15e7tL5aTJswhxFBQXcc0a 9VT__.kxDEYiP7ZPjlRskG_7LLRJGAKlFWFKVfHQMdOPOoDomogrWIyqH239 g_bEYELEnqVaZ_gXLqo2KeyJvBNHQHzEaByyeTZgZsZ8xZEwtPZ4.NJD0vD5 bM0A.cUuawvOtgi8cQD3hiFjs6KcXkw-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <150725094635.ZM2694@torch.brasslantern.com> From: Oliver Kiddle References: <7277.1437023995@thecus.kiddle.eu> <150716131504.ZM18155@torch.brasslantern.com> <150718110859.ZM4405@torch.brasslantern.com> <19088.1437274234@thecus.kiddle.eu> <485.1437632598@thecus.kiddle.eu> <150723220642.ZM18235@torch.brasslantern.com> <150723222152.ZM18547@torch.brasslantern.com> <10400.1437776520@thecus.kiddle.eu> <150724161357.ZM20924@torch.brasslantern.com> <12041.1437810540@thecus.kiddle.eu> <150725094635.ZM2694@torch.brasslantern.com> To: zsh-workers@zsh.org Subject: Re: zle options (was Re: PATCH: highlight pasted text) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1031.1438074587.1@thecus.kiddle.eu> Date: Tue, 28 Jul 2015 11:09:48 +0200 Message-ID: <1032.1438074588@thecus.kiddle.eu> On 25 Jul, Bart wrote: > } > } Yes, I think that is preferable. You might want zle -U - "$KEYS" just in > } case the next key is -, however. > > Wow, so incremental-complete-word has had a bug all these years. > > What's the point of allowing other options after -U? Just a side-effect > of using the standard option parsing mechanism? There's no sensible > combination of other options with -U (or with -K or -M or ...), they > all just generate "too many arguments" or "incompatible" errors. It would be possible to fix this without losing the standard option parsing mechanism by making the argument an argument to -U rather than one of the standard arguments. So a colon would be added after U where the builtin is defined in zle_main.c. Only problem is that it would break any case where someone has done zle -U - "$KEYS" Oliver