From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10245 invoked from network); 23 Jun 1998 12:38:20 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 23 Jun 1998 12:38:20 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id IAA09181; Tue, 23 Jun 1998 08:32:29 -0400 (EDT) Resent-Date: Tue, 23 Jun 1998 08:28:25 -0400 (EDT) Sender: verna@inf.enst.fr To: Sven Guckes Cc: zsh-users@math.gatech.edu Subject: Re: [Q] user-defined completion References: <19980623133225.A25114@math.fu-berlin.de> Mail-Copies-To: never X-Attribution: Didier X-Url: http://www-inf.enst.fr/~verna/ From: Didier Verna Date: 23 Jun 1998 13:39:58 +0200 In-Reply-To: Sven Guckes's message of "Tue, 23 Jun 1998 13:32:25 +0200" Message-ID: X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D C6 X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1640 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Sven Guckes writes: > Quoting Didier Verna (verna@inf.enst.fr): > I'd like to write a function for > special command line completion, but that is > aware of the program whose > command line we're completing. After reading the > doc, I see that > user-defined functions get 2 arguments: pre and postfix. Is there a way to > make such functions aware of the program name ? Any ideas ? > Are talking about "completion control" with "compctl"? Possibly, yes. > "man zshcompctl"! That's what I meant by saying "after reading the doc". But it seems that the answer is no. So, in case I'm missing something, or I'm just blind, I would have liked to know if somebody knows a way to achieve this. -- / / _ _ Didier Verna http://www.inf.enst.fr/~verna/ - / / - / / /_/ / E.N.S.T. INF C214 mailto:verna@inf.enst.fr /_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 80 72 75634 Paris cedex 13 Fax. (33) 01 45 81 31 19