zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: Standard setopts for completion system, again
Date: Fri, 6 Oct 2000 14:58:48 +0000	[thread overview]
Message-ID: <1001006145848.ZM25084@candle.brasslantern.com> (raw)
In-Reply-To: <200010061253.OAA14888@beta.informatik.hu-berlin.de>

On Oct 6,  2:53pm, Sven Wischnowsky wrote:
}
} We use nonomatch not because of globbing, but because of ~... and
} =... expansion.

Aha!  I wonder if there shouldn't be some clarification of this in the
doc (not the completion doc, the nullglob and file expansion doc -- the
doc for nullglob simply says "overrides nomatch", and the doc for file
expansion (as opposed to generation) doesn't mention nomatch at all).

} A good question might be if we should just move the nonomatch into
} _main_complete `and be done with it'. Instead of error messages we
} always want strings we can handle, or don't we?

I think we definitely *don't* want the functions to fail early, because
we rely on being able to restore state before returning.  Whether we'd
rather have an unchanged string or no string at all, is another matter.
 
} Still no decision on how to move that init code into a function or
} alias. I think I'd prefer an alias since it makes it easier for
} function writers.

Unfortunately, we heavily recommend autoloading all completion functions
with "autoload -U", which means an alias won't be expanded!

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


  reply	other threads:[~2000-10-06 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-06 12:53 Sven Wischnowsky
2000-10-06 14:58 ` Bart Schaefer [this message]
2000-10-06 16:11   ` Option completion after "nono" Bart Schaefer
2000-10-18  4:31   ` PATCH: Re: Standard setopts for completion system, again Bart Schaefer
2000-10-18  7:13 Sven Wischnowsky
2000-10-18  7:28 ` Andrej Borsenkow
2000-10-19  8:57 Sven Wischnowsky

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=1001006145848.ZM25084@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --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).