From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1670 invoked from network); 5 Nov 1998 17:55:51 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 5 Nov 1998 17:55:51 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id MAA01978; Thu, 5 Nov 1998 12:54:23 -0500 (EST) Resent-Date: Thu, 5 Nov 1998 12:54:23 -0500 (EST) Message-ID: <13889.58788.469493.330819@catbus.alphatech.com> Date: Thu, 5 Nov 1998 12:51:32 -0500 (EST) From: greg@alphatech.com (Greg Klanderman) To: zsh-workers@math.gatech.edu (Zsh list) Subject: quick question about user defined zle widgets Reply-To: greg@alphatech.com X-Mailer: VM 6.62 under 21.0 "Pyrenean-pre4" XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Resent-Message-ID: <"2uJmw1.0.rU.FPUGs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4566 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Is it possible when defining a shell function as a user defined widget to access the prefix argument? Also, is there any way when calling a builtin widget to figure out the status? For example, I'd like to do "zle complete-word" in my widget and then determine if: - it completed something - there were no completions - choices were listed - choices had already been listed and it did nothing thanks Greg (please copy me on replies) have i mentioned yet that zsh is a thing of beauty?