From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15150 invoked from network); 6 Jan 2000 14:48:51 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jan 2000 14:48:51 -0000 Received: (qmail 21481 invoked by alias); 6 Jan 2000 14:48:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9249 Received: (qmail 21470 invoked from network); 6 Jan 2000 14:48:29 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: completion with prefix which contains meta character. References: <200001060938.KAA17703@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 06 Jan 2000 23:48:24 +0900 In-Reply-To: Sven Wischnowsky's message of "Thu, 6 Jan 2000 10:38:34 +0100 (MET)" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <200001060938.KAA17703@beta.informatik.hu-berlin.de>, Sven Wischnowsky writes: > But it should. At least I wanted to get the -P and -S be used > literally (should be the most powerful, right?). I agree. It's the most powerful way. > Since I feel adventurous today, I even documented that. > > And that rembslash() didn't make any sense at all. Thanks. Now compadd -P is useful even in these cases. But I found similar problem about compset -P. Z:akr@is27e1u11% Src/zsh -f is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst is27e1u11% _tst () { compset -P '\*' && compadd xxx } is27e1u11% tst \* This completes nothing. is27e1u11% _tst () { compset -P '\\\*' && compadd xxx } is27e1u11% tst \* This completes nothing, too. If compset -P tries to match against unquoted form of prefix, former should complete xxx. If it tries to match against quoted form, latter should complete xxx. But both completes nothing. -- Tanaka Akira