From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22636 invoked from network); 19 Mar 2004 15:41:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Mar 2004 15:41:41 -0000 Received: (qmail 28873 invoked by alias); 19 Mar 2004 15:41:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7198 Received: (qmail 28863 invoked from network); 19 Mar 2004 15:41:21 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 19 Mar 2004 15:41:21 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [167.160.213.139] by sunsite.dk (MessageWall 1.0.8) with SMTP; 19 Mar 2004 15:41:20 -0000 Received: from moonbase.zanshin.com (IDENT:schaefer@localhost [127.0.0.1]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i2JFfHIE023284 for ; Fri, 19 Mar 2004 07:41:18 -0800 Received: (from schaefer@localhost) by moonbase.zanshin.com (8.12.11/8.12.11/Submit) id i2JFfHeG023269 for zsh-users@sunsite.dk; Fri, 19 Mar 2004 07:41:17 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i2JFfCG11526; Fri, 19 Mar 2004 07:41:12 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040319154111.ZM11525@candle.brasslantern.com> Date: Fri, 19 Mar 2004 15:41:11 +0000 In-Reply-To: <25759.1079696217@csr.com> Comments: In reply to Peter Stephenson "4.2.0 released" (Mar 19, 11:36am) References: <25759.1079696217@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk (Zsh users list) Subject: Re: 4.2.0 released MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Envelope-Sender: Assorted thoughts ... On Mar 19, 11:36am, Peter Stephenson wrote: } } - Suffix aliases allow the shell to run a command on a file by suffix, } e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied } function zsh-mime-setup uses existing mailcap and mime.types files } to set up suitable aliases. Reading that, I wonder ... why did we do this with suffixes? Why not be Unix-like rather than DOS-like: check /etc/magic on any file that the OS fails to execute, and choose the command based on that? Of course that would have required a module. } Line editor: } - recursive editing Which is not quite the same as recursively invoking zle, e.g., I think you still get some sort of warning if you try to run "vared" from inside a widget function.