zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>,
	zsh-workers@sunsite.dk
Subject: Re: _values does not quote inserted matches
Date: Tue, 16 Apr 2002 16:07:23 +0000	[thread overview]
Message-ID: <1020416160723.ZM10203@candle.brasslantern.com> (raw)
In-Reply-To: <002a01c1e52e$9a40aa30$1fc1f2a3@mow.siemens.ru>

On Apr 16,  2:08pm, Borsenkow Andrej wrote:
}
} Now, this does quote inserted string which is good. Unfortunately, it is
} still confused by inserted quotes ... 

I tried to reproduce this, but I don't have the version of _urpmi that
calls _urpmi_media ... which I didn't notice at first, and then I spent
an inordinate amount of time figuring out why I was getting

zsh% urpmi <TAB>
zsh% urpmi expl=''
expl=''
expl=''
expl=''

It turned out to be an extraneous `local expl' in the version of _urpmi
that I do have:

@@ -92,7 +92,7 @@
 	    done < /etc/urpmi/urpmi.cfg
 	;;
 	urpmi_rpms )
-	    local pkg foo expl
+	    local pkg foo
 	    local -a pkgs
 	    local -a synthesis
 	    synthesis=(/var/lib/urpmi/synthesis.*(N))

Andrej, please fix that when you're committing your other changes.

} bor@cooker% urpmi --media Contrib\ CD,
} No matches for: `urpmi media'
} 
} Looks like _values get confused by quoting on command line?

I finally did reproduce this with a simpler compdef, and looked at the
_complete_debug output.

The problem doesn't seem to be with _values, per se ... it's either in the
`compvalues' C function, or somewhere down below _describe.

-- 
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:[~2002-04-16 16:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-13 20:38 Borsenkow Andrej
2002-04-13 23:26 ` Bart Schaefer
2002-04-16  6:11   ` Borsenkow Andrej
2002-04-16  7:54   ` Sven Wischnowsky
2002-04-16 10:08     ` Borsenkow Andrej
2002-04-16 16:07       ` Bart Schaefer [this message]
2002-04-17  7:26         ` PATCH: " Sven Wischnowsky
2002-04-19  8:37         ` Borsenkow Andrej
2002-04-19 16:54           ` Bart Schaefer
2002-04-23  9:45             ` Oliver Kiddle
2002-04-24  7:37               ` Sven Wischnowsky
2002-05-06  7:04               ` PATCH: _urpmi update Borsenkow Andrej

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=1020416160723.ZM10203@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@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).