Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _history-complete-older buggy
- X-seq: zsh-workers 26084
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: _history-complete-older buggy
- Date: Sun, 23 Nov 2008 21:50:21 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=VxSaRLyJ/JMlxyCDbM4y/d2lfZtkGJa6C5AJd57YrnE=; b=ASmsfaZpgzp4hZaleJxuG7PVsRmEpQHtlk4Ql5sYxnl1iRYVYynu3tJJoYuaLag7ne dGMmdexcM5zKVxJbcLIZ/0M0E8Q5pXEhIruVkyU4TLYHZ+fhD9gfaoDoOrCVPXvmUH4l 6E1xlxsTQoxuLRErZpVRkP7hHVnhCU5ytCEHk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AzvvCu0avjPSdOX0mLaEJpSW6wspG4Sip/cpq4bjUtx1Q7WKnFFytchbuwTIDAx1Dk WDYWZoUseoUDIxSPBS0lkYURybwDsuLploatFJBBbvtdBGupU8gHirzp7JxO/pXwgQ4z zSDiBmfK5bs59J+CBLkIzGM775dl9txhiGYY0=
- In-reply-to: <081123103722.ZM25375@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0811230401j7bcceb0bg5e68b95483c344bf@xxxxxxxxxxxxxx> <081123103722.ZM25375@xxxxxxxxxxxxxxxxxxxxxx>
2008/11/23 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> On Nov 23, 1:01pm, Mikael Magnusson wrote:
> }
> } If i type a * and press _history-complete-older, i get this output
>
> My guess is that this is going to be another case of some setting that
> you use that is going to need turning off in _comp_options, or the
> like. Yep, I can duplicate your error if I "setopt glob_complete".
>
> } and after waiting maybe 15-20 seconds, it does give some set of
> } completions that do and do not start with a *. It might simply be all
> } words in my history.
>
> It almost certainly is. You've asked for globbing completion, so the
> * is being interpreted as a pattern, and guess what it matches?
Ah, I see.
When i say [*] i get words that start with a *, but when i say \** i
only get words that a) start with a * and b) contains a second *
somewhere.
Holding down tab to cycle the list, I get an increasingly long word
forming on the command line. Seems it loses track of what is part of
the completion word. This is what i got after a few seconds,
*.cue`*~og*|*/*.ogg|*/01*|*|*/*.ogg|*/*.mp3|*/ogg/*.jpg|*/ogg/frommp3_320|*.jpg|*/*.ogg&**/_wget
> What's your HISTSIZE setting?
13000
> The completion is in fact scanning the $historywords array, which is
> all words in your history, so the more enormous your history compared
> to the amount of memory and processor speed you have, the more poorly
> this completion is going to behave.
It also depends on how fast the code is :)
http://googleblog.blogspot.com/2008/11/sorting-1pb-with-mapreduce.html
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author