From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21389 invoked from network); 21 Jun 2000 15:13:15 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Jun 2000 15:13:15 -0000 Received: (qmail 23825 invoked by alias); 21 Jun 2000 15:13:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12015 Received: (qmail 23818 invoked from network); 21 Jun 2000 15:13:02 -0000 Date: Wed, 21 Jun 2000 17:13:01 +0200 From: Andy Spiegl To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: history completion oddity Message-ID: <20000621171301.A7391@br-online.de> Mail-Followup-To: zsh-workers@sunsite.auc.dk References: <200006210913.LAA06008@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.0.1i In-Reply-To: <200006210913.LAA06008@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Wed, Jun 21, 2000 at 11:13:06AM +0200 X-PGP-GPG-Keys: finger pgp.andy@spiegl.de OR mail -s "send pgp" auto@spiegl.de Sven Wischnowsky wrote: > Sorry. I meant `... in combination with completion'. How often have > you completed one of the strings you used on a command line last year > (and which didn't appear in the history since then)? Well, since I got it to work yesterday, not very often yet. But I think you are perfectly right. Usually I would use it to find a word= =20 that I used not more than a few days ago, probably just minutes. > I.e. maybe we could add a style to _history* to complete only the last=20 > N words/lines. Probably a bit like that example code in _first, > i.e. try the last N words/lines, if that doesn't yield matches, try > the last 2N words/lines, and so on. That sounds like a _very_ good idea! Andy. --=20 E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Interessante Selbstgespr=E4che=20 setzen einen klugen Partner voraus. (Herbert G. Wells)