zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Comments on new style completion
Date: Mon, 8 Mar 1999 11:11:47 +0100 (MET)	[thread overview]
Message-ID: <199903081011.LAA11500@beta.informatik.hu-berlin.de> (raw)


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


                 reply	other threads:[~1999-03-08 10:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199903081011.LAA11500@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).