zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Michael Denio <Michael.Denio@morganstanley.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: _perforce completer
Date: Fri, 23 Apr 2004 16:58:06 +0100	[thread overview]
Message-ID: <8137.1082735886@csr.com> (raw)
In-Reply-To: "Michael Denio"'s message of "Fri, 23 Apr 2004 11:41:58 EDT." <40893946.3030808@morganstanley.com>

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 <pws@csr.com>                  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
**********************************************************************


  parent reply	other threads:[~2004-04-23 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 15:41 Michael Denio
2004-04-23 15:48 ` Clint Adams
2004-04-23 15:58 ` Peter Stephenson [this message]
2004-04-23 16:03   ` Michael Denio
2004-04-23 16:22     ` Peter Stephenson
2004-04-23 17:01       ` Michael Denio

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=8137.1082735886@csr.com \
    --to=pws@csr.com \
    --cc=Michael.Denio@morganstanley.com \
    --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).