* Re: completion tricks
[not found] ` <20010320170033.A31547@thelonious.new.ox.ac.uk>
@ 2001-03-21 9:33 ` Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2001-03-21 9:33 UTC (permalink / raw)
To: zsh-workers
[ Redirected to zsh-workers ]
On Mar 20, 4:36pm, Sven Wischnowsky wrote:
} Subject: Re: completion tricks
}
} > The more I think about it, the more I like the idea of `make install'
} > (or maybe `make install.zwc') taking the most sensible compilation
} > route.
}
} I wouldn't be against that, I just wouldn't know what style to suggest:
} one for all, one for each directory
Probably which of these works best depends on whether memory mapping is
available.
On Mar 20, 5:00pm, Adam Spiers wrote:
} Subject: Re: completion tricks
}
} So far, we have already mentioned [slowness from] _approximate and
} _correct (I still haven't got round to figuring out the difference
} between the two), and match specs.
The difference is that _correct won't treat the word on the line as a
substring of a longer match; it just tries to find matching character
permutations within the existing word.
} (Incidentally there are some rough edges with the caching mechanism
} which I *still* haven't got round to smoothing.)
_perl_modules is a good example of such roughness, because perl can be
invoked by a large number of almost-synonymous names including names
with version numbers. I tried to make it do something sensible, but
I'm not entirely happy with the result.
} Anything else?
Any completion that uses _call is potentially slow, of course. Maybe
we ought to be caching the _is_gnu association, too.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-21 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200103201536.QAA18944@beta.informatik.hu-berlin.de>
[not found] ` <20010320170033.A31547@thelonious.new.ox.ac.uk>
2001-03-21 9:33 ` completion tricks Bart Schaefer
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).