From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17804 invoked from network); 18 May 1999 09:48:00 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 May 1999 09:48:00 -0000 Received: (qmail 12104 invoked by alias); 18 May 1999 09:47:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6304 Received: (qmail 12094 invoked from network); 18 May 1999 09:47:35 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: compadd -f with IPREFIX. References: <199905180715.JAA15766@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by AKEMI 1.13.1 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCP2U+PUJOGyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 18 May 1999 18:47:32 +0900 In-Reply-To: Sven Wischnowsky's message of "Tue, 18 May 1999 09:15:03 +0200 (MET DST)" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.1 (=?ISO-2022-JP?B?GyRCP2UbKEI=?= =?ISO-2022-JP?B?GyRCPj1CThsoQg==?=) FLAM-DOODLE/1.12.5 (=?ISO-2022-JP?B?GyRCRlAbKEI=?= 10R4.0/7.0) Emacs/20.3.9 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <199905180715.JAA15766@beta.informatik.hu-berlin.de>, Sven Wischnowsky writes: > addmatches() used the IPREFIX it got also as `ripre' (the expanded > form of the ignored prefix -- this is used for things like `~' and > `$foo/'). The patch makes it use a NULL pointer there. Thanks. But I found another problem. Z(2):akr@is27e1u11% ./Src/zsh -f is27e1u11% cat <<'End' > Completion/User/_tst heredoc> #compdef tst heredoc> compset -P : heredoc> compadd -f -r ':/ \t\n\-' - * heredoc> End is27e1u11% fpath=($PWD/Completion/*(/)) is27e1u11% . Completion/Core/compinit is27e1u11% tst :Compl Then, I get following. is27e1u11% tst :Completion/ There is no problem in above operation. But, I put ":", "/" is retained as follows. is27e1u11% tst :Completion/: I think that "/" should be removed. # The aim is colon-separated directories completion. # compset -P '*:'; _path_files -r ':/ \t\n\-' -/ -- Tanaka Akira