Path: csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Ilkka Virta Newsgroups: gnu.bash.bug Subject: Re: Expand first before asking the question "Display all xxx possibilities?" Date: Thu, 6 Aug 2020 17:11:05 +0300 Lines: 23 Approved: bug-bash@gnu.org Message-ID: References: <871rkoslni.5.fsf@jidanni.org> <81399d97-eba6-17ca-fd2b-7fbb420c8314@case.edu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1596723074 1497 209.51.188.17 (6 Aug 2020 14:11:14 GMT) X-Complaints-To: action@cs.stanford.edu To: chet.ramey@case.edu, Chris Elvidge , bug-bash@gnu.org Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 In-Reply-To: <81399d97-eba6-17ca-fd2b-7fbb420c8314@case.edu> Content-Language: en-US X-SASI-RCODE: 200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; h=subject:to:references:from:message-id:date:mime-version:in-reply-to:content-type:content-transfer-encoding; s=smtp; bh=iqm+cfeYtfI8qQpvySqaMna97KVsa96GVtwzI/BwHE0=; b=wbqQ2zEN92FgKzvjXsxNXRqWjN36NldZBd+AW6zE3f2PRg9kI4/KYUInC2+SWZ+QwWoweJdhU0m0FCk3teKrbPTfolq6JD2xMhPgCPPESGKREY2QCYCpV4r4y3sOsBJEvftAAxo32ROlsn7g7gsM03LUgHVke9Om/eTIpWP6I1I4apXEHpz0mCfOJVTvAf9/aaumkF1bk+kt0UK4vS3yL3s6OZl/eAhbKQhVIWZU6y9Bhfc8s7Z032/BvvQ+jVdHk4gCFt02Eu2PnwRhRohRnhO0YYdzlKE06OeVE3i0+k8Gzxo5stenR81Rze6Bmdk7ZEK7wAizgRBKfBBhqzLZLg== Received-SPF: neutral client-ip=157.24.2.213; envelope-from=itvirta@iki.fi; helo=smtp-in-1.cc.lut.fi X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/06 08:13:31 X-ACL-Warn: Detected OS = FreeBSD 8.x X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <871rkoslni.5.fsf@jidanni.org> <81399d97-eba6-17ca-fd2b-7fbb420c8314@case.edu> Xref: csiph.com gnu.bash.bug:16713 On 6.8. 15:59, Chet Ramey wrote: > On 8/6/20 8:13 AM, Ilkka Virta wrote: >> I think they meant the case where all the files matching the given >> beginning have a longer prefix in common. The shell expands that prefix to >> the command line after asking to show all possibilities. > > Only if you set the "show-all-if-ambiguous" readline variable explicitly > asking for this behavior. Readline's default behavior is to complete up to > the longest common prefix, then, on the next completion attempt, to note > that there weren't any additional changes to the buffer and ask if the user > wants to see the alternatives. Dan wants a change in the behavior that > variable enables. Right, sorry. I do have it set because otherwise there's a step where tab-completion only produces a beep, and doesn't do anything useful. I didn't realize causes partial completion to be skipped too. -- Ilkka Virta / itvirta@iki.fi