zsh-workers
 help / color / mirror / code / Atom feed
* Comments on new style completion
@ 1999-03-08 10:11 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1999-03-08 10:11 UTC (permalink / raw)
  To: zsh-workers


Thinking some more about Andrej's suggestions for `_path_files' I
thought about making this user-configurable and then was reminded
about Peter's comment about passing options to the completion code.

Maybe we should add a (or more than one) associative array(s), nicely
putting everything into one basket, e.g.:

  compconfig[dump_file]        what is now COMPDUMP
  compconfig[correct]          COMPCORRECT
  compconfig[correct_prompt]   CCPROMPT
  compconfig[correct_orig]     CCORIG (may be extensible to: show the
                               original string as the first/last `match')

Then we could have keys for different `styles' that should be used by
various functions, e.g.:

  compconfig[path_style]       say how `_path_files' should behave

Here I would prefer `compstyle[paths]=...'.


And since I already mentiond the correction stuff: should we change
this so that the maximum number of errors allowed is less than or
equal to the number of characters in the word to complete (or that
plus one)?


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-08 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-08 10:11 Comments on new style completion Sven Wischnowsky

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).