zsh-workers
 help / color / mirror / code / Atom feed
From: John Beppu <beppu@ax9.org>
To: Sven Wischnowsky <wischnow@berkom.de>
Cc: zsh-workers@sunsite.dk
Subject: Re: Rough Draft of Article on Writing Completion Functions
Date: Thu, 11 Apr 2002 12:48:20 -0700	[thread overview]
Message-ID: <20020411194820.GB27390@Ax9.org> (raw)
In-Reply-To: <15533.19643.474869.613295@wischnow.berkom.de>

[  date  ] 2002/04/05 | Friday | 09:05 AM
[ author ] Sven Wischnowsky <wischnow@berkom.de> 

> compdef is actually a function defined in compinit. And nowadays
> there's not even specialised C-code behind it, just assocs and stuff.

fixed.
 
> A `+' after the option name means that the argument may come directly
> after the option in the same word or in the next word. That there is
> an argument to come is said by the `:descr:action' after the option
> description.

fixed.
 
> And we normally suggest to not leave out the colon before the action
> even if there is no action. Just to help _arguments to parse the stuff
> (well, we had some problems which should be fixed, but...). Personally
> I also find it a little less confusing with the trailing colon before
> the empty action.

I kinda hesitated on this one, but I did it, anyway.
fixed.
 
> This should use _files. Everyone should use _files. Almost noone
> should use _path_files. _files allows users to override glob patterns
> and stuff.

fixed.
 
> An alternative to this and the stuff in sidebar 4 would be to declare
> a local function, call it from the _arguments-actions and there give
> it an argument of `flf' or `flc'.

I was just being silly towards the end.  :-)


  reply	other threads:[~2002-04-11 19:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020404234932.GA27875@Ax9.org>
2002-04-05  7:05 ` Sven Wischnowsky
2002-04-11 19:48   ` John Beppu [this message]
     [not found] ` <7906.1018000673@csr.com>
2002-04-11 19:46   ` John Beppu
     [not found] <E16tQka-0005p0-00@bimbo.logica.co.uk>
2002-04-05 19:28 ` John Beppu

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=20020411194820.GB27390@Ax9.org \
    --to=beppu@ax9.org \
    --cc=wischnow@berkom.de \
    --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).