zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: make history-complete-older do nothing on empty string
Date: Thu, 3 Dec 2037 06:36:15 -0800	[thread overview]
Message-ID: <5225a328-18dc-ba58-d0bd-28eac4132515@eastlink.ca> (raw)
In-Reply-To: <c012d701-ebc5-df2a-ab6d-7dc34292fa45@eastlink.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.
>
>


      reply	other threads:[~2018-04-19 18:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180418052832epcas2p1df623a44c88edae226f65a2d5edc90f2@epcas2p1.samsung.com>
2018-04-18  5:21 ` Vincent Bernat
2018-04-18  8:40   ` Peter Stephenson
2018-04-18  9:15     ` Vincent Bernat
2018-04-18  9:45       ` Peter Stephenson
2018-04-18 12:20         ` Vincent Bernat
2018-04-18 12:58           ` Peter Stephenson
2018-04-18 13:28             ` Peter Stephenson
2018-04-18 16:15               ` Vincent Bernat
2018-04-18 16:11             ` Bart Schaefer
2018-04-18 16:28               ` Vincent Bernat
2018-04-18 18:41               ` Vincent Bernat
2018-04-18 18:53                 ` Ray Andrews
2018-04-19  5:49                   ` Vincent Bernat
2037-12-03 12:10                     ` Ray Andrews
2037-12-03 14:36                       ` Ray Andrews [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5225a328-18dc-ba58-d0bd-28eac4132515@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).