zsh-users
 help / color / mirror / code / Atom feed
From: Roman Neuhauser <neuhauser@sigpipe.cz>
To: Peter Stephenson <pws@csr.com>
Cc: zsh users <zsh-users@sunsite.dk>
Subject: Re: error in 19.3.1
Date: Wed, 20 Sep 2006 12:48:14 +0000	[thread overview]
Message-ID: <20060920124814.GA56989@dagan.sigpipe.cz> (raw)
In-Reply-To: <200609200926.k8K9QhEF009890@news01.csr.com>

# pws@csr.com / 2006-09-20 10:26:43 +0100:
> Roman Neuhauser wrote:
> > This is near the end of 19.3.1:
> 
> (The section numbers aren't particularly easy to trace back to the
> documentation source, so names are probably more convenient.)
 
    Aha, sorry.

> > zstyle -e ':completion:*' completer '
> >     if [[ $words[1] = cvs ]]; then
> >       reply=(_complete)
> >     else
> >       reply=(_complete _approximate)
> >     fi'
> > 
> > uses the value `_complete' for the completer style in most contexts, but
> > the value `_complete _approximate' when the first word on the command
> > line is `cvs'.
> 
> You mean the code should be the other way round?
 
    Only if the behavior described in the text actually makes sense,
    that is, is this setting useful? Not if the _approximate completer
    bypasses the smarts that make _cvs offer only unversioned files to
    cvs add, only versioned (or scheduled for addition) files to cvs ci,
    etc.
    
    I don't actually know what will _cvs do with this completer
    (svn everywhere I look), I'm just saying this should be considered.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991


  reply	other threads:[~2006-09-20 10:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-19 22:28 Roman Neuhauser
2006-09-20  9:26 ` Peter Stephenson
2006-09-20 12:48   ` Roman Neuhauser [this message]
2006-09-20 11:02     ` Peter Stephenson

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=20060920124814.GA56989@dagan.sigpipe.cz \
    --to=neuhauser@sigpipe.cz \
    --cc=pws@csr.com \
    --cc=zsh-users@sunsite.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).