From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15888 invoked by alias); 17 Jun 2016 18:10:42 -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: 38704 Received: (qmail 15908 invoked from network); 17 Jun 2016 18:10:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=/G8rtJevQRB66nh/7KmxA3BXYWXXJ0Fgy4Qaf+v2XJg=; b=fARwmht0G9m/imdzRwNiP34gFfP6Xp4UrsxFm1UXqo9CWlixMrTO53+C9wQrb/ih6B WBv+Mf4h2qw+w3YbG8AOTfkuKGQzSsAI+Oe9VziexWkJuybb7SHONs6HokH+BPhQmqCZ rwQzGnGK+gVLxMt695b//MUS3UbRPx+ys0nLhSni3W6+HPaCYwR3n02bH2q6+y6M/reJ 1S7UZfC6lU/PfE/o0zaje5dxr39me55iCoFr4ePsJvpWfmfIgkGOkRtvS7uBO5BLNxEt LGrAZWdO4nL7tjWL0VtuCpS6bqc+5lZJwpk55VZvfZB7Hh6Fiu1NygjLgUeYYF62Q0EH RR9Q== 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; bh=/G8rtJevQRB66nh/7KmxA3BXYWXXJ0Fgy4Qaf+v2XJg=; b=nIqyX9tkmequRwbCU/GxlBtrpFQMx0zS9/8TkxM4GfJV37pWdZZsPVoRN7VLqIYx/j ioh2hg8DGTj4C81vnz9yW4AB1VsXu8j/HKoMApoHkA3f8J7qU5wUmWsOsFGfQSMc8e6I ZdxH2y6bOT6Ngzf4VfzIgMfmT5hmBbJ0wX+hAi1/5b8Gexl9fVxc++aTtnGV+O2d9QeQ uLY5ms83VBNgC7dfwoxT5ZESdEIYaWgOtWltD/WpIchhVQpsD0CniNTpZJytH9cor3VA w7W1uJFSG7lkiyK9AN5pIUTRygUVuV3yO/lmn71l32c5OkhaYk0ELZsEYEyDx9MuGHSx 72zA== X-Gm-Message-State: ALyK8tKzH4+SAVGKV2X0DDlrkXSMIbXazEFLjezN9iv09v45MqC8xyboYdmXG/0KCj/7Tg== X-Received: by 10.66.67.1 with SMTP id j1mr3697104pat.57.1466187036235; Fri, 17 Jun 2016 11:10:36 -0700 (PDT) From: Bart Schaefer Message-Id: <160617111101.ZM488@torch.brasslantern.com> Date: Fri, 17 Jun 2016 11:11:01 -0700 In-Reply-To: <17354.1466180383@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: Regression: broken completion on modification time" (Jun 17, 6:19pm) References: <87oa76172f.fsf@secretsauce.net> <160612174712.ZM10957@torch.brasslantern.com> <3670.1465855245@thecus.kiddle.eu> <160614091402.ZM17103@torch.brasslantern.com> <9937.1466008377@thecus.kiddle.eu> <20160615232437.GA28886@tarsus.local2> <17354.1466180383@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers Subject: Re: Regression: broken completion on modification time MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 17, 6:19pm, Oliver Kiddle wrote: } } How would you want to present the exactly match given that it inserts } nothing? In the past with the match -- description form, we didn't } include it. With the description only form it is less out-of-place. Isn't there a way to stick a dummy match into the listing just to take up space so that only the description will appear? } > I tried to reproduce this in 'zsh -f', but "echo *(m" simply cycled } > between various integers after the 'm'; it didn't give the calendar } } This could be adjusted so normal completion would dump the calendar. } But is a calendar without menu selection at all useful? I think that in any case where the calendar won't be displayed [almost] immediately, an entirely different set of matches should be passed to compadd, or at least they should be added in a different order. The current ordering of the numbers etc. makes very little sense without the visual of the calendar, and they're inserted directly into the command line so completing after e.g. "ls *(m" you get things like *(m0 *(m32 *(m31 ... *(m17 *(ms *(mm *(mh *(md *(mw *(mM *(m+ *(m- *(m108 *(m107 ... The user is left wondering "why 0 then 32 ?" and will never get to the s/m/h/d/w/M unless he perseveres whacking TAB 15 times, at which point "why did it stop at 17 ?" Also even when using list-choices: torch% ls *(m0 zsh: do you wish to see all 233 possibilities (18 lines)? If I don't know there's a calendar coming, why would I answer "yes"? And if menu selection is not enabled, I won't have any idea which of the elements being inserted on the command line corresponds to what part of the calendar even after I can see it (you already alluded to this in a previous message).