zsh-workers
 help / color / mirror / code / Atom feed
From: Alexandre Duret-Lutz <duret_g@epita.fr>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: _call (was: Re: PATCH: _diff (new), _prcs (upgrade))
Date: 02 Feb 2000 17:51:02 +0100	[thread overview]
Message-ID: <mvbg0vby2dl.fsf@phobos.lrde.epita.fr> (raw)
In-Reply-To: Sven Wischnowsky's message of "Wed, 2 Feb 2000 15:21:17 +0100 (MET)"

>>> "Sven" == Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

[...]

 Sven>                                       So, maybe we should just make
 Sven> _call get the suggested command line and let users override them
 Sven> completely or leave them alone. I would then make _call take a tag as
 Sven> its first argument which is used to look up the style `command'

This looks easy to use.

[...]

 Sven> The only problem is that -- in cases like the _diff -- the users would 
 Sven> have to know what the command has to do, but as long as we keep tags
 Sven> and styles documented...

Could there be a way to make the completion 
functions autodescribe themselve?  (i.e.  
print styles and tags used by the function, 
as well as other info worth to know, in some 
standard way).  Perhaps it can be made by 
using some special comments in the completions 
functions and having a simple shell 
function that take a command as argument, 
that find the completion function
associated and format out these comments.

[...]

-- 
Alexandre Duret-Lutz


  reply	other threads:[~2000-02-02 16:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-02 14:21 Sven Wischnowsky
2000-02-02 16:51 ` Alexandre Duret-Lutz [this message]
2000-02-02 14:27 Sven Wischnowsky
2000-02-03  9:16 Sven Wischnowsky

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=mvbg0vby2dl.fsf@phobos.lrde.epita.fr \
    --to=duret_g@epita.fr \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).