From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5498 invoked from network); 7 Jan 1999 08:08:40 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 Jan 1999 08:08:40 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id DAA10371; Thu, 7 Jan 1999 03:03:52 -0500 (EST) Resent-Date: Thu, 7 Jan 1999 03:03:52 -0500 (EST) Date: Thu, 7 Jan 1999 09:02:34 +0100 (MET) Message-Id: <199901070802.JAA00043@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@math.gatech.edu In-reply-to: "Bart Schaefer"'s message of Wed, 6 Jan 1999 23:36:32 -0800 Subject: Re: experimental new style completion Resent-Message-ID: <"fQO9D3.0.-X2.df6bs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4886 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Bart Schaefer wrote: > > On Jan 5, 4:43pm, Sven Wischnowsky wrote: > } Subject: Re: experimental new style completion > } > } - When completing in subscripts on the left side of an parameter > } assignment the CONTEXT is now set to `subscr' (this is still a bit > } hackish) > > May I suggest that there's no reason to abbreviate names of this sort. Yep. As I said, these parameters may change anyway (esp. if we put all of them into an associative array). > Also ... I may be mistaken, but isn't it possible to be in both the command > position and after a redirection operator (e.g. readnullcmd) or in both a > math context and inside a subscript? Is a single context identifier enough? That's (partly) inherited from the current completion code. One difference is that math and subscript are distinguished, the normal code just treats both of them as mathematical environments. I haven't thought about using multiple context names at once and I could be convinced to do this for math/subscript and probably others. But all this is new stuff anyway, the normal completion code doesn't allow one to separately define completions for conds, math, subscript, redir, and value, so I suggest playing with it until we find out what would be most useful. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de