From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21514 invoked by alias); 31 Aug 2016 12:33:15 -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: X-Seq: 21829 Received: (qmail 22556 invoked from network); 31 Aug 2016 12:33:15 -0000 X-Qmail-Scanner-Diagnostics: from mail0205.smtp25.com 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(174.37.170.205):SA:0(-0.0/5.0):. Processed in 0.396943 secs); 31 Aug 2016 12:33:15 -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=-0.0 required=5.0 tests=SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: covici@ccs.covici.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at covici-com.spf-a.smtp25.com designates 174.37.170.205 as permitted sender) Date: Wed, 31 Aug 2016 08:33:02 -0400 Message-ID: From: John Covici To: Peter Stephenson Cc: zsh-users@zsh.org Subject: Re: history substring search too aggressive sometimes In-Reply-To: <20160831121025.14c1c869@pwslap01u.europe.root.pri> References: <20160830204905.16d9f703@ntlworld.com> <20160831100851.5ce89562@pwslap01u.europe.root.pri> <20160831121025.14c1c869@pwslap01u.europe.root.pri> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Reply-To: covici@ccs.covici.com Organization: Covici Computer Systems MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: s-out-001.smtp25.com-u7VCX3QQ013089 On Wed, 31 Aug 2016 07:10:25 -0400, Peter Stephenson wrote: > > On Wed, 31 Aug 2016 07:03:58 -0400 > John Covici wrote: > > Well, I was looking at the options section of the manual, and > > although its not perfect yet, disabling menucomplete which was on and > > complete_in_word, helped a great deal. Also, I discovered to get a > > list of all the options, I had to do > > set -o > > instead of setopt which I was doing before. > > Hmm, setopt should show you all non-default options, so if menucomplete > was on it should show up. That explains why you're getting the first > word inserted. > > complete_in_word is only applied if the cursor is in the middle of the > word when you hit tab, and only at that point. (The standard assumption > is you're at the end of the word you're completing, but it should > be possible to get it to work anyway.) > > None of the other options look relevant. > > Note there are additional extra things going on if you have directory > paths as it will complete multiple components, but it didn't sound like > that was the issue. > OK. I think I am on the road for a solution here, thanks a lot. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com