From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19338 invoked from network); 23 Apr 2004 15:59:08 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Apr 2004 15:59:08 -0000 Received: (qmail 24427 invoked by alias); 23 Apr 2004 15:58:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19822 Received: (qmail 24396 invoked from network); 23 Apr 2004 15:58:35 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Apr 2004 15:58:35 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 Apr 2004 15:58:35 -0000 Received: (qmail 2039 invoked from network); 23 Apr 2004 15:58:35 -0000 Received: from lhuumrelay3.lnd.ops.eu.uu.net (62.189.58.19) by a.mx.sunsite.dk with SMTP; 23 Apr 2004 15:58:33 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i3NFw6v03355 for ; Fri, 23 Apr 2004 15:58:06 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Fri, 23 Apr 2004 16:57:39 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 23 Apr 2004 16:58:54 +0100 To: Michael Denio cc: zsh-workers@sunsite.dk Subject: Re: _perforce completer In-reply-to: "Michael Denio"'s message of "Fri, 23 Apr 2004 11:41:58 EDT." <40893946.3030808@morganstanley.com> Date: Fri, 23 Apr 2004 16:58:06 +0100 Message-ID: <8137.1082735886@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 23 Apr 2004 15:58:54.0628 (UTC) FILETIME=[E0EF4640:01C4294B] X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Michael Denio wrote: > Hello, > > I made a change to the _perforce completer to optionally restrict the > list of changes to only those owned by the current user. To whom should > I send the patch? zsh-workers. Note that it should use styles to be sufficiently general. Something similar to the jobview style would be appropriate: # Completion of jobs can also be controlled by the `jobview' style. # This uses the standard Perforce JobView syntax, and is applied # in connection with the `max' style. In other words, # if you set # zstyle ':completion:*:p4-*:jobs' max 0 # zstyle ':completion:*:p4-*:jobs' jobview 'user=pws' # then jobs to be completed will be those from the output of # p4 jobs -e 'user=pws' # i.e. those assigned to Perforce user `pws'. except the form will be a bit different. One possibility is to allow e.g. zstyle ':completion:*:p4-*:changes' changes -u pws i.e. the argument would be added to `p4 changes'. Then you could specify a maximum that way (-m 20). It would make the `max' style obsolete. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************