From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20397 invoked by alias); 19 Apr 2018 18:04:35 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23354 Received: (qmail 28591 invoked by uid 1010); 19 Apr 2018 18:04:35 -0000 X-Qmail-Scanner-Diagnostics: from mta04.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.10):SA:0(-2.6/5.0):. Processed in 2.482163 secs); 19 Apr 2018 18:04:35 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS,T_DATE_IN_FUTURE_Q_PLUS autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=utf-8; format=flowed X-Authority-Analysis: v=2.3 cv=dfKuI0fe c=1 sm=1 tr=0 a=RnRVsdTsRxS/hkU0yKjOWA==:117 a=RnRVsdTsRxS/hkU0yKjOWA==:17 a=IkcTkHD0fZMA:10 a=ED4y4MMx0urC8MayrtUA:9 a=QEXdDO2ut3YA:10 X-EL-IP-NOAUTH: 24.207.101.9 Subject: Re: make history-complete-older do nothing on empty string To: zsh-users@zsh.org References: <20180418094018.54559594@camnpupstephen.cam.scsc.local> <87in8o6fjx.fsf@luffy.cx> <20180418104555.25fef55b@camnpupstephen.cam.scsc.local> <874lk866zp.fsf@luffy.cx> <20180418135817.7edca58c@camnpupstephen.cam.scsc.local> <780c04fe-a4cf-e64e-ce1b-0736ed77225e@eastlink.ca> From: Ray Andrews Message-id: <5225a328-18dc-ba58-d0bd-28eac4132515@eastlink.ca> Date: Thu, 3 Dec 2037 06:36:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 In-reply-to: Content-language: en-CA On 03/12/37 04:10 AM, Ray Andrews wrote: > Dunno. I want it to do nothing too if that's what you are asking. > Yeah.  It seems to me that the thing would/should know that it has > nothing to do.  It's sorta like writing a program to find the first > prime number divisible by two, the program will run for a long time > without producing much.  I'm wondering if the devs just overlooked > that, or if perhaps the idea of completion on an empty string might > actually have some sort of meaning.  Completion seems to be such a > complex thing that maybe it does -- the sound of one hand clapping. > Come to think, that's bad logic.  The reverse is the case.  Since completion is a progressive exclusion, if the search string is empty, then everything is matched because nothing is excluded.  It might not be very useful, but it is not logically invalid. > >