From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19469 invoked from network); 14 Feb 2003 12:58:34 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Feb 2003 12:58:34 -0000 Received: (qmail 1686 invoked by alias); 14 Feb 2003 12:58:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18241 Received: (qmail 1679 invoked from network); 14 Feb 2003 12:58:23 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 14 Feb 2003 12:58:23 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 14 Feb 2003 12:58:22 -0000 Received: from exchange01.csr.com (unverified) by (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Fri, 14 Feb 2003 13:05:03 +0000 Received: from csr.com (tinky-winky.csr.com [192.168.144.127]) by exchange01.csr.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id DQ47MYM2; Fri, 14 Feb 2003 12:58:56 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: use of `expand suffix' style in _multi_parts Date: Fri, 14 Feb 2003 12:58:23 +0000 Message-ID: <2098.1045227503@csr.com> From: Peter Stephenson Completing directories after tar xvzf file.tar.gz HERE/ with the `expand' style set to include `suffix' is inconvenient as it appends a space after the slash when completing the directory HERE. This is obviously wrong --- there is no reason to do anything other than normal file completion at this point, irrespective of styles. I can fix this by setting `expand' specially for the tar command, of course. However, it needs fixing more generally. Unfortunately I can't work out what's actually wrong. The culprit is _multi_parts where the style is tested. Is this wrong, is the compadd on the next line (which uses the options passed rather than the separator passed) warong, is _tar wrong, in any case what needs changing? Any views whatsoever are solicited. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************